Run programs using jdoodle compiler
# using npm
npm install jdoodlecoderunner
# using yarn
yarn add jdoodlecoderunner
# using require
const codeRunner = require('jdoodlecoderunner');
# using import
import codeRunner from 'jdoodlecoderunner';
codeRunner.runCode(
fileUrl,
python3,
3,
41,
clientId,
clientSecret
).then((output) => console.log(output));
const output = await codeRunner.runCode(
fileUrl,
python3,
3,
41,
clientId,
clientSecret
)
console.log(output)