typographic-numbers-l10n-db

0.1.1 • Public • Published

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

Package Sidebar

Install

npm i typographic-numbers-l10n-db

Weekly Downloads

63

Version

0.1.1

License

MIT

Last publish

Collaborators

  • andrepolischuk