Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/twlite/open-eval

Eval untrusted and possibly malicious code.
https://github.com/twlite/open-eval

Last synced: about 1 month ago
JSON representation

Eval untrusted and possibly malicious code.

Awesome Lists containing this project

README

        

# OpenEval
Eval untrusted and possibly malicious code.

# Installing

```sh
npm install open-eval
```

# Example

```js
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](https://github.com/engineer-man/piston)** to eval your code.

# Join my discord
**[https://discord.gg/2SUybzb](https://discord.gg/2SUybzb)**