Bare-bones Node.js starter that gives you the minimum needed to run and test JavaScript locally.
- Node.js 18+ (for
node --watchsupport). - npm (ships with Node).
- VSCode (debug-ready via
.vscode/launch.json– use the "Launch Program" config).
- Install deps
npm install- Run main (restarts on file changes)
npm start- Run tests
npm test.
├── src/
│ ├── index.js # entry point; logs "Hello world"
│ └── index.test.js # placeholder Jest suite
├── jest.config.js # Node test env, 5s timeout
└── package.json # scripts and metadata
MIT. See LICENSE.