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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.0
    220
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.0
    220

Package Sidebar

Install

npm i open-eval

Weekly Downloads

1

Version

1.0.0

License

MIT

Unpacked Size

3.06 kB

Total Files

4

Last publish

Collaborators

  • snowflake7