stencila/js
: Stencila for Javascript
Provides a JavascriptContext
for executing Javascript code from within Stencila documents.
Install
npm install stencila-js
API documentation is available at https://stencila.github.io/js/.
Develop
git clone git@github.com:stencila/js.git
cd js
npm install
npm run lint
npm test
npm run cover
To 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-browser
See also
The NodeContext
in the stencila/node
repository is derived from the JavascriptContext
in this repo.