Skip to content

my8bird/nodejs-sandbox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status

Install

git clone [email protected]:my8bird/nodejs-sandbox.git
cd nodejs-sandbox
npm link

Usage

var sandboxer = require("nodejs-sandbox");
var sandbox = new sandbox.Sandbox();
sandbox.runSandboxed({code: 'console.log("fubar");'});

// To detect phases
sandbox.on('start',  function() {console.log('start'); });
sandbox.on('finish', function() {console.log('finish'); });

@see _example.js for running code.

About

Provides a simple interface for running untrusted code.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published