Skip to content

jvega300/number-formatter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Number Formatter (npm package)

A small library that adds commas to numbers. https://www.npmjs.com/package/@jvega300/number-formatter

Installation

npm install @jvega300/number-formatter

Usage

import numFormmater  from '@jvega300/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. It´s based on tutorial from https://codeburst.io/how-to-create-and-publish-your-first-node-js-module-444e7585b738

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published