number-formatter-demo
v1.0.0
Published
Learning how to make an npm package
Downloads
3
Readme
Number Formatter Demo
A small library that adds commas to numbers
Installation
npm install @jrutter/number-formatter
Usage
var numFormatter = require('@jrutter/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.