Skip to content

ankitverma31/number-formatter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status Coverage Status Release CodeFactor npm version GitHub license

Number Formatter

A small library that adds commas to numbers

Installation

npm install @ankitverma/number-formatter

Usage

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