npm.io
0.1.12 • Published 3 years ago

@towett/number-formatter

Licence
MIT
Version
0.1.12
Deps
7
Size
5 kB
Vulns
1
Weekly
0
Stars
1

Build Status Coverage Status

Number Formatter

=========

A small library that adds commas to numbers

Installation

npm install @towett/number-formatter

Usage

var numFormatter = require('@towett/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. Link and test your code. Much thanks goes to @jdaudier

Keywords