Skip to content

aperkaz/number-formatter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

number-formatter

Build Status Coverage Status
A small library that adds commas to numbers.
Test project for npm package publication.

Installation

npm install number-formatter-aperkaz

Usage

var numFormatter = require('number-formatter-aperkaz');
var formattedNum = numFormatter(12345);

Output should be 12,345.

Tests

npm test