create-webr-cli
Version:
A template for creating WebR CLI
19 lines (15 loc) • 541 B
Markdown
# create-webr-cli
 
A helper utility to make it easer to bootstrap a WebR + Node.JS CLI app.
```bash
$ npm install -g create-webr-cli
$ create-webr-cli test-cli
Template project created successfully in /path/tp/test-cli
$ cd test-cli
$ npm install
$ just pkgs
$ node index.mjs
R version 4.3
7, 6, 9, 2, 10, 1, 3, 4, 5, 8
```
Change the necessary bits in `package.json` to make this yours. Consider adding a good `.gitignore`.