UNPKG

pm25

Version:

Production process manager for Node.JS applications with a built-in load balancer.

14 lines (9 loc) 222 B
var pmx = require('pmx'); pmx.action('ping', function(reply) { return reply({ 'pong' : 'hehe' }) }); pmx.action('param', function(data, reply) { return reply({ data : data }) }); setInterval(function() { }, 1000);