1.0.0 • Published 4 years ago

open-eval v1.0.0

Weekly downloads
5
License
MIT
Repository
github
Last release
4 years ago

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.

Join my discord

https://discord.gg/2SUybzb