Search
Preparing search index...
The search index is not available
DefinitelyTyped
Inherited
Private
Externals
Only exported
vm
Dynamic module vm
Index
Interfaces
Context
Script
Functions
createContext
createScript
runInContext
runInNewContext
runInThisContext
Functions
createContext
(
initSandbox
?:
Context
)
:
Context
Parameters
initSandbox?:
Context
optional
Returns
Context
createScript
(
code
:
string
, filename
?:
string
)
:
Script
Parameters
code:
string
filename?:
string
optional
Returns
Script
runInContext
(
code
:
string
, context
:
Context
, filename
?:
string
)
Parameters
code:
string
context:
Context
filename?:
string
optional
runInNewContext
(
code
:
string
, sandbox
?:
Context
, filename
?:
string
)
Parameters
code:
string
sandbox?:
Context
optional
filename?:
string
optional
runInThisContext
(
code
:
string
, filename
?:
string
)
Parameters
code:
string
filename?:
string
optional
Globals
NodeJS
assert
buffer
child_process
cluster
crypto
dgram
dns
domain
events
fs
http
https
net
os
path
punycode
querystring
readline
repl
stream
string_decoder
tls
tspromise
tty
url
util
vm
zlib
Context
Script
createContext
createScript
runInContext
runInNewContext
runInThisContext