
Security News
npm Adopts OIDC for Trusted Publishing in CI/CD Workflows
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.
PMT is a process manager for node.js.
$ npm install pmt -g
See test/test.js and test/index.js to use pmt.
var pmt = require('pmt');
pmt.start({
'name' : 'myTitan', // your app name
'entrance' : 'index.js', // your app entrance js
'worker_count' : 0, // worker count, 0 for cpu count, default : 0
'args' : '--harmony', // your app args
'max_momery' : '128', // worker max momery restart / MB, 0 for not based on max memory to restart,default : 0
'auto_restart' : false // auto restart if worker stopped or errored, default : false
},function (){
pmt.disconnect();
});
var net = require('net');
var server = net.createServer(function(c) {
c.write('hello world');
c.end();
});
server.listen(8080);
$ node test.js
$ npm install pmt --save # for require
$ npm install pmt -g # for easy CLI
$ pmt start [appName]/all # start [appName]/all when stop
$ pmt stop [appName]/all # stop [appName]/all
$ pmt kill # kill pmt daemon
$ pmt reboot # reboot pmt daemon
$ pmt restart [appName]/all # restart [appName]/all
$ pmt grestart [appName]/all # restart [appName]/all gracefully
$ pmt list # list all workers status
$ pmt monit # monit all workers status/cpu/monery
$ pmt logs # tail your app log
$ pmt daemonlogs # tail pmt daemon log
MIT
FAQs
a nodejs process manager package
The npm package pmt receives a total of 10 weekly downloads. As such, pmt popularity was classified as not popular.
We found that pmt demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.
Research
/Security News
A RubyGems malware campaign used 60 malicious packages posing as automation tools to steal credentials from social media and marketing tool users.
Security News
The CNA Scorecard ranks CVE issuers by data completeness, revealing major gaps in patch info and software identifiers across thousands of vulnerabilities.