Number formatter NPM module - Example for publishing node modules
JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
node_modules
test
.travis.yml
LICENSE
README.md
index.js
npm-debug.log
package.json

README.md

Build Status

Coverage Status

Brown's Number Formatter

A small library that adds commas to numbers. I built this simple module just to start getting more accustomed to publishing node modules

Installation

npm install number-formatter-brown

Usage

var numFormatter = require('number-formatter-brown');

var formattedNum = numFormatter(12345678);

Output should be 12,345,678

Tests

npm test

Contributing

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