Andrew Bastin d2865c637c refactor: bring js-sandbox project to the monorepo 3 years ago
..
src d2865c637c refactor: bring js-sandbox project to the monorepo 3 years ago
.eslintrc.js d2865c637c refactor: bring js-sandbox project to the monorepo 3 years ago
.gitignore d2865c637c refactor: bring js-sandbox project to the monorepo 3 years ago
.prettierignore d2865c637c refactor: bring js-sandbox project to the monorepo 3 years ago
.prettierrc.js d2865c637c refactor: bring js-sandbox project to the monorepo 3 years ago
LICENSE d2865c637c refactor: bring js-sandbox project to the monorepo 3 years ago
README.md d2865c637c refactor: bring js-sandbox project to the monorepo 3 years ago
jest.config.js d2865c637c refactor: bring js-sandbox project to the monorepo 3 years ago
jest.setup.ts d2865c637c refactor: bring js-sandbox project to the monorepo 3 years ago
package.json d2865c637c refactor: bring js-sandbox project to the monorepo 3 years ago
tsconfig.json d2865c637c refactor: bring js-sandbox project to the monorepo 3 years ago

README.md

# Hoppscotch JavaScript Sandbox ALPHA

This package deals with providing a JavaScript sandbox for executing various security sensitive external scripts.

Usage

  • Install the npm package

    npm install --save @hoppscotch/js-sandbox
    

How does this work ?

This package makes use of quickjs-empscripten for building sandboxes for running external code on Hoppscotch.

Currently implemented sandboxes:

  • Hoppscotch Test Scripts

Development

  • 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
    

Versioning

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.




###### built with ❤︎ by the [Hoppscotch Team](https://github.com/hoppscotch) and [contributors](https://github.com/AndrewBastin/hopp-js-sandbox/graphs/contributors).