A helper utility to make it easer to bootstrap a WebR + Node.JS CLI app.
$ 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
.