Skip to content

twlite/open-eval

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Eval untrusted and possibly malicious code.

Resources

License

Stars

Watchers

Forks

Packages

No packages published