Skip to content

zy445566/node-fpm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Refresh is the latest

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages