Skip to content
PluginStats

@promptbook/javascript weekly downloads statistics

By promptbook (28 listings) · npm · AI SDKs

Promptbook: Create persistent AI agents that turn your company's scattered knowledge into action

View on npm Fresh · Oct 17, 2026

@promptbook/javascript has 128 recorded weekly downloads on npm, a decrease of 91.4% over the past 30 days.

It ranks #1641 of 2,251 tracked npm listings by weekly downloads.

Over 90 days, weekly downloads changed by -92.9%.

PluginStats has 121 daily observations since Jun 19, 2026; the latest is from Oct 17, 2026.

Weekly downloads
128
Official API · Oct 17, 2026
7-day growth
-88.2%
-961 weekly downloads
30-day growth
-91.4%
-1.4K weekly downloads
90-day growth
-92.9%
-1.7K weekly downloads
Rank
#1641
Among tracked npm listings

About @promptbook/javascript

🐙 Promptbook: Invisible AI Agents

Create persistent AI agents that turn your company's scattered knowledge into action - powered by the Agents Server

Promptbook](https://www.npmjs.com/package/promptbook) Promptbook](https://packagequality.com/#?package=promptbook)

🚀 Quick deploy

Run the standalone VPS installer _(for example on DigitalOcean)_ only on a fresh server. Interactive mode asks for the installation values:

Non-interactive mode takes defaults from command-line options. Use --env live, --env preview, --env production, or --env lts to pick the installed environment; the default is preview. When --openai-api-key is provided with the default OpenAI Codex runner, the installer installs and configures Codex automatically; other runner authentication can be configured later from the UI or SSH:

⚠ Warning: This is a pre-release version of the library. It is not yet ready for production use. Please look at latest stable release.

📦 Package @promptbook/javascript

• Promptbooks are divided into several packages, all are published from single monorepo. • This package @promptbook/javascript is one part of the promptbook ecosystem.

To install this package, run:

JavaScript execution engine for Promptbook, providing secure JavaScript code execution within promptbook pipelines and script tasks.

🎯 Purpose and Motivation

This package provides a secure JavaScript execution environment for Promptbook pipelines. It enables the execution of JavaScript code in SCRIPT tasks, allowing for complex data transformations, calculations, and logic within promptbook workflows while maintaining security and isolation.

🔧 High-Level Functionality

The package provides JavaScript execution capabilities:

• Script Task Execution: Execute JavaScript code within promptbook SCRIPT tasks • Variable Extraction: Analyze JavaScript code to extract variable dependencies • Postprocessing Functions: Built-in JavaScript functions for common postprocessing tasks • Secure Execution: Safe execution environment with proper isolation • Multiple Execution Modes: Support for different JavaScript execution strategies

✨ Key Features

• 🔒 Secure Execution - Safe JavaScript execution with proper sandboxing • 📝 Script Tasks - Execute JavaScript code within promptbook pipelines • 🔧 Variable Analysis - Extract variable dependencies from JavaScript code • 📊 Postprocessing Functions - Built-in functions for common data transformations • ⚡ Multiple Execution Modes - Different execution strategies for various use cases • 🛡️ Error Handling - Comprehensive error handling for script execution • 🎯 Pipeline Integration - Seamless integration with promptbook execution flow

📦 Exported Entities

Version Information

• BOOK_LANGUAGE_VERSION - Current book language version • PROMPTBOOK_ENGINE_VERSION - Current engine version

Execution Tools

• JavascriptEvalExecutionTools - JavaScript execution tools using eval • JavascriptExecutionTools - Standard JavaScript execution tools

Postprocessing

• POSTPROCESSING_FUNCTIONS - Built-in postprocessing functions for JavaScript

Utilities

• extractVariablesFromJavascript - Extract variable dependencies from JavaScript code

💡 This package provides JavaScript execution for promptbook applications. For the core functionality, see @promptbook/core or install all packages with npm i ptbk

Rest of the documentation is common for entire promptbook ecosystem:

📖 The Book Whitepaper

Promptbook lets you create persistent AI agents that work on real goals for your company. The Agents Server is the heart of the project - a place where your AI agents live, remember context, collaborate in teams, and get things done.

Nowadays, the biggest challenge for most business applications isn't the raw capabilities of AI models. Large language models such as Claude Mythos, GPT-5.6 or Kimi K2.7 are incredibly capable.

The main challenge lies in managing the context, providing rules and knowledge, and narrowing the personality.

In Promptbook, you define your agents using simple Books - a human-readable language that is explicit, easy to understand and write, reliable, and highly portable. You then deploy them to the Agents Server, where they run persistently and work toward their goals.

Lawyer

GOAL You are a company lawyer. Your job is to provide legal advice and support to the company and its employees. Respond to incoming legal inquiries via email and keep the company website updated with the latest legal policies.

RULE You are knowledgeable, professional, and detail-oriented. KNOWLEDGE https://company.com/company-policies.pdf KNOWLEDGE https://company.com/internal-documents/employee-handbook.docx

TEAM You are part of the legal team of Paul Smith & Associés, you discuss with {Emily White}, the head of the compliance department. {George Brown} is expert in corporate law and {Sophia Black} is expert in labor law.

Aspects of great AI agent

We have created a language called Book, which allows you to write AI agents in their native language and create your own AI persona. Book provides a guide to define all the traits and commitments.

You can look at it as "prompting" _(or writing a system message)_, but decorated by commitments.

Commitments are special syntax elements that define contracts between you and the AI agent. They are transformed by Promptbook Engine into low-level parameters like which model to use, its temperature, system message, RAG index, MCP servers, and many other parameters. For some commitments _(for example RULE commitment)_ Promptbook Engine can even create adversary agents and extra checks to enforce the rules.

Persona commitment

Personas define the character of your AI persona, its role, and how it should interact with users. It sets the tone and style of communication.

Paul Smith & Associés

PERSONA You are a company lawyer. Your job is to provide legal advice and support to the company and its employees.

Goal commitment…

Description from the npm listing.

  • ai
  • ai-agents
  • ai-application-framework
  • ai-assistant
  • ai-automation
  • ai-development
  • ai-framework
  • ai-ops
  • ai-orchestration
  • ai-pipeline
  • ai-platform
  • ai-scripting
  • ai-sdk
  • ai-workflow
  • api-integration
  • automation-framework
  • book-language
  • browser
  • chatbot
  • content-generation

Where @promptbook/javascript sits in the listing

Each band is one page of 20. Weekly downloads on a log scale. Placement is projected from weekly downloads, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.

All npm2,248 listings · 113 pages · page 83, #2 (overall #1642)
All npm: every listing in weekly downloads order
PNG SVG
AI SDKs249 listings · 13 pages · page 11, #20 (overall #220)
AI SDKs: every listing in weekly downloads order
PNG SVG

Charts

Images: 30d · 1y · all time · 1600×900 dark

Adoption over time

@promptbook/javascript weekly downloads on npm, last 90 days: 128 weekly downloads as of Oct 17, 2026, -92.9% over 90 days.@promptbook/javascriptWeekly downloads on npm · Last 90 days128downloads / week-92.9% over 90 days05001K1.5K2K2.5K3KJul 19Aug 3Aug 18Sep 2Sep 17Oct 2Oct 17downloads / weekobservedarchived (Internet Archive)no observationsJul 20, 2026 – Oct 17, 2026 · 90 observations · Updated Oc…pluginstats.com
@promptbook/javascript weekly downloads on npm, last 90 days: 128 weekly downloads as of Oct 17, 2026, -92.9% over 90 days.
PNG SVG

7/30/90-day growth

@promptbook/javascript weekly downloads growth on npm: -88.2% over 7 days, -91.4% over 30 days, -92.9% over 90 days.@promptbook/javascriptWeekly downloads growth on npm128downloads / week now7-day growth-961 weekly downloads-88.2%30-day growth-1,362 weekly downloads-91.4%90-day growth-1,663 weekly downloads-92.9%Growth vs. nearest observation to each baseline date · Updated Oct 17, 2026pluginstats.com
@promptbook/javascript weekly downloads growth on npm: -88.2% over 7 days, -91.4% over 30 days, -92.9% over 90 days.
PNG SVG

Ranking history

@promptbook/javascript npm ranking history: currently #1641 (by weekly downloads).@promptbook/javascriptnpm ranking · by weekly downloads · Last 90 days#1641current rank#1639#1640#1641#1642#1643Jul 20Aug 4Aug 19Sep 3Sep 18Oct 3Oct 18rankOct 18, 2026 – Oct 18, 2026 · 1 observations · Updated Oct 17, 2026pluginstats.com
@promptbook/javascript npm ranking history: currently #1641 (by weekly downloads).
PNG SVG

Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.

Recent observations

Full history (121)
Recent weekly downloads observations for @promptbook/javascript
Date (UTC)Weekly downloadsChange vs. previous
128-50
178-27
205-62
267-89
3560
356-542
898-191
1,089-50
1,139-761
1,900-18
1,918+53
1,865-49
1,914+485
1,429—

Similar npm AI SDKs plugins

Data source

Weekly downloads (trailing 7 complete days) come from the official npm downloads API. Downloads include CI and mirrors and are not equivalent to installs or users. npm publishes no ratings.

Listing: https://www.npmjs.com/package/@promptbook/javascript. First seen Oct 16, 2026; last successful collection Oct 18, 2026. See the methodology.