0.5.12 • Published 3 years ago

formatter-plus-plus v0.5.12

Weekly downloads
15
License
ISC
Repository
github
Last release
3 years ago

formatter-plus-plus

A Javascript library to format numbers as HTML.

Installation

npm install formatter-plus-plus

Usage

var formatterPlusPlus = require("formatter-plus-plus")
let fpp = new formatterPlusPlus();
fpp.humanize(1244904) // output will be "1.24M"
fpp.humanize(1244904) // output will be ""1.34 x10<sup>12</sup>""

Output should be "1.24M"

humanise should work with any number.

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. Submit PRs.

0.5.11

3 years ago

0.5.12

3 years ago

0.5.10

7 years ago

0.5.9

7 years ago

0.5.8

7 years ago

0.5.6

7 years ago

0.5.5

7 years ago

0.5.4

7 years ago

0.5.3

7 years ago

0.5.2

7 years ago

0.5.1

7 years ago

0.5.0

7 years ago