@ordergroove/i18n-data

0.4.5 • Public • Published

Ordergroove Internationalization Data

This package contains information about select countries to be used in address forms and displays. The information includes (but is not limited to) the different countries':

  • Name
  • Regions (if any)
  • Required fields for a valid address
  • Address format

Usage

This is a single JSON file so accessing the country information is as simple as

>   const i18n = require('i18n-data');
>   i18n.US.name
<-  'UNITED STATES'

Locale Data

Contains a list of locales we support based on list of countries supported. Fields

  • name
  • language
  • location
  • tag

Usage

>   const locales = require('i18n-data/i18n_locale_data');
>   locales.all[0]
<-  {"name":"Afar","language":"Afar","location":"Djibouti","tag":"aa-DJ"}

Package Sidebar

Install

npm i @ordergroove/i18n-data

Weekly Downloads

547

Version

0.4.5

License

none

Unpacked Size

158 kB

Total Files

8

Last publish

Collaborators

  • spossonog
  • ericbreno
  • gugaog
  • brandonrichog
  • swieckowski
  • lisandroec
  • ogdevs
  • og-jenkins
  • bestnewkevin
  • evasilchenko
  • brian-lewis-5
  • eugenio63
  • nicolasmoise
  • rusoftware
  • federc88
  • agustinog
  • eloycolella
  • manuelog
  • lindyordergroove
  • stephenwidom
  • jchiocchio
  • npnkenacc
  • willycamargo