2.0.0 • Published 8 months ago

clickerheroes-format v2.0.0

Weekly downloads
3
License
MIT
Repository
github
Last release
8 months ago

clickerheroes-format

Format large numbers just as ClickerHeroes does.

Example

const format = require('clickerheroes-format');

format(1e5);
// => '100K'

Installation

$ npm install clickerheroes-format

API

const format = require('clickerheroes-format');

format(n)

Format Number n as a String abbreviated with the same units that ClickerHeroes uses.

2.0.0

8 months ago

1.0.7

9 years ago

1.0.6

9 years ago

1.0.5

9 years ago

1.0.4

9 years ago

1.0.3

10 years ago

1.0.2

10 years ago

1.0.1

10 years ago

1.0.0

10 years ago