turbo-editors/turbo-jspublic Fork 0
main
Commits
Clone
git clone https://git.rickub.com/turbo-editors/turbo-js.git
git clone ssh://git@rickub.com/turbo-editors/turbo-js.git

Host key fingerprint (ed25519): SHA256:iycHnxEyq0Q7uyVpB7JlznP0G7JrTPXLYRcAU5CSLhc — verify it before your first connect.

README.md · 14 lines · 642 Bmarkdown Blame HistoryRaw
📦 Turbo JS 91999d1 k33g 11h ago1# Demos
2
3Small 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
10cd demos/greeter
11turbo-js main.js
12```
13
14Then `Alt-J`**Create tools file**, and the menu runs `npm install`, `node --test` and `npm start` from here.