@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
@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.
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
🚀 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
- Promptbooks are divided into several packages, all are published from single monorepo.
- This package
@promptbook/javascriptis one part of the promptbook ecosystem.
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
SCRIPTtasks - 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 versionPROMPTBOOK_ENGINE_VERSION- Current engine version
Execution Tools
JavascriptEvalExecutionTools- JavaScript execution tools using evalJavascriptExecutionTools- 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
7/30/90-day growth
Ranking history
Listing placement
Listing placement
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)Similar npm AI SDKs plugins
All 20 @promptbook/javascript alternativesData 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.