Skip to content

Latest commit

 

History

History
42 lines (27 loc) · 606 Bytes

readme.markdown

File metadata and controls

42 lines (27 loc) · 606 Bytes

provinces

state and province lists for countries

completeness

This module currently has states and provinces for:

  • united states
  • united kingdom
  • canada
  • mexico
  • australia
  • china

methods

var provinces = require('provinces')

Requiring the module gives you an array of object rows.

data format

Each row consists of:

  • row.name - full name of the province or state
  • row.short - optional 2 or 3 character short name
  • row.alt - optional array of additional names and abbreviations

install

With npm do:

npm install provinces

license

MIT