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
- Host: GitHub
- URL: https://github.com/cyio/number-formatter
- Owner: cyio
- License: mit
- Created: 2016-06-02T13:15:34.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-06-03T01:01:59.000Z (over 9 years ago)
- Last Synced: 2025-01-22T09:44:51.665Z (12 months ago)
- Language: JavaScript
- Size: 4.88 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# number-formatter
=========
[](https://travis-ci.org/cyio/number-formatter)
[](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