James George 22c6eabd13 chore: migrate `Node.js` implementation for `js-sandbox` to `isolated-vm` (#3973) | 7 months ago | |
---|---|---|
.. | ||
src | 7 months ago | |
.eslintrc.cjs | 3 years ago | |
.gitignore | 3 years ago | |
.prettierignore | 3 years ago | |
.prettierrc.cjs | 3 years ago | |
README.md | 2 years ago | |
index.d.ts | 11 months ago | |
node.d.ts | 7 months ago | |
package.json | 7 months ago | |
setupFiles.ts | 7 months ago | |
tsconfig.json | 11 months ago | |
vite.config.ts | 7 months ago | |
web.d.ts | 7 months ago |
This package deals with providing a JavaScript sandbox for executing various security sensitive external scripts.
This package makes use of quickjs-emscripten for building sandboxes for running external code on Hoppscotch.
Currently implemented sandboxes:
Clone the repository
git clone https://github.com/hoppscotch/hoppscotch
Install the package dependencies
pnpm install
Navigate to the package folder
cd hoppscotch/packages/hoppscotch-js-sandbox
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.