Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/twlite/open-eval
- Owner: twlite
- License: mit
- Created: 2020-09-26T06:54:07.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2020-09-26T07:10:08.000Z (about 4 years ago)
- Last Synced: 2024-04-23T23:55:41.744Z (7 months ago)
- Language: JavaScript
- Size: 8.79 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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)**