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 Outdated · Nov 6, 2026

@promptbook/javascript has 902 recorded weekly downloads on npm, an increase of 7.4% over the past 30 days, ranking #2100 of 3,247 tracked listings.

Weekly downloads
902
Official API · Dec 5, 2026
7-day growth
+27.0%
+192 weekly downloads
30-day growth
+7.4%
+62 weekly downloads
90-day growth
-39.4%
-587 weekly downloads
Rank
#2100
▼ 18 in 7 days

About @promptbook/javascript

<!-- ⚠️ WARNING: This code has been generated so that any manual changes will be overwritten -->

🐙 Promptbook: Invisible AI Agents

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

NPM Version of Promptbook logo Promptbook Quality of package Promptbook logo Promptbook Known Vulnerabilities 🧪 Test Books 🧪 Test build 🧪 Lint 🧪 Spell check 🧪 Test types Issues

🚀 Quick deploy

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

sudo curl -fsSL https://raw.githubusercontent.com/webgptorg/promptbook/refs/heads/main/install.sh | bash

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:

sudo curl -fsSL https://raw.githubusercontent.com/webgptorg/promptbook/refs/heads/main/install.sh | bash -s -- \
    --non-interactive \
    --yes-i-understand-that-script-should-be-run-on-fresh-server \
    --env preview \
    --domain my-server.com \
    --openai-api-key sk-proj-xxx \
    --admin-password xxx
<blockquote style="color: #ff8811"> <b>⚠ Warning:</b> This is a pre-release version of the library. It is not yet ready for production use. Please look at <a href="https://www.npmjs.com/package/@promptbook/core?activeTab=versions">latest stable release</a>. </blockquote>

📦 Package @promptbook/javascript

To install this package, run:

# Install entire promptbook ecosystem
npm i ptbk

# Install just this package to save space
npm install @promptbook/javascript

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…

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

README badge

Show your rank in a README or on your website. The badge updates automatically.

Charts

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

Adoption over time

@promptbook/javascript weekly downloads on npm, last 90 days: 902 weekly downloads as of Dec 5, 2026, -39.4% over 90 days.@promptbook/javascriptWeekly downloads on npm · Last 90 days902downloads / week-39.4% over 90 days05001K1.5K2KSep 6Sep 21Oct 6Oct 21Nov 5Nov 20Dec 5downloads / weekobservedarchived (Internet Archive)no observationsSep 7, 2026 – Dec 5, 2026 · 90 observations · Updated Dec …pluginstats.com
@promptbook/javascript weekly downloads on npm, last 90 days: 902 weekly downloads as of Dec 5, 2026, -39.4% over 90 days.

7/30/90-day growth

@promptbook/javascript weekly downloads growth on npm: +27.0% over 7 days, +7.4% over 30 days, -39.4% over 90 days.@promptbook/javascriptWeekly downloads growth on npm902downloads / week now7-day growth+192 weekly downloads+27.0%30-day growth+62 weekly downloads+7.4%90-day growth-587 weekly downloads-39.4%Growth vs. nearest observation to each baseline date · Updated Dec 5, 2026pluginstats.com
@promptbook/javascript weekly downloads growth on npm: +27.0% over 7 days, +7.4% over 30 days, -39.4% over 90 days.

Ranking history

@promptbook/javascript npm ranking history: currently #2100 (by weekly downloads).@promptbook/javascriptnpm ranking · by weekly downloads · Last 90 days#2100current rank#1400#1600#1800#2000#2200#2400Sep 7Sep 22Oct 7Oct 22Nov 6Nov 21Dec 6rankOct 18, 2026 – Dec 6, 2026 · 28 observations · Updated Dec 5, 2026pluginstats.com
@promptbook/javascript npm ranking history: currently #2100 (by weekly downloads).

Listing placement

All npm3,247 listings · 163 pages · 1,084 shown · page 105, #20 (overall #2,100)
All npm: every listing in weekly downloads order

Listing placement

AI SDKs378 listings · 19 pages · page 12, #12 (overall #232)
AI SDKs: every listing in weekly downloads order

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.

Each band is one page of 20. Weekly downloads on a linear 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.

Recent observations

Full history (170)
Recent weekly downloads observations for @promptbook/javascript
Date (UTC)Weekly downloadsChange vs. previous
902-22
924+111
813+51
762+44
718-470
1,188+476
712+2
710-1
711+10
701-6
707+3
704+460
244-9
253—

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 Nov 6, 2026. See the methodology.