funker
v0.0.4
Published
Functions as Docker containers
Downloads
4
Readme
Funker for Node.js
A Node.js implementation of Funker.
Installation
$ npm install --save funker
Usage
Defining functions:
var funker = require('funker');
funker.handle(function(args, callback) {
callback(args.x + args.y);
});
Calling functions:
var funker = require('funker');
funker.call("add", {x: 1, y: 2}, function(err, result) {
console.log(result);
});