node template ships Node.js 20 LTS, npm, the typescript compiler,
and yarn. Pick it for TypeScript / Node scripts and any workflow that
needs to install npm packages at runtime.
What you’ll learn
- Picking
template="node"to skip a Node install - Writing a
.tsfile into the sandbox, compiling withtsc, running withnode
Prerequisites
Code
- Python
- TypeScript
Expected output
Need an actual TypeScript Declaw client inside the sandbox?
npm install @declaw/sdk works at runtime against the node template — but for an
agent-in-sandbox pattern, the ai-agent template is usually a better
starting point.