Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
pm2 / usr / local / lib / pm2 / node_modules / pm2-axon-rpc / example.js
Size: Mime:

exports.add = function(a, b, fn){
  fn(null, a + b);
};

exports.sub = function(a, b, fn){
  fn(null, a - b);
};

exports.uppercase = function(str, fn){
  fn(null, str.toUpperCase());
};

exports.lowercase = function(str, fn){
  fn(null, str.toLowerCase());
};