node-fpm

1.0.3 • Public • Published

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}`);

Package Sidebar

Install

npm i node-fpm

Weekly Downloads

3

Version

1.0.3

License

MIT

Unpacked Size

8.23 kB

Total Files

13

Last publish

Collaborators

  • zy445566