turbo-editors/turbo-jspublic Fork 0
v1.0.2
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.

📦 Turbo JS 91999d1 · on v1.0.2 · k33g · 9h ago
README.md · 14 lines · 642 Bmarkdown
Blame HistoryOpen raw

Demos

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.

Directory What it shows
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.
cd demos/greeter
turbo-js main.js

Then Alt-JCreate tools file, and the menu runs npm install, node --test and npm start from here.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
# Demos

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`.

| Directory | What it shows |
| --- | --- |
| `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. |

```bash
cd demos/greeter
turbo-js main.js
```

Then `Alt-J`**Create tools file**, and the menu runs `npm install`, `node --test` and `npm start` from here.