node-fpm
v1.0.3
Published
Refresh is the latest
Downloads
24
Maintainers
Readme
node-fpm
Refresh is the latest
install
npm install node-fpm
base example
url:demo_url
const path = require("path");
const Fpm = require("node-fpm");
const config = {
http:{
host:'0.0.0.0',
port:'9090',
},
vm: {
filename:path.join(__dirname,'trace.log'),
timeout:3000
},
};
new Fpm(config).run(path.join(__dirname,'code'));
console.log(`run in http://127.0.0.1:${config.http.port}`);