RunKit + npm: greguire

node v10.24.1
version: master
endpointsharetweet
var _greguire = require("greguire"); var greg = path => {return eval(_greguire(path)) } var fs = require("fs"); var variable = "this is the variable's value"; fs.writeFileSync("script.js",`module.exports = () => {console.log("value: "+variable)}`); greg(__dirname+"/script.js")();
Created from: https://npm.runkit.com/greguire
Loading…

no comments

    sign in to comment