A small library that adds commas to numbers
npm install @jieuryli/number-formatter
var numFormatter = require('@jieuryli/number-formatter');
var formattedNum = numFormatter(35667);
Output should be 35,667
npm tests
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.