@ortizmj12/number-formatter
v0.1.6
Published
This repo/package was created by following steps at https://codeburst.io/how-to-create-and-publish-your-first-node-js-module-444e7585b738
Downloads
7
Readme
This repo/package was created by following steps at https://codeburst.io/how-to-create-and-publish-your-first-node-js-module-444e7585b738
Number Formatter
A small library that adds commas to numbers
Installation
npm i @ortizmj12/number-formatter
Usage
var numFormatter = require('@ortizmj12/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.