Eval untrusted and possibly malicious code.
npm install open-eval
const Eval = require("open-eval");
const ev = new Eval();
ev.eval("python3", "print('hello world')")
.then(data => console.log(data.output));
This package uses Piston to eval your code.