0.5.12 • Published 2 years ago

formatter-plus-plus v0.5.12

Weekly downloads
15
License
ISC
Repository
github
Last release
2 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

2 years ago

0.5.12

2 years ago

0.5.10

6 years ago

0.5.9

6 years ago

0.5.8

6 years ago

0.5.6

6 years ago

0.5.5

6 years ago

0.5.4

6 years ago

0.5.3

6 years ago

0.5.2

6 years ago

0.5.1

6 years ago

0.5.0

6 years ago