@jsonic-co/js-sandbox
v0.1.1
Published
JavaScript sandboxes for running external scripts used by Jsonic clients
Downloads
7
Readme
Jsonic JavaScript Sandbox ALPHA
NOTE: This package has been archived and is outdated. Please refer to the jsonic-js-sandbox in the Jsonic monorepo for the latest code.
This package deals with providing a JavaScript sandbox for executing various security sensitive external scripts.
Usage
- Install the npm package
npm install --save @jsonic-co/js-sandboxHow does this work ?
This package makes use of quickjs-empscripten for building sandboxes for running external code on Jsonic.
Currently implemented sandboxes:
- Jsonic Test Scripts
Development
- Clone the repository
git clone https://github.com/jsonic/jsonic-js-sandbox- Install the package deps
npm install- Try out the demo
src/demo.tsusing
npm run demoVersioning
This project follows Semantic Versioning but as the project is still pre-1.0. The code and the public exposed API should not be considered to be fixed and stable. Things can change at any time!
License
This project is licensed under the MIT License - see LICENSE for more details.
