An open API service indexing awesome lists of open source software.

https://github.com/cyio/number-formatter

to learn how to create and publish node-js-module
https://github.com/cyio/number-formatter

Last synced: 11 months ago
JSON representation

to learn how to create and publish node-js-module

Awesome Lists containing this project

README

          

# number-formatter
=========
[![Build Status](https://travis-ci.org/cyio/number-formatter.svg?branch=master)](https://travis-ci.org/cyio/number-formatter)
[![Coverage Status](https://coveralls.io/repos/github/cyio/number-formatter/badge.svg?branch=master)](https://coveralls.io/github/cyio/number-formatter?branch=master)

A small library that adds commas to numbers

## Installation

`npm install @cyio/number-formatter`

## Usage

var numFormatter = require('@cyio/number-formatter')
var formattedNum = numFormatter(233)

Output should be `35,666`

## Tests
`npm test`

## Contributing

to learn how to create and publish node-js-module