UNPKG

pm25

Version:

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

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