1.0.0 • Published 6 years ago

goodnum v1.0.0

Weekly downloads
1
License
ISC
Repository
github
Last release
6 years ago

GoodNum

A small library that adds commas to numbers.

Installation

'npm install @hpaiz/goodnum'

Usage

var formatNum = require('@hpaiz/goodnum'); var formattedNum = formatNum(35689);

Output should be 35,689

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.