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 18, 2026

@promptbook/javascript has 173 recorded weekly downloads on npm, a decrease of 89.5% over the past 30 days, ranking #1685 of 2,322 tracked listings.

Weekly downloads
173
Official API · Oct 18, 2026
7-day growth
-80.7%
-725 weekly downloads
30-day growth
-89.5%
-1.5K weekly downloads
90-day growth
-88.8%
-1.4K weekly downloads
Rank
#1685
Among tracked npm listings

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: 173 weekly downloads as of Oct 18, 2026, -88.8% over 90 days.@promptbook/javascriptWeekly downloads on npm · Last 90 days173downloads / week-88.8% over 90 days05001K1.5K2K2.5K3KJul 20Aug 4Aug 19Sep 3Sep 18Oct 3Oct 18downloads / weekobservedarchived (Internet Archive)no observationsJul 22, 2026 – Oct 18, 2026 · 89 observations · Updated Oc…pluginstats.com
@promptbook/javascript weekly downloads on npm, last 90 days: 173 weekly downloads as of Oct 18, 2026, -88.8% over 90 days.

7/30/90-day growth

@promptbook/javascript weekly downloads growth on npm: -80.7% over 7 days, -89.5% over 30 days, -88.8% over 90 days.@promptbook/javascriptWeekly downloads growth on npm173downloads / week now7-day growth-725 weekly downloads-80.7%30-day growth-1,470 weekly downloads-89.5%90-day growth-1,371 weekly downloads-88.8%Growth vs. nearest observation to each baseline date · Updated Oct 18, 2026pluginstats.com
@promptbook/javascript weekly downloads growth on npm: -80.7% over 7 days, -89.5% over 30 days, -88.8% over 90 days.

Ranking history

@promptbook/javascript npm ranking history: currently #1685 (by weekly downloads).@promptbook/javascriptnpm ranking · by weekly downloads · Last 90 days#1685current rank#1630#1640#1650#1660#1670#1680#1690Jul 22Aug 6Aug 21Sep 5Sep 20Oct 5Oct 20rankOct 18, 2026 – Oct 20, 2026 · 3 observations · Updated Oct 18, 2026pluginstats.com
@promptbook/javascript npm ranking history: currently #1685 (by weekly downloads).

Listing placement

All npm2,320 listings · 116 pages · 1,161 shown · page 85, #9 (overall #1,689)
All npm: every listing in weekly downloads order

Listing placement

AI SDKs259 listings · 13 pages · page 12, #4 (overall #224)
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 (122)
Recent weekly downloads observations for @promptbook/javascript
Date (UTC)Weekly downloadsChange vs. previous
173+45
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—

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