Prompt to JavaScript / Node Script
Paste a prompt; get a complete Node.js script using the official OpenAI / Anthropic / Google SDK. Streaming + non-streaming. Reads the API key from an environment variable.
How to use the Prompt to JavaScript / Node Script
Pick provider, set model, paste prompts. Output is a complete .mjs or .js file. Install the SDK with the printed npm command and set the API key env var; the script runs as-is.