Skip to content

Latest commit

 

History

History
29 lines (15 loc) · 814 Bytes

README.md

File metadata and controls

29 lines (15 loc) · 814 Bytes

Number Formatter

A small library that adds commas to numbers

Build Status Coverage Status

Installation

npm install @jdaudier/number-formatter

Usage

var numFormatter = require('@jdaudier/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.