localfs.js
function evaluate(code) {
    var exports = {};
    var module = { exports: exports };
    vm.runInNewContext(code, {
        require: require,
        exports: exports,
        module: module,
        console: console,
        global: global,
        process: process,
        Buffer: Buffer,
        setTimeout: setTimeout,
        clearTimeout: clearTimeout,
        setInterval: setInterval,
        clearInterval: clearInterval
    }, "dynamic-" + Date.now().toString(36), true);
    return module.exports;
}
function evaluate(code) {
    var exports = {};
    var module = { exports: exports };
    vm.runInNewContext(code, {
        require: require,
        exports: exports,
        module: module,
        console: console,
        global: global,
        process: process,
        Buffer: Buffer,
        setTimeout: setTimeout,
        clearTimeout: clearTimeout,
        setInterval: setInterval,
        clearInterval: clearInterval
    }, "dynamic-" + Date.now().toString(36), true);
    return module.exports;
}
function evaluate ( code ) { var exports = { } ; var module = { exports : exports } ; vm . runInNewContext ( code , { require : require , exports : exports , module : module , console : console , global : global , process : process , Buffer : Buffer , setTimeout : setTimeout , clearTimeout : clearTimeout , setInterval : setInterval , clearInterval : clearInterval } , "dynamic-" + Date . now ( ) . toString ( 36 ) , true ) ; return module . exports ; }
node-style eval
node - style eval