country-province-data

An array of countries with the information you need for an address form.

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
country-province-data
101.0.04 years ago4 years agoMinified + gzip package size for country-province-data in KB

Readme

Country and Province Data
Method
var countryProvinceData = require("country-province-data")

Requiring the module gives you an array of countries with the information you need for an address form.
Data Format
Each country object contains:
  • name
  • code
  • label
  • ziplabel
  • ziprequired
  • provincelabel
  • provinces
  • provincelabels
  • provincecodes
  • provincealternatenames
install
With npm do:
npm install country-province-data
License
MIT