@agarcian/number-formatter
v1.0.2
Published
Package following a tutorial on how to create npm packages. Ignore.
Downloads
4
Readme
Number Formatter
A small library that adds commas to numbers
Installation
npm install @agarcian/number-formatter
Usage
var numFormatter = require('@agarcian/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.