Skip to content

Using QuickJS to implement a sandbox wherein it's safe to execute untrusted JavaScript code.

License

Notifications You must be signed in to change notification settings

suchipi/js-sandbox-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

js-sandbox-demo

Some code that uses QuickJS to implement a sandbox wherein it's safe to execute untrusted JavaScript code.

It also demonstrates exposing functions from the native JS environment into the sandbox.

This example works in both node and the browser.

Running

yarn install
yarn ts-node src/index.ts

About

Using QuickJS to implement a sandbox wherein it's safe to execute untrusted JavaScript code.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages