0.0.2 • Published 10 years ago
@mhylle/schema2-security v0.0.2
Number Formatter
A small library that adds commas to numbers
Installation
npm install @mhylle/number-formatter
Usage
var numFormatter = require('@mhylle/number-formatter');
var formattedNum = numFormatter(35666);
Output should be 35,666
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.
Currently this is copy of https://medium.com/@jdaudier/how-to-create-and-publish-your-first-node-js-module-444e7585b738#.hznn5b66n
a tutorial on how to make node modules...
Will change into the security module, but you gotta be able to crawl before you can walk :)