- 60-minute sessions
- Start again any time
- Wiped when you finish
What you get
- Node.js with npm
- corepack for yarn and pnpm
- VS Code in your browser with ESLint and Prettier
- Root access on the machine
Things to try
npm init -yStart a project with a package.json
npm install expressInstall a package
corepack enable && pnpm --versionTurn on pnpm and yarn
node -e "require('http').createServer((q, s) => s.end('ok')).listen(3000)"Run a server on port 3000
curl -s localhost:3000Check that it answers
npm testRun the project's tests
About this playground
The Node.js playground gives you a Linux machine with Node.js, npm and corepack for yarn and pnpm, and VS Code in your browser with ESLint and Prettier. Start a project, install packages, run a server and try it from the terminal. You have root access, and the machine is deleted when the session ends.
Frequently asked questions
Is there a free online Node.js environment?
Yes. With a free account you open a machine with Node.js and VS Code in your browser, for 60-minute sessions. When one ends you can start another straight away.
Are yarn and pnpm available?
Yes, through corepack. Run corepack enable and both are ready beside npm.
Do I need Node.js on my computer?
No. Node.js and VS Code run on the machine you open; all you need is a browser.
Is my project saved?
No. The machine is deleted when the session ends. Push the project to a Git repository before the time runs out.