Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

country-region-data

Package Overview
Dependencies
Maintainers
1
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

country-region-data

List of countries, regions, and their shortcodes.

  • 1.2.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
18K
decreased by-55.67%
Maintainers
1
Weekly downloads
 
Created
Source

country-region-data

About

This repo contain the source data for the country-region-selector script. As I plan on creating multiple versions of this script (React, Polymer, X-Tags, etc), I've moved the source data here so that each of the repos can pull from the single source.

See the data.json file for the data. It's of the form:

[
  {
    "countryName":"Ecuador",
    "countryShortCode":"EC",
    "regions":[
      {
        "name":"Azuay",
        "shortCode":"A"
      },
      ...
    }
  },
  ... 
]

Contribute

The state/prov abbreviations are not yet complete, so pull requests welcome! For more information, see: https://github.com/benkeen/country-region-selector/issues/2#issuecomment-98549680

Regions that need ISO3166-2 codes can be identified by having a missing shortCode property for each region.

License

MIT.

Keywords

FAQs

Package last updated on 15 May 2016

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

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc