0.1.1 • Published 7 years ago

typographic-numbers-l10n-db v0.1.1

Weekly downloads
84
License
MIT
Repository
github
Last release
7 years ago

typographic-numbers-l10n-db

Raw data about typographic numbers

Use typographic numbers depending on your locale for proper thousand separator and decimal point.

Install

npm install --save typographic-numbers-l10n-db

Usage

Pass ISO 639 code to specify locale and numbersDB will return 2 symbols. First is a thousand separator and second is a decimal point.

import numbersDB from 'typographic-numbers-l10n-db';

numbersDB['en-us']; // ,.
numbersDB['pt-br']; // .,

License

MIT