UNPKG
@flowiseai/nodevm
Version:
latest (3.9.25)
3.9.25
nodevm is a sandbox that can run untrusted code with whitelisted Node's built-in modules
@flowiseai/nodevm
/
index.js
4 lines
(2 loc)
•
160 B
JavaScript
View Raw
1
2
3
4
if
(
parseInt
(process.
versions
.
node
.
split
(
'.'
)[
0
]) <
6
)
throw
new
Error
(
'vm2 requires Node.js version 6 or newer.'
);
module
.
exports
=
require
(
'./lib/main'
);