LibraryActive

Node.js VM

Node.js built-in module for executing JavaScript in isolated V8 contexts.

Open source page

Product features

Product features

Class: vm.Module #

Class: vm.Script #

module.error #

new vm.Script(code[, options]) #

Node.js v26.7.0 documentation

script.cachedDataRejected #

script.createCachedData() #

script.runInContext(contextifiedObject[, options]) #

script.runInNewContext([contextObject[, options]]) #

script.runInThisContext([options]) #

script.sourceMapURL #

VM (executing JavaScript) #