0.1.1 • Published 7 years ago
mxg312-number-formatter v0.1.1
Number Formatter
A small library that adds commas to nubmers
Created following a tutorial for creating an npm package
Installation
npm i mxg312-number-formatter
Usage
const numFormatter = require('@mxg312/number-formatter');
const formattedNum = numFormatter(55555);
// Output should be '55,555'
Tests
npm test