open-eval
v1.0.0
Published
Eval untrusted and possibly malicious code.
Downloads
6
Maintainers
Readme
OpenEval
Eval untrusted and possibly malicious code.
Installing
npm install open-eval
Example
const Eval = require("open-eval");
const ev = new Eval();
ev.eval("python3", "print('hello world')")
.then(data => console.log(data.output));
Note
This package uses Piston to eval your code.