Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
State Lists In JSON
[
{ value: "CA-AB", label: "Alberta" },
{ value: "CA-BC", label: "British Columbia" },
{ value: "CA-MB", label: "Manitoba" },
{ value: "CA-NB", label: "New Brunswick" },
{ value: "CA-NL", label: "Newfoundland and Labrador" },
{ value: "CA-NS", label: "Nova Scotia" },
{ value: "CA-ON", label: "Ontario" },
{ value: "CA-PE", label: "Prince Edward Island" },
{ value: "CA-QC", label: "Quebec" },
{ value: "CA-SK", label: "Saskatchewan" },
{ value: "CA-NT", label: "Northwest Territories" },
{ value: "CA-NU", label: "Nunavut" },
{ value: "CA-YT", label: "Yukon" }
]
[
{ alpha-2: "MX-AGU", label: "Aguascalientes" },
{ alpha-2: "MX-BCN", label: "Baja California" },
{ alpha-2: "MX-BCS", label: "Baja California Sur" },
{ alpha-2: "MX-CAM", label: "Campeche" },
{ alpha-2: "MX-COA", label: "Coahuila" },
{ alpha-2: "MX-COL", label: "Colima" },
{ alpha-2: "MX-CHP", label: "Chiapas" },
{ alpha-2: "MX-CHH", label: "Chihuahua" },
{ alpha-2: "MX-DIF", label: "Distrito Federal" },
{ alpha-2: "MX-DUR", label: "Durango" },
{ alpha-2: "MX-GUA", label: "Guanajuato" },
{ alpha-2: "MX-GRO", label: "Guerrero" },
{ alpha-2: "MX-HID", label: "Hidalgo" },
{ alpha-2: "MX-JAL", label: "Jalisco" },
{ alpha-2: "MX-MEX", label: "México" },
{ alpha-2: "MX-MIC", label: "Michoacán" },
{ alpha-2: "MX-MOR", label: "Morelos" },
{ alpha-2: "MX-NAY", label: "Nayarit" },
{ alpha-2: "MX-NLE", label: "Nuevo León" },
{ alpha-2: "MX-OAX", label: "Oaxaca" },
{ alpha-2: "MX-PUE", label: "Puebla" },
{ alpha-2: "MX-QUE", label: "Querétaro" },
{ alpha-2: "MX-ROO", label: "Quintana Roo" },
{ alpha-2: "MX-SLP", label: "San Luis Potosí" },
{ alpha-2: "MX-SIN", label: "Sinaloa" },
{ alpha-2: "MX-SON", label: "Sonora" },
{ alpha-2: "MX-TAB", label: "Tabasco" },
{ alpha-2: "MX-TAM", label: "Tamaulipas" },
{ alpha-2: "MX-TLA", label: "Tlaxcala" },
{ alpha-2: "MX-VER", label: "Veracruz" },
{ alpha-2: "MX-YUC", label: "Yucatan" },
{ alpha-2: "MX-ZAC", label: "Zacatecas" }
]
[
{"name":"Alabama","alpha-2":"AL"},
{"name":"Alaska","alpha-2":"AK"},
{"name":"Arizona","alpha-2":"AZ"},
{"name":"Arkansas","alpha-2":"AR"},
{"name":"California","alpha-2":"CA"},
{"name":"Colorado","alpha-2":"CO"},
{"name":"Connecticut","alpha-2":"CT"},
{"name":"Delaware","alpha-2":"DE"},
{"name":"District of Columbia","alpha-2":"DC"},
{"name":"Florida","alpha-2":"FL"},
{"name":"Georgia","alpha-2":"GA"},
{"name":"Hawaii","alpha-2":"HI"},
{"name":"Idaho","alpha-2":"ID"},
{"name":"Illinois","alpha-2":"IL"},
{"name":"Indiana","alpha-2":"IN"},
{"name":"Iowa","alpha-2":"IA"},
{"name":"Kansas","alpha-2":"KS"},
{"name":"Kentucky","alpha-2":"KY"},
{"name":"Louisiana","alpha-2":"LA"},
{"name":"Maine","alpha-2":"ME"},
{"name":"Maryland","alpha-2":"MD"},
{"name":"Massachusetts","alpha-2":"MA"},
{"name":"Michigan","alpha-2":"MI"},
{"name":"Minnesota","alpha-2":"MN"},
{"name":"Mississippi","alpha-2":"MS"},
{"name":"Missouri","alpha-2":"MO"},
{"name":"Montana","alpha-2":"MT"},
{"name":"Nebraska","alpha-2":"NE"},
{"name":"Nevada","alpha-2":"NV"},
{"name":"New Hampshire","alpha-2":"NH"},
{"name":"New Jersey","alpha-2":"NJ"},
{"name":"New Mexico","alpha-2":"NM"},
{"name":"New York","alpha-2":"NY"},
{"name":"North Carolina","alpha-2":"NC"},
{"name":"North Dakota","alpha-2":"ND"},
{"name":"Ohio","alpha-2":"OH"},
{"name":"Oklahoma","alpha-2":"OK"},
{"name":"Oregon","alpha-2":"OR"},
{"name":"Pennsylvania","alpha-2":"PA"},
{"name":"Rhode Island","alpha-2":"RI"},
{"name":"South Carolina","alpha-2":"SC"},
{"name":"South Dakota","alpha-2":"SD"},
{"name":"Tennessee","alpha-2":"TN"},
{"name":"Texas","alpha-2":"TX"},
{"name":"Utah","alpha-2":"UT"},
{"name":"Vermont","alpha-2":"VT"},
{"name":"Virginia","alpha-2":"VA"},
{"name":"Washington","alpha-2":"WA"},
{"name":"West Virginia","alpha-2":"WV"},
{"name":"Wisconsin","alpha-2":"WI"},
{"name":"Wyoming","alpha-2":"WY"}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.