New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@ordergroove/i18n-data

Package Overview
Dependencies
Maintainers
0
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ordergroove/i18n-data

Contains information about select countries to use in different applications.

0.4.12
latest
Source
npm
Version published
Weekly downloads
45
-91.12%
Maintainers
0
Weekly downloads
 
Created
Source

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"}

Keywords

i18n

FAQs

Package last updated on 19 Feb 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts