npm.io
0.1.1 • Published 8 years ago

@langep/number-formatter

Licence
MIT
Version
0.1.1
Deps
0
Size
5 kB
Vulns
0
Weekly
0

Notice

This is an exercise to get into building node packages. I have followed jdaudier's blog on "How to Create and Publish Your First Node.js Module".

Build Status Coverage Status

Number Formatter

A small library that adds commas to numbers.

Installation

npm install @langep/number-formatter

Usage

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