run-js-code
Execute JavaScript code in a secure sandbox environment, enabling automation, testing, and data processing with options for NPM commands, JSON parsing, and resource management.
Instructions
Execute JavaScript code in a sandbox.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
code | Yes | JavaScript code | |
commands | No | NPM install commands | |
memory | No | Memory allocation in MB | |
parseJson | No | Parse output as JSON | |
timeout | No | Execution timeout in ms |