JSPM

hookedupjoe-number-formatter

1.0.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 1
  • Score
    100M100P100Q22749F
  • License MIT

My First Demo Library

Package Exports

  • hookedupjoe-number-formatter

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (hookedupjoe-number-formatter) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Number Formatter

A small library that adds commas to numbers

Installation

npm install @hookedupjoe/number-formatter

Usage

var numFormatter = require('@hookedupjoe/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.