nnf

0.1.0 • Public • Published

nnf Build Status

Node Networked Functions

Getting Started

Install the module with: npm install nnf

var nnf = require('nnf');
 
var server = nnf.createServer({
  type: 'text/json'
});
server.listen(8080);
 
var router = new nnf.Router({
  path: '/test',
  type: 'text/json'
}).setHandler({
 
  GET: {
    test: function(data, cb){
 
      cb({ 'test':'value' });
    }
  }
});
server.addRouter(router);
 

Documentation

(Coming soon)

Examples

(Coming soon)

Contributing

In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using Grunt.

Release History

(Nothing yet)

License

Copyright (c) 2013 Divan Visagie
Licensed under the MIT license.

/nnf/

    Package Sidebar

    Install

    npm i nnf

    Weekly Downloads

    1

    Version

    0.1.0

    License

    none

    Last publish

    Collaborators

    • divanvisagie