Home

Awesome

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);
});