| 📦 Turbo JS 91999d1 k33g 11h ago | 1 | # Demos |
| 2 | |
| 3 | Small Node programs to open in Turbo JS once you have built it. Each directory is a project of its own: start the editor **in** it, so the JavaScript menu's commands run there and the language server finds its `package.json`. |
| 4 | |
| 5 | | Directory | What it shows | |
| 6 | | --- | --- | |
| 7 | | `greeter/` | A class with a private field and a regular expression, an ES module importing it, and a `node --test` file beside them. `npm start` greets three times; `npm test` runs the two tests. | |
| 8 | |
| 9 | ```bash |
| 10 | cd demos/greeter |
| 11 | turbo-js main.js |
| 12 | ``` |
| 13 | |
| 14 | Then `Alt-J` ▸ **Create tools file**, and the menu runs `npm install`, `node --test` and `npm start` from here. |