Socket
Socket
Sign inDemoInstall

@ordergroove/i18n-data

Package Overview
Dependencies
0
Maintainers
25
Versions
23
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @ordergroove/i18n-data

Contains information about select countries to use in different applications.


Version published
Weekly downloads
434
increased by43.71%
Maintainers
25
Install size
154 kB
Created
Weekly downloads
 

Readme

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

FAQs

Last updated on 15 Dec 2023

Did you know?

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc