open-eval

1.0.0 • Public • Published

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

Package Sidebar

Install

npm i open-eval

Weekly Downloads

0

Version

1.0.0

License

MIT

Unpacked Size

3.06 kB

Total Files

4

Last publish

Collaborators

  • snowflake7