NOTE: This package has been archived and is outdated. Please refer to the hoppscotch-js-sandbox in the Hoppscotch monorepo for the latest code.
This package deals with providing a JavaScript sandbox for executing various security sensitive external scripts.
- Install the npm package
npm install --save @hoppscotch/js-sandbox
This package makes use of quickjs-empscripten for building sandboxes for running external code on Hoppscotch.
Currently implemented sandboxes:
- Hoppscotch Test Scripts
- Clone the repository
git clone https://github.com/hoppscotch/hopp-js-sandbox
- Install the package deps
npm install
- Try out the demo
src/demo.ts
using
npm run demo
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!
This project is licensed under the MIT License - see LICENSE
for more details.