0.0.1 • Published 9 years ago

howto-node-module v0.0.1

Weekly downloads
4
License
MIT
Repository
github
Last release
9 years ago

howto-node-module

Code used to explain how to write a simple nodejs module.

TODO

  1. Add tests
  2. git tag

Install

Use npm to add this module to your project

npm install howto-node-module

Use it

var howtonode = require("howto-node-module");

console.log(howtonode.hello("John"));

Or you can:

var hola = require("howto-node-module").hola;

console.log(hola("John"));

License

MIT