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
grunt
grunt
grunt.config
grunt.event
grunt.fail
grunt.file
grunt.log
grunt.option
grunt.task
grunt.template
grunt.util
http
https
minimatch
net
node
os
path
punycode
querystring
readline
repl
stream
string_decoder
tls
tty
url
util
vm
zlib
Context
Script
createContext
createScript
runInContext
runInNewContext
runInThisContext