Provides a JavascriptContext for executing Javascript code from within Stencila documents.
npm install stencila-jsAPI documentation is available at https://stencila.github.io/js/.
git clone git@github.com:stencila/js.git
cd js
npm install
npm run lint
npm test
npm run coverTo run tests in the browser:
npm run test-browser There's also a Makefile if you prefer to run tasks that way e.g.
make lint cover test-browserThe NodeContext in the stencila/node repository is derived from the JavascriptContext in this repo.