typographic-numbers-l10n-db
v0.1.1
Published
Raw data about typographic numbers
Downloads
222
Maintainers
Readme
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