country-province-data

1.0.0 • Public • Published

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
  • zip_label
  • zip_required
  • province_label
  • provinces
  • province_labels
  • province_codes
  • province_alternate_names

install

With npm do:

npm install country-province-data

License

MIT

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.0
    11
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.0
    11

Package Sidebar

Install

npm i country-province-data

Weekly Downloads

11

Version

1.0.0

License

MIT

Unpacked Size

197 kB

Total Files

4

Last publish

Collaborators

  • johnbendfeldt