Package Exports
- short-number
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 (short-number) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
short-number

Turn a long number into a short one to improve readability.
Installation
$ npm install --save short-numberOr with bower:
$ bower install short-numberUsage
var shortNumber = require('short-number');
shortNumber(5432);
//=> 5.4K
shortNumber(1236903);
//=> 1.2MSupports numbers up to 1e18.
License
MIT © Jonathan Svärdén