@skalwar/simple_number_formatter

Simple Number Formatter

Usage no npm install needed!

<script type="module">
  import skalwarSimpleNumberFormatter from 'https://cdn.skypack.dev/@skalwar/simple_number_formatter';
</script>

README

Build Status

Coverage Status

Number Formatter

A small library that adds commas to numbers

Installation

npm install @skalwar/simple_number_formatter

Usage

var numFormatter = require('@skalwar/simple_number_formatter');

var formattedNum = numFormatter(97666);

Output should be 97,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.