VM module

node v10.22.1
version: 2.0.0
endpointsharetweet
const VM = require("vm"); const context = VM.createContext({ require }); // Need this to let the notebook know you want lodash. if (false) { require("lodash") } VM.runInContext(`require("lodash")`, context);
Loading…

no comments

    sign in to comment