| https://beta.docs.nodejs.org/ |
| Learn | https://nodejs.org/en/learn |
| About | https://nodejs.org/en/about |
| Download | https://nodejs.org/en/download |
| Docs | https://nodejs.org/docs/latest/api/ |
| Blog | https://nodejs.org/en/blog/ |
| Contribute | https://github.com/nodejs/node/blob/main/CONTRIBUTING.md |
| https://github.com/nodejs/node |
| About this documentation | https://beta.docs.nodejs.org/index.html |
| Usage and example | https://beta.docs.nodejs.org/synopsis.html |
| Assert | https://beta.docs.nodejs.org/assert.html |
| Async hooks | https://beta.docs.nodejs.org/async_hooks.html |
| Asynchronous context tracking | https://beta.docs.nodejs.org/async_context.html |
| Benchmark runner | https://beta.docs.nodejs.org/bench.html |
| Buffer | https://beta.docs.nodejs.org/buffer.html |
| C++ addons | https://beta.docs.nodejs.org/addons.html |
| C++ embedder API | https://beta.docs.nodejs.org/embedding.html |
| Child process | https://beta.docs.nodejs.org/child_process.html |
| Cluster | https://beta.docs.nodejs.org/cluster.html |
| Command-line API | https://beta.docs.nodejs.org/cli.html |
| Console | https://beta.docs.nodejs.org/console.html |
| Crypto | https://beta.docs.nodejs.org/crypto.html |
| Debugger | https://beta.docs.nodejs.org/debugger.html |
| Deprecated APIs | https://beta.docs.nodejs.org/deprecations.html |
| Diagnostic report | https://beta.docs.nodejs.org/report.html |
| Diagnostics Channel | https://beta.docs.nodejs.org/diagnostics_channel.html |
| DNS | https://beta.docs.nodejs.org/dns.html |
| Domain | https://beta.docs.nodejs.org/domain.html |
| DTLS | https://beta.docs.nodejs.org/dtls.html |
| Environment Variables | https://beta.docs.nodejs.org/environment_variables.html |
| Errors | https://beta.docs.nodejs.org/errors.html |
| Events | https://beta.docs.nodejs.org/events.html |
| FFI | https://beta.docs.nodejs.org/ffi.html |
| File system | https://beta.docs.nodejs.org/fs.html |
| Global objects | https://beta.docs.nodejs.org/globals.html |
| HTTP | https://beta.docs.nodejs.org/http.html |
| HTTP/2 | https://beta.docs.nodejs.org/http2.html |
| HTTPS | https://beta.docs.nodejs.org/https.html |
| Inspector | https://beta.docs.nodejs.org/inspector.html |
| Internationalization support | https://beta.docs.nodejs.org/intl.html |
| Iterable Streams | https://beta.docs.nodejs.org/stream_iter.html |
| Modules: node:module API | https://beta.docs.nodejs.org/module.html |
| Modules: CommonJS modules | https://beta.docs.nodejs.org/modules.html |
| Modules: ECMAScript modules | https://beta.docs.nodejs.org/esm.html |
| Modules: Packages | https://beta.docs.nodejs.org/packages.html |
| Modules: TypeScript | https://beta.docs.nodejs.org/typescript.html |
| Net | https://beta.docs.nodejs.org/net.html |
| Node-API | https://beta.docs.nodejs.org/n-api.html |
| OS | https://beta.docs.nodejs.org/os.html |
| Path | https://beta.docs.nodejs.org/path.html |
| Performance measurement APIs | https://beta.docs.nodejs.org/perf_hooks.html |
| Permissions | https://beta.docs.nodejs.org/permissions.html |
| Process | https://beta.docs.nodejs.org/process.html |
| Punycode | https://beta.docs.nodejs.org/punycode.html |
| Query string | https://beta.docs.nodejs.org/querystring.html |
| Readline | https://beta.docs.nodejs.org/readline.html |
| REPL | https://beta.docs.nodejs.org/repl.html |
| Single executable applications | https://beta.docs.nodejs.org/single-executable-applications.html |
| SQLite | https://beta.docs.nodejs.org/sqlite.html |
| Stream | https://beta.docs.nodejs.org/stream.html |
| String decoder | https://beta.docs.nodejs.org/string_decoder.html |
| Test runner | https://beta.docs.nodejs.org/test.html |
| Timers | https://beta.docs.nodejs.org/timers.html |
| TLS (SSL) | https://beta.docs.nodejs.org/tls.html |
| Trace events | https://beta.docs.nodejs.org/tracing.html |
| TTY | https://beta.docs.nodejs.org/tty.html |
| UDP/datagram sockets | https://beta.docs.nodejs.org/dgram.html |
| URL | https://beta.docs.nodejs.org/url.html |
| Util | https://beta.docs.nodejs.org/util.html |
| V8 | https://beta.docs.nodejs.org/v8.html |
| Virtual File System | https://beta.docs.nodejs.org/vfs.html |
| VM (executing JavaScript) | https://beta.docs.nodejs.org/vm.html |
| vm.Script | https://beta.docs.nodejs.org/vm/Script.html |
| vm.Module | https://beta.docs.nodejs.org/vm/Module.html |
| vm.SourceTextModule | https://beta.docs.nodejs.org/vm/SourceTextModule.html |
| vm.SyntheticModule | https://beta.docs.nodejs.org/vm/SyntheticModule.html |
| vm.compileFunction | https://beta.docs.nodejs.org/vm/compileFunction.html |
| vm.constants | https://beta.docs.nodejs.org/vm/constants.html |
| vm.createContext | https://beta.docs.nodejs.org/vm/createContext.html |
| vm.isContext | https://beta.docs.nodejs.org/vm/isContext.html |
| vm.measureMemory | https://beta.docs.nodejs.org/vm/measureMemory.html |
| vm.runInContext | https://beta.docs.nodejs.org/vm/runInContext.html |
| vm.runInNewContext | https://beta.docs.nodejs.org/vm/runInNewContext.html |
| vm.runInThisContext | https://beta.docs.nodejs.org/vm/runInThisContext.html |
| What does it mean to "contextify" an object? | https://beta.docs.nodejs.org/vm/what-does-it-mean-to-contextify-an-object.html |
| Web Crypto API | https://beta.docs.nodejs.org/webcrypto.html |
| Web Streams API | https://beta.docs.nodejs.org/webstreams.html |
| WebAssembly System Interface (WASI) | https://beta.docs.nodejs.org/wasi.html |
| Worker threads | https://beta.docs.nodejs.org/worker_threads.html |
| Zlib | https://beta.docs.nodejs.org/zlib.html |
| vm.Script | https://beta.docs.nodejs.org/vm.html#class-vmscript |
| new vm.Script | https://beta.docs.nodejs.org/vm.html#new-vmscriptcode-options |
| script.cachedDataRejected | https://beta.docs.nodejs.org/vm.html#scriptcacheddatarejected |
| script.createCachedData | https://beta.docs.nodejs.org/vm.html#scriptcreatecacheddata |
| script.runInContext | https://beta.docs.nodejs.org/vm.html#scriptrunincontextcontextifiedobject-options |
| script.runInNewContext | https://beta.docs.nodejs.org/vm.html#scriptruninnewcontextcontextobject-options |
| script.runInThisContext | https://beta.docs.nodejs.org/vm.html#scriptruninthiscontextoptions |
| script.sourceMapURL | https://beta.docs.nodejs.org/vm.html#scriptsourcemapurl |
| vm.Module | https://beta.docs.nodejs.org/vm.html#class-vmmodule |
| module.error | https://beta.docs.nodejs.org/vm.html#moduleerror |
| module.evaluate | https://beta.docs.nodejs.org/vm.html#moduleevaluateoptions |
| module.identifier | https://beta.docs.nodejs.org/vm.html#moduleidentifier |
| module.link | https://beta.docs.nodejs.org/vm.html#modulelinklinker |
| module.namespace | https://beta.docs.nodejs.org/vm.html#modulenamespace |
| module.status | https://beta.docs.nodejs.org/vm.html#modulestatus |
| vm.SourceTextModule | https://beta.docs.nodejs.org/vm.html#class-vmsourcetextmodule |
| new vm.SourceTextModule | https://beta.docs.nodejs.org/vm.html#new-vmsourcetextmodulecode-options |
| sourceTextModule.createCachedData | https://beta.docs.nodejs.org/vm.html#sourcetextmodulecreatecacheddata |
| sourceTextModule.dependencySpecifiers | https://beta.docs.nodejs.org/vm.html#sourcetextmoduledependencyspecifiers |
| sourceTextModule.hasAsyncGraph | https://beta.docs.nodejs.org/vm.html#sourcetextmodulehasasyncgraph |
| sourceTextModule.hasTopLevelAwait | https://beta.docs.nodejs.org/vm.html#sourcetextmodulehastoplevelawait |
| sourceTextModule.instantiate | https://beta.docs.nodejs.org/vm.html#sourcetextmoduleinstantiate |
| sourceTextModule.linkRequests | https://beta.docs.nodejs.org/vm.html#sourcetextmodulelinkrequestsmodules |
| sourceTextModule.moduleRequests | https://beta.docs.nodejs.org/vm.html#sourcetextmodulemodulerequests |
| vm.SyntheticModule | https://beta.docs.nodejs.org/vm.html#class-vmsyntheticmodule |
| new vm.SyntheticModule | https://beta.docs.nodejs.org/vm.html#new-vmsyntheticmoduleexportnames-evaluatecallback-options |
| syntheticModule.setExport | https://beta.docs.nodejs.org/vm.html#syntheticmodulesetexportname-value |
| ModuleRequest | https://beta.docs.nodejs.org/vm.html#type-modulerequest |
| vm.compileFunction | https://beta.docs.nodejs.org/vm.html#vmcompilefunctioncode-params-options |
| vm.constants | https://beta.docs.nodejs.org/vm.html#vmconstants |
| vm.constants.USE_MAIN_CONTEXT_DEFAULT_LOADER | https://beta.docs.nodejs.org/vm.html#vmconstantsuse_main_context_default_loader |
| vm.createContext | https://beta.docs.nodejs.org/vm.html#vmcreatecontextcontextobject-options |
| vm.isContext | https://beta.docs.nodejs.org/vm.html#vmiscontextobject |
| vm.measureMemory | https://beta.docs.nodejs.org/vm.html#vmmeasurememoryoptions |
| vm.runInContext | https://beta.docs.nodejs.org/vm.html#vmrunincontextcode-contextifiedobject-options |
| vm.runInNewContext | https://beta.docs.nodejs.org/vm.html#vmruninnewcontextcode-contextobject-options |
| vm.runInThisContext | https://beta.docs.nodejs.org/vm.html#vmruninthiscontextcode-options |
| Running an HTTP server within a VM | https://beta.docs.nodejs.org/vm.html#example-running-an-http-server-within-a-vm |
| What does it mean to "contextify" an object? | https://beta.docs.nodejs.org/vm.html#what-does-it-mean-to-contextify-an-object |
| vm.constants.DONT_CONTEXTIFY | https://beta.docs.nodejs.org/vm.html#vmconstantsdont_contextify |
| Timeout interactions with asynchronous tasks and Promises | https://beta.docs.nodejs.org/vm.html#timeout-interactions-with-asynchronous-tasks-and-promises |
| When microtaskMode is 'afterEvaluate', beware sharing Promises between Contexts | https://beta.docs.nodejs.org/vm.html#when-microtaskmode-is-afterevaluate-beware-sharing-promises-between-contexts |
| Support of dynamic import() in compilation APIs | https://beta.docs.nodejs.org/vm.html#support-of-dynamic-import-in-compilation-apis |
| When the importModuleDynamically option is not specified or undefined | https://beta.docs.nodejs.org/vm.html#when-the-importmoduledynamically-option-is-not-specified-or-undefined |
| When importModuleDynamically is vm.constants.USE_MAIN_CONTEXT_DEFAULT_LOADER | https://beta.docs.nodejs.org/vm.html#when-importmoduledynamically-is-vmconstantsuse_main_context_default_loader |
| When importModuleDynamically is a function | https://beta.docs.nodejs.org/vm.html#when-importmoduledynamically-is-a-function |
| VM (executing JavaScript) | https://beta.docs.nodejs.org/vm.html#vm-executing-javascript |
| lib/vm.js | https://github.com/nodejs/node/blob/main/lib/vm.js |
| contextifying | https://beta.docs.nodejs.org/vm.html#what-does-it-mean-to-contextify-an-object |
| vm.Script | https://beta.docs.nodejs.org/vm.html#class-vmscript |
| vm.Script Constructor | https://beta.docs.nodejs.org/vm.html#new-vmscriptcode-options |
| Added support for vm.constants.USE_MAIN_CONTEXT_DEFAULT_LOADER.v21.7.0, v20.12.0 | https://github.com/nodejs/node/pull/51244 |
| Added support for import attributes to the importModuleDynamically parameter.v17.0.0, v16.12.0 | https://github.com/nodejs/node/pull/40249 |
| The produceCachedData is deprecated in favour of script.createCachedData().v10.6.0 | https://github.com/nodejs/node/pull/20300 |
| The cachedData and produceCachedData options are supported now.v5.7.0 | https://github.com/nodejs/node/pull/4777 |
| string | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type |
| Object | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object |
| string | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type |
| string | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type |
| number | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type |
| number | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type |
| Buffer | https://beta.docs.nodejs.org/buffer.html#class-buffer |
| TypedArray | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/TypedArray |
| DataView | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/DataView |
| boolean | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type |
| Function | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Function |
| vm.constants.USE_MAIN_CONTEXT_DEFAULT_LOADER | https://beta.docs.nodejs.org/vm.html#vmconstantsuse_main_context_default_loader |
| Support of dynamic import() in compilation APIs | https://beta.docs.nodejs.org/vm.html#support-of-dynamic-import-in-compilation-apis |
| script.cachedDataRejected | https://beta.docs.nodejs.org/vm.html#scriptcacheddatarejected |
| boolean | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type |
| undefined | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#undefined_type |
| script.createCachedData | https://beta.docs.nodejs.org/vm.html#scriptcreatecacheddata |
| Buffer | https://beta.docs.nodejs.org/buffer.html#class-buffer |
| script.runInContext | https://beta.docs.nodejs.org/vm.html#scriptrunincontextcontextifiedobject-options |
| The breakOnSigint option is supported now.v6.3.0 | https://github.com/nodejs/node/pull/6635 |
| Object | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object |
| contextified | https://beta.docs.nodejs.org/vm.html#what-does-it-mean-to-contextify-an-object |
| Object | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object |
| boolean | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type |
| Error | https://beta.docs.nodejs.org/errors.html#class-error |
| integer | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type |
| Error | https://beta.docs.nodejs.org/errors.html#class-error |
| boolean | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type |
| Error | https://beta.docs.nodejs.org/errors.html#class-error |
| any | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Data_types |
| script.runInNewContext | https://beta.docs.nodejs.org/vm.html#scriptruninnewcontextcontextobject-options |
| The contextObject argument now accepts vm.constants.DONT_CONTEXTIFY.v22.8.0, v20.18.0 | https://github.com/nodejs/node/pull/54394 |
| The microtaskMode option is supported now.v14.6.0 | https://github.com/nodejs/node/pull/34023 |
| The contextCodeGeneration option is supported now.v10.0.0 | https://github.com/nodejs/node/pull/19016 |
| The breakOnSigint option is supported now.v6.3.0 | https://github.com/nodejs/node/pull/6635 |
| Object | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object |
| vm.constants.DONT_CONTEXTIFY | https://beta.docs.nodejs.org/vm.html#vmconstantsdont_contextify |
| undefined | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#undefined_type |
| vm.constants.DONT_CONTEXTIFY | https://beta.docs.nodejs.org/vm.html#vmconstantsdont_contextify |
| contextified | https://beta.docs.nodejs.org/vm.html#what-does-it-mean-to-contextify-an-object |
| Object | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object |
| boolean | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type |
| Error | https://beta.docs.nodejs.org/errors.html#class-error |
| integer | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type |
| Error | https://beta.docs.nodejs.org/errors.html#class-error |
| boolean | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type |
| Error | https://beta.docs.nodejs.org/errors.html#class-error |
| string | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type |
| string | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type |
| Origin | https://developer.mozilla.org/en-US/docs/Glossary/Origin |
| url.origin | https://beta.docs.nodejs.org/url.html#urlorigin |
| URL | https://beta.docs.nodejs.org/url.html#class-url |
| Object | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object |
| boolean | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type |
| boolean | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type |
| string | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type |
| any | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Data_types |
| contextifies | https://beta.docs.nodejs.org/vm.html#what-does-it-mean-to-contextify-an-object |
| contextifies | https://beta.docs.nodejs.org/vm.html#what-does-it-mean-to-contextify-an-object |
| vm.constants.DONT_CONTEXTIFY | https://beta.docs.nodejs.org/vm.html#vmconstantsdont_contextify |
| contextify | https://beta.docs.nodejs.org/vm.html#what-does-it-mean-to-contextify-an-object |
| script.runInThisContext | https://beta.docs.nodejs.org/vm.html#scriptruninthiscontextoptions |
| The breakOnSigint option is supported now.v6.3.0 | https://github.com/nodejs/node/pull/6635 |
| Object | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object |
| boolean | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type |
| Error | https://beta.docs.nodejs.org/errors.html#class-error |
| integer | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type |
| Error | https://beta.docs.nodejs.org/errors.html#class-error |
| boolean | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type |
| Error | https://beta.docs.nodejs.org/errors.html#class-error |
| any | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Data_types |
| script.sourceMapURL | https://beta.docs.nodejs.org/vm.html#scriptsourcemapurl |
| string | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type |
| undefined | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#undefined_type |
| vm.Module | https://beta.docs.nodejs.org/vm.html#class-vmmodule |
| Module Record | https://tc39.es/ecma262/#sec-abstract-module-records |
| ECMAScript Module
loader | https://beta.docs.nodejs.org/esm.html#modules-ecmascript-modules |
| module.error | https://beta.docs.nodejs.org/vm.html#moduleerror |
| any | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Data_types |
| Cyclic Module Record | https://tc39.es/ecma262/#sec-cyclic-module-records |
| module.evaluate | https://beta.docs.nodejs.org/vm.html#moduleevaluateoptions |
| Object | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object |
| integer | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type |
| Error | https://beta.docs.nodejs.org/errors.html#class-error |
| boolean | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type |
| Error | https://beta.docs.nodejs.org/errors.html#class-error |
| Promise | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise |
| Evaluate() concrete method | https://tc39.es/ecma262/#sec-moduleevaluation |
| Cyclic Module Record | https://tc39.es/ecma262/#sec-cyclic-module-records |
| Evaluate() of a Synthetic Module Record | https://tc39.es/ecma262/#sec-smr-Evaluate |
| module.identifier | https://beta.docs.nodejs.org/vm.html#moduleidentifier |
| string | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type |
| module.link | https://beta.docs.nodejs.org/vm.html#modulelinklinker |
| The option extra.assert is renamed to extra.attributes. The former name is still provided for backward compatibility.v21.1.0, v20.10.0, v18.19.0 | https://github.com/nodejs/node/pull/50141 |
| Function | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Function |
| string | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type |
| vm.Module | https://beta.docs.nodejs.org/vm.html#class-vmmodule |
| Object | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object |
| Object | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object |
| Object | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object |
| vm.Module | https://beta.docs.nodejs.org/vm.html#class-vmmodule |
| Promise | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise |
| Promise | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise |
| sourceTextModule.linkRequests(modules) | https://beta.docs.nodejs.org/vm.html#sourcetextmodulelinkrequestsmodules |
| sourceTextModule.instantiate() | https://beta.docs.nodejs.org/vm.html#sourcetextmoduleinstantiate |
| HostResolveImportedModule | https://tc39.es/ecma262/#sec-hostresolveimportedmodule |
| HostResolveImportedModule | https://tc39.es/ecma262/#sec-hostresolveimportedmodule |
| HostResolveImportedModule | https://tc39.es/ecma262/#sec-hostresolveimportedmodule |
| HostResolveImportedModule | https://tc39.es/ecma262/#sec-hostresolveimportedmodule |
| Link() concrete method | https://tc39.es/ecma262/#sec-moduledeclarationlinking |
| Cyclic Module
Record | https://tc39.es/ecma262/#sec-cyclic-module-records |
| module.namespace | https://beta.docs.nodejs.org/vm.html#modulenamespace |
| Object | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object |
| GetModuleNamespace | https://tc39.es/ecma262/#sec-getmodulenamespace |
| module.status | https://beta.docs.nodejs.org/vm.html#modulestatus |
| string | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type |
| Cyclic Module Record | https://tc39.es/ecma262/#sec-cyclic-module-records |
| vm.SourceTextModule | https://beta.docs.nodejs.org/vm.html#class-vmsourcetextmodule |
| Source Text Module Record | https://tc39.es/ecma262/#sec-source-text-module-records |
| vm.SourceTextModule Constructor | https://beta.docs.nodejs.org/vm.html#new-vmsourcetextmodulecode-options |
| Added support for import attributes to the importModuleDynamically parameter.v17.0.0, v16.12.0 | https://github.com/nodejs/node/pull/40249 |
| string | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type |
| string | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type |
| Buffer | https://beta.docs.nodejs.org/buffer.html#class-buffer |
| TypedArray | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/TypedArray |
| DataView | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/DataView |
| Object | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object |
| contextified | https://beta.docs.nodejs.org/vm.html#what-does-it-mean-to-contextify-an-object |
| integer | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type |
| integer | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type |
| Function | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Function |
| import.meta | https://beta.docs.nodejs.org/esm.html#importmeta |
| vm.SourceTextModule | https://beta.docs.nodejs.org/vm.html#class-vmsourcetextmodule |
| Function | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Function |
| Support of dynamic import() in compilation APIs | https://beta.docs.nodejs.org/vm.html#support-of-dynamic-import-in-compilation-apis |
| sourceTextModule.createCachedData | https://beta.docs.nodejs.org/vm.html#sourcetextmodulecreatecacheddata |
| Buffer | https://beta.docs.nodejs.org/buffer.html#class-buffer |
| sourceTextModule.dependencySpecifiers | https://beta.docs.nodejs.org/vm.html#sourcetextmoduledependencyspecifiers |
| This is deprecated in favour of sourceTextModule.moduleRequests.v24.4.0, v22.20.0 | https://github.com/nodejs/node/pull/20300 |
| sourceTextModule.moduleRequests | https://beta.docs.nodejs.org/vm.html#sourcetextmodulemodulerequests |
| string | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type |
| Cyclic Module Record | https://tc39.es/ecma262/#sec-cyclic-module-records |
| sourceTextModule.hasAsyncGraph | https://beta.docs.nodejs.org/vm.html#sourcetextmodulehasasyncgraph |
| boolean | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type |
| sourceTextModule.hasTopLevelAwait | https://beta.docs.nodejs.org/vm.html#sourcetextmodulehastoplevelawait |
| boolean | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type |
| Cyclic Module Record | https://tc39.es/ecma262/#sec-cyclic-module-records |
| sourceTextModule.instantiate | https://beta.docs.nodejs.org/vm.html#sourcetextmoduleinstantiate |
| undefined | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#undefined_type |
| sourceTextModule.linkRequests(modules) | https://beta.docs.nodejs.org/vm.html#sourcetextmodulelinkrequestsmodules |
| sourceTextModule.linkRequests | https://beta.docs.nodejs.org/vm.html#sourcetextmodulelinkrequestsmodules |
| vm.Module | https://beta.docs.nodejs.org/vm.html#class-vmmodule |
| sourceTextModule.moduleRequests | https://beta.docs.nodejs.org/vm.html#sourcetextmodulemodulerequests |
| undefined | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#undefined_type |
| sourceTextModule.moduleRequests | https://beta.docs.nodejs.org/vm.html#sourcetextmodulemodulerequests |
| HostLoadImportedModule | https://tc39.es/ecma262/#sec-HostLoadImportedModule |
| FinishLoadingImportedModule | https://tc39.es/ecma262/#sec-FinishLoadingImportedModule |
| sourceTextModule.instantiate() | https://beta.docs.nodejs.org/vm.html#sourcetextmoduleinstantiate |
| sourceTextModule.moduleRequests | https://beta.docs.nodejs.org/vm.html#sourcetextmodulemodulerequests |
| ModuleRequest | https://beta.docs.nodejs.org/vm.html#type-modulerequest |
| vm.SyntheticModule | https://beta.docs.nodejs.org/vm.html#class-vmsyntheticmodule |
| Synthetic Module Record | https://tc39.es/ecma262/#sec-synthetic-module-records |
| vm.SyntheticModule Constructor | https://beta.docs.nodejs.org/vm.html#new-vmsyntheticmoduleexportnames-evaluatecallback-options |
| string | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type |
| Function | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Function |
| string | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type |
| Object | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object |
| contextified | https://beta.docs.nodejs.org/vm.html#what-does-it-mean-to-contextify-an-object |
| syntheticModule.setExport | https://beta.docs.nodejs.org/vm.html#syntheticmodulesetexportname-value |
| No longer need to call syntheticModule.link() before calling this method.v24.8.0, v22.21.0 | https://github.com/nodejs/node/pull/59000 |
| string | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type |
| any | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Data_types |
| Type: ModuleRequest | https://beta.docs.nodejs.org/vm.html#type-modulerequest |
| Object | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object |
| string | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type |
| Object | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object |
| WithClause | https://tc39.es/ecma262/#prod-WithClause |
| ImportDeclaration | https://tc39.es/ecma262/#prod-ImportDeclaration |
| string | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type |
| vm.compileFunction | https://beta.docs.nodejs.org/vm.html#vmcompilefunctioncode-params-options |
| Added support for vm.constants.USE_MAIN_CONTEXT_DEFAULT_LOADER.v21.7.0, v20.12.0 | https://github.com/nodejs/node/pull/51244 |
| The return value now includes cachedDataRejected with the same semantics as the vm.Script version if the cachedData option was passed.v19.6.0, v18.15.0 | https://github.com/nodejs/node/pull/46320 |
| Added support for import attributes to the importModuleDynamically parameter.v17.0.0, v16.12.0 | https://github.com/nodejs/node/pull/40249 |
| Added importModuleDynamically option again.v15.9.0 | https://github.com/nodejs/node/pull/35431 |
| Removal of importModuleDynamically due to compatibility issues.v14.3.0 | https://github.com/nodejs/node/pull/33364 |
| The importModuleDynamically option is now supported.v14.1.0, v13.14.0 | https://github.com/nodejs/node/pull/32985 |
| string | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type |
| string | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type |
| Object | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object |
| string | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type |
| number | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type |
| number | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type |
| Buffer | https://beta.docs.nodejs.org/buffer.html#class-buffer |
| TypedArray | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/TypedArray |
| DataView | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/DataView |
| vm.compileFunction() | https://beta.docs.nodejs.org/vm.html#vmcompilefunctioncode-params-options |
| boolean | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type |
| Object | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object |
| contextified | https://beta.docs.nodejs.org/vm.html#what-does-it-mean-to-contextify-an-object |
| Object | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object |
| Function | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Function |
| vm.constants.USE_MAIN_CONTEXT_DEFAULT_LOADER | https://beta.docs.nodejs.org/vm.html#vmconstantsuse_main_context_default_loader |
| Support of dynamic import() in compilation APIs | https://beta.docs.nodejs.org/vm.html#support-of-dynamic-import-in-compilation-apis |
| Function | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Function |
| vm.constants | https://beta.docs.nodejs.org/vm.html#vmconstants |
| Object | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object |
| vm.constants.USE_MAIN_CONTEXT_DEFAULT_LOADER | https://beta.docs.nodejs.org/vm.html#vmconstantsuse_main_context_default_loader |
| Support of dynamic import() in compilation APIs | https://beta.docs.nodejs.org/vm.html#support-of-dynamic-import-in-compilation-apis |
| vm.createContext | https://beta.docs.nodejs.org/vm.html#vmcreatecontextcontextobject-options |
| The contextObject argument now accepts vm.constants.DONT_CONTEXTIFY.v22.8.0, v20.18.0 | https://github.com/nodejs/node/pull/54394 |
| Added support for vm.constants.USE_MAIN_CONTEXT_DEFAULT_LOADER.v21.7.0, v20.12.0 | https://github.com/nodejs/node/pull/51244 |
| The importModuleDynamically option is supported now.v21.2.0, v20.11.0 | https://github.com/nodejs/node/pull/50360 |
| The microtaskMode option is supported now.v14.6.0 | https://github.com/nodejs/node/pull/34023 |
| The first argument can no longer be a function.v10.0.0 | https://github.com/nodejs/node/pull/19398 |
| The codeGeneration option is supported now.v10.0.0 | https://github.com/nodejs/node/pull/19016 |
| Object | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object |
| vm.constants.DONT_CONTEXTIFY | https://beta.docs.nodejs.org/vm.html#vmconstantsdont_contextify |
| undefined | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#undefined_type |
| vm.constants.DONT_CONTEXTIFY | https://beta.docs.nodejs.org/vm.html#vmconstantsdont_contextify |
| contextified | https://beta.docs.nodejs.org/vm.html#what-does-it-mean-to-contextify-an-object |
| Object | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object |
| string | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type |
| string | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type |
| Origin | https://developer.mozilla.org/en-US/docs/Glossary/Origin |
| url.origin | https://beta.docs.nodejs.org/url.html#urlorigin |
| URL | https://beta.docs.nodejs.org/url.html#class-url |
| Object | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object |
| boolean | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type |
| boolean | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type |
| string | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type |
| script.runInContext() | https://beta.docs.nodejs.org/vm.html#scriptrunincontextcontextifiedobject-options |
| Function | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Function |
| vm.constants.USE_MAIN_CONTEXT_DEFAULT_LOADER | https://beta.docs.nodejs.org/vm.html#vmconstantsuse_main_context_default_loader |
| Support of dynamic import() in compilation APIs | https://beta.docs.nodejs.org/vm.html#support-of-dynamic-import-in-compilation-apis |
| Object | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object |
| prepare that
object | https://beta.docs.nodejs.org/vm.html#what-does-it-mean-to-contextify-an-object |
| vm.runInContext() | https://beta.docs.nodejs.org/vm.html#vmrunincontextcode-contextifiedobject-options |
| script.runInContext() | https://beta.docs.nodejs.org/vm.html#scriptrunincontextcontextifiedobject-options |
| global object | https://tc39.es/ecma262/#sec-global-object |
| contextified | https://beta.docs.nodejs.org/vm.html#what-does-it-mean-to-contextify-an-object |
| contextified | https://beta.docs.nodejs.org/vm.html#what-does-it-mean-to-contextify-an-object |
| vm.constants.DONT_CONTEXTIFY | https://beta.docs.nodejs.org/vm.html#vmconstantsdont_contextify |
| vm.constants.DONT_CONTEXTIFY | https://beta.docs.nodejs.org/vm.html#vmconstantsdont_contextify |
| vm.isContext | https://beta.docs.nodejs.org/vm.html#vmiscontextobject |
| Object | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object |
| boolean | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type |
| contextified | https://beta.docs.nodejs.org/vm.html#what-does-it-mean-to-contextify-an-object |
| vm.createContext() | https://beta.docs.nodejs.org/vm.html#vmcreatecontextcontextobject-options |
| vm.constants.DONT_CONTEXTIFY | https://beta.docs.nodejs.org/vm.html#vmconstantsdont_contextify |
| vm.measureMemory | https://beta.docs.nodejs.org/vm.html#vmmeasurememoryoptions |
| Object | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object |
| string | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type |
| string | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type |
| Promise | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise |
| vm.runInContext | https://beta.docs.nodejs.org/vm.html#vmrunincontextcode-contextifiedobject-options |
| Added support for vm.constants.USE_MAIN_CONTEXT_DEFAULT_LOADER.v21.7.0, v20.12.0 | https://github.com/nodejs/node/pull/51244 |
| Added support for import attributes to the importModuleDynamically parameter.v17.0.0, v16.12.0 | https://github.com/nodejs/node/pull/40249 |
| The breakOnSigint option is supported now.v6.3.0 | https://github.com/nodejs/node/pull/6635 |
| string | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type |
| Object | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object |
| contextified | https://beta.docs.nodejs.org/vm.html#what-does-it-mean-to-contextify-an-object |
| Object | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object |
| string | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type |
| string | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type |
| number | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type |
| number | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type |
| boolean | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type |
| Error | https://beta.docs.nodejs.org/errors.html#class-error |
| integer | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type |
| Error | https://beta.docs.nodejs.org/errors.html#class-error |
| boolean | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type |
| Error | https://beta.docs.nodejs.org/errors.html#class-error |
| Buffer | https://beta.docs.nodejs.org/buffer.html#class-buffer |
| TypedArray | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/TypedArray |
| DataView | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/DataView |
| Function | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Function |
| vm.constants.USE_MAIN_CONTEXT_DEFAULT_LOADER | https://beta.docs.nodejs.org/vm.html#vmconstantsuse_main_context_default_loader |
| Support of dynamic import() in compilation APIs | https://beta.docs.nodejs.org/vm.html#support-of-dynamic-import-in-compilation-apis |
| contextified | https://beta.docs.nodejs.org/vm.html#what-does-it-mean-to-contextify-an-object |
| vm.createContext() | https://beta.docs.nodejs.org/vm.html#vmcreatecontextcontextobject-options |
| contextified | https://beta.docs.nodejs.org/vm.html#what-does-it-mean-to-contextify-an-object |
| vm.runInNewContext | https://beta.docs.nodejs.org/vm.html#vmruninnewcontextcode-contextobject-options |
| The contextObject argument now accepts vm.constants.DONT_CONTEXTIFY.v22.8.0, v20.18.0 | https://github.com/nodejs/node/pull/54394 |
| Added support for vm.constants.USE_MAIN_CONTEXT_DEFAULT_LOADER.v21.7.0, v20.12.0 | https://github.com/nodejs/node/pull/51244 |
| Added support for import attributes to the importModuleDynamically parameter.v17.0.0, v16.12.0 | https://github.com/nodejs/node/pull/40249 |
| The microtaskMode option is supported now.v14.6.0 | https://github.com/nodejs/node/pull/34023 |
| The contextCodeGeneration option is supported now.v10.0.0 | https://github.com/nodejs/node/pull/19016 |
| The breakOnSigint option is supported now.v6.3.0 | https://github.com/nodejs/node/pull/6635 |
| string | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type |
| Object | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object |
| vm.constants.DONT_CONTEXTIFY | https://beta.docs.nodejs.org/vm.html#vmconstantsdont_contextify |
| undefined | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#undefined_type |
| vm.constants.DONT_CONTEXTIFY | https://beta.docs.nodejs.org/vm.html#vmconstantsdont_contextify |
| contextified | https://beta.docs.nodejs.org/vm.html#what-does-it-mean-to-contextify-an-object |
| Object | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object |
| string | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type |
| string | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type |
| number | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type |
| number | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type |
| boolean | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type |
| Error | https://beta.docs.nodejs.org/errors.html#class-error |
| integer | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type |
| Error | https://beta.docs.nodejs.org/errors.html#class-error |
| boolean | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type |
| Error | https://beta.docs.nodejs.org/errors.html#class-error |
| string | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type |
| string | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type |
| Origin | https://developer.mozilla.org/en-US/docs/Glossary/Origin |
| url.origin | https://beta.docs.nodejs.org/url.html#urlorigin |
| URL | https://beta.docs.nodejs.org/url.html#class-url |
| Object | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object |
| boolean | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type |
| boolean | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type |
| Buffer | https://beta.docs.nodejs.org/buffer.html#class-buffer |
| TypedArray | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/TypedArray |
| DataView | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/DataView |
| Function | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Function |
| vm.constants.USE_MAIN_CONTEXT_DEFAULT_LOADER | https://beta.docs.nodejs.org/vm.html#vmconstantsuse_main_context_default_loader |
| Support of dynamic import() in compilation APIs | https://beta.docs.nodejs.org/vm.html#support-of-dynamic-import-in-compilation-apis |
| string | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type |
| any | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Data_types |
| contextifies | https://beta.docs.nodejs.org/vm.html#what-does-it-mean-to-contextify-an-object |
| contextifies | https://beta.docs.nodejs.org/vm.html#what-does-it-mean-to-contextify-an-object |
| vm.constants.DONT_CONTEXTIFY | https://beta.docs.nodejs.org/vm.html#vmconstantsdont_contextify |
| contextify | https://beta.docs.nodejs.org/vm.html#what-does-it-mean-to-contextify-an-object |
| vm.runInThisContext | https://beta.docs.nodejs.org/vm.html#vmruninthiscontextcode-options |
| Added support for vm.constants.USE_MAIN_CONTEXT_DEFAULT_LOADER.v21.7.0, v20.12.0 | https://github.com/nodejs/node/pull/51244 |
| Added support for import attributes to the importModuleDynamically parameter.v17.0.0, v16.12.0 | https://github.com/nodejs/node/pull/40249 |
| The breakOnSigint option is supported now.v6.3.0 | https://github.com/nodejs/node/pull/6635 |
| string | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type |
| Object | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object |
| string | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type |
| string | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type |
| number | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type |
| number | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type |
| boolean | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type |
| Error | https://beta.docs.nodejs.org/errors.html#class-error |
| integer | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type |
| Error | https://beta.docs.nodejs.org/errors.html#class-error |
| boolean | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type |
| Error | https://beta.docs.nodejs.org/errors.html#class-error |
| Buffer | https://beta.docs.nodejs.org/buffer.html#class-buffer |
| TypedArray | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/TypedArray |
| DataView | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/DataView |
| Function | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Function |
| vm.constants.USE_MAIN_CONTEXT_DEFAULT_LOADER | https://beta.docs.nodejs.org/vm.html#vmconstantsuse_main_context_default_loader |
| Support of dynamic import() in compilation APIs | https://beta.docs.nodejs.org/vm.html#support-of-dynamic-import-in-compilation-apis |
| any | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Data_types |
| eval() | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/eval |
| indirect eval() call | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/eval#direct_and_indirect_eval |
| Example: Running an HTTP server within a VM | https://beta.docs.nodejs.org/vm.html#example-running-an-http-server-within-a-vm |
| script.runInThisContext() | https://beta.docs.nodejs.org/vm.html#scriptruninthiscontextoptions |
| vm.runInThisContext() | https://beta.docs.nodejs.org/vm.html#vmruninthiscontextcode-options |
| What does it mean to "contextify" an object? | https://beta.docs.nodejs.org/vm.html#what-does-it-mean-to-contextify-an-object |
| V8 Embedder's Guide | https://v8.dev/docs/embed#contexts |
| vm.constants.DONT_CONTEXTIFY | https://beta.docs.nodejs.org/vm.html#vmconstantsdont_contextify |
| vm.createContext() | https://beta.docs.nodejs.org/vm.html#vmcreatecontextcontextobject-options |
| Timeout interactions with asynchronous tasks and Promises | https://beta.docs.nodejs.org/vm.html#timeout-interactions-with-asynchronous-tasks-and-promises |
| vm.runInThisContext() | https://beta.docs.nodejs.org/vm.html#vmruninthiscontextcode-options |
| When microtaskMode is 'afterEvaluate', beware sharing Promises between Contexts | https://beta.docs.nodejs.org/vm.html#when-microtaskmode-is-afterevaluate-beware-sharing-promises-between-contexts |
| enqueuing jobs | https://tc39.es/ecma262/#sec-hostenqueuepromisejob |
| Support of dynamic import() in compilation APIs | https://beta.docs.nodejs.org/vm.html#support-of-dynamic-import-in-compilation-apis |
| When the importModuleDynamically option is not specified or undefined | https://beta.docs.nodejs.org/vm.html#when-the-importmoduledynamically-option-is-not-specified-or-undefined |
| ERR_VM_DYNAMIC_IMPORT_CALLBACK_MISSING | https://beta.docs.nodejs.org/errors.html#err_vm_dynamic_import_callback_missing |
| When importModuleDynamically is vm.constants.USE_MAIN_CONTEXT_DEFAULT_LOADER | https://beta.docs.nodejs.org/vm.html#when-importmoduledynamically-is-vmconstantsuse_main_context_default_loader |
| When importModuleDynamically is a function | https://beta.docs.nodejs.org/vm.html#when-importmoduledynamically-is-a-function |
| ERR_VM_DYNAMIC_IMPORT_CALLBACK_MISSING_FLAG | https://beta.docs.nodejs.org/errors.html#err_vm_dynamic_import_callback_missing_flag |
| string | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type |
| vm.Script | https://beta.docs.nodejs.org/vm.html#class-vmscript |
| Function | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Function |
| vm.SourceTextModule | https://beta.docs.nodejs.org/vm.html#class-vmsourcetextmodule |
| Object | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object |
| Object | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object |
| optionsExpression | https://tc39.es/proposal-import-attributes/#sec-evaluate-import-call |
| string | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type |
| Module Namespace Object | https://tc39.github.io/ecma262/#sec-module-namespace-exotic-objects |
| vm.Module | https://beta.docs.nodejs.org/vm.html#class-vmmodule |
| Nextvm.Script | https://beta.docs.nodejs.org/vm/Script.html |
| JSON | https://beta.docs.nodejs.org/vm.json |
| MD | https://beta.docs.nodejs.org/vm.md |
| Edit this page | https://github.com/nodejs/node/edit/HEAD/doc/api/vm.md |
| vm.Script | https://beta.docs.nodejs.org/vm.html#class-vmscript |
| new vm.Script | https://beta.docs.nodejs.org/vm.html#new-vmscriptcode-options |
| script.cachedDataRejected | https://beta.docs.nodejs.org/vm.html#scriptcacheddatarejected |
| script.createCachedData | https://beta.docs.nodejs.org/vm.html#scriptcreatecacheddata |
| script.runInContext | https://beta.docs.nodejs.org/vm.html#scriptrunincontextcontextifiedobject-options |
| script.runInNewContext | https://beta.docs.nodejs.org/vm.html#scriptruninnewcontextcontextobject-options |
| script.runInThisContext | https://beta.docs.nodejs.org/vm.html#scriptruninthiscontextoptions |
| script.sourceMapURL | https://beta.docs.nodejs.org/vm.html#scriptsourcemapurl |
| vm.ModuleE | https://beta.docs.nodejs.org/vm.html#class-vmmodule |
| module.error | https://beta.docs.nodejs.org/vm.html#moduleerror |
| module.evaluate | https://beta.docs.nodejs.org/vm.html#moduleevaluateoptions |
| module.identifier | https://beta.docs.nodejs.org/vm.html#moduleidentifier |
| module.link | https://beta.docs.nodejs.org/vm.html#modulelinklinker |
| module.namespace | https://beta.docs.nodejs.org/vm.html#modulenamespace |
| module.status | https://beta.docs.nodejs.org/vm.html#modulestatus |
| vm.SourceTextModuleE | https://beta.docs.nodejs.org/vm.html#class-vmsourcetextmodule |
| new vm.SourceTextModule | https://beta.docs.nodejs.org/vm.html#new-vmsourcetextmodulecode-options |
| sourceTextModule.createCachedData | https://beta.docs.nodejs.org/vm.html#sourcetextmodulecreatecacheddata |
| sourceTextModule.dependencySpecifiersD | https://beta.docs.nodejs.org/vm.html#sourcetextmoduledependencyspecifiers |
| sourceTextModule.hasAsyncGraph | https://beta.docs.nodejs.org/vm.html#sourcetextmodulehasasyncgraph |
| sourceTextModule.hasTopLevelAwait | https://beta.docs.nodejs.org/vm.html#sourcetextmodulehastoplevelawait |
| sourceTextModule.instantiate | https://beta.docs.nodejs.org/vm.html#sourcetextmoduleinstantiate |
| sourceTextModule.linkRequests | https://beta.docs.nodejs.org/vm.html#sourcetextmodulelinkrequestsmodules |
| sourceTextModule.moduleRequests | https://beta.docs.nodejs.org/vm.html#sourcetextmodulemodulerequests |
| vm.SyntheticModuleE | https://beta.docs.nodejs.org/vm.html#class-vmsyntheticmodule |
| new vm.SyntheticModule | https://beta.docs.nodejs.org/vm.html#new-vmsyntheticmoduleexportnames-evaluatecallback-options |
| syntheticModule.setExport | https://beta.docs.nodejs.org/vm.html#syntheticmodulesetexportname-value |
| ModuleRequest | https://beta.docs.nodejs.org/vm.html#type-modulerequest |
| vm.compileFunction | https://beta.docs.nodejs.org/vm.html#vmcompilefunctioncode-params-options |
| vm.constants | https://beta.docs.nodejs.org/vm.html#vmconstants |
| vm.constants.USE_MAIN_CONTEXT_DEFAULT_LOADERE | https://beta.docs.nodejs.org/vm.html#vmconstantsuse_main_context_default_loader |
| vm.createContext | https://beta.docs.nodejs.org/vm.html#vmcreatecontextcontextobject-options |
| vm.isContext | https://beta.docs.nodejs.org/vm.html#vmiscontextobject |
| vm.measureMemoryE | https://beta.docs.nodejs.org/vm.html#vmmeasurememoryoptions |
| vm.runInContext | https://beta.docs.nodejs.org/vm.html#vmrunincontextcode-contextifiedobject-options |
| vm.runInNewContext | https://beta.docs.nodejs.org/vm.html#vmruninnewcontextcode-contextobject-options |
| vm.runInThisContext | https://beta.docs.nodejs.org/vm.html#vmruninthiscontextcode-options |
| Running an HTTP server within a VM | https://beta.docs.nodejs.org/vm.html#example-running-an-http-server-within-a-vm |
| What does it mean to "contextify" an object? | https://beta.docs.nodejs.org/vm.html#what-does-it-mean-to-contextify-an-object |
| vm.constants.DONT_CONTEXTIFY | https://beta.docs.nodejs.org/vm.html#vmconstantsdont_contextify |
| Timeout interactions with asynchronous tasks and Promises | https://beta.docs.nodejs.org/vm.html#timeout-interactions-with-asynchronous-tasks-and-promises |
| When microtaskMode is 'afterEvaluate', beware sharing Promises between Contexts | https://beta.docs.nodejs.org/vm.html#when-microtaskmode-is-afterevaluate-beware-sharing-promises-between-contexts |
| Support of dynamic import() in compilation APIs | https://beta.docs.nodejs.org/vm.html#support-of-dynamic-import-in-compilation-apis |
| When the importModuleDynamically option is not specified or undefined | https://beta.docs.nodejs.org/vm.html#when-the-importmoduledynamically-option-is-not-specified-or-undefined |
| When importModuleDynamically is vm.constants.USE_MAIN_CONTEXT_DEFAULT_LOADER | https://beta.docs.nodejs.org/vm.html#when-importmoduledynamically-is-vmconstantsuse_main_context_default_loader |
| When importModuleDynamically is a function | https://beta.docs.nodejs.org/vm.html#when-importmoduledynamically-is-a-function |