1.0.6 • Published 6 years ago

monetochka v1.0.6

Weekly downloads
-
License
MIT
Repository
-
Last release
6 years ago

Monetochka

Simple, fast and zero-dependency currency formatting library.

Usage

npm install monetochka --save
import { format } from 'monetochka';

format(10, 'USD'); // $10.00
format(20000, 'RUB'); // 20 000,00 ₽
format(350590, 'EUR', { siRounding: true, siPrecision: 1 }); // 350,6K € 
format(18.729361, 'GBP', { maximumFractionDigits: 0 }); // £19

License

MIT

1.0.6

6 years ago

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago

0.1.7

7 years ago

0.1.6

7 years ago

0.1.5

7 years ago

0.1.4

7 years ago

0.1.3

7 years ago

0.1.2

7 years ago

0.1.1

7 years ago

0.1.0

7 years ago