UNPKG
eval5
Version:
latest (1.4.8)
1.4.8
1.4.7
1.4.6
1.4.5
1.4.4
1.4.3
1.4.2
1.4.1
1.4.0
1.3.1
1.3.0
1.2.0
1.1.5
1.1.4
1.1.3
1.1.2
1.1.1
1.1.0
1.0.9
1.0.8
1.0.7
1.0.6
1.0.5
1.0.4
1.0.3
1.0.1
1.0.0
A JavaScript interpreter written in JavaScript
github.com/bplok20010/eval5
bplok20010/eval5
eval5
/
dist
/
cjs
/
evaluate.js
7 lines
(6 loc)
•
215 B
JavaScript
View Raw
1
2
3
4
5
6
7
"use strict"
;
Object
.
defineProperty
(
exports
,
"__esModule"
, {
value
:
true
});
var
vm_1 =
require
(
"./vm"
);
exports
.
default
= (
function
(
code, ctx, options
) {
return
(
0
, vm_1.
runInContext
)(code, ctx, options); });