/States.js

a simple JavaScript object containing US&CA states with full names and code.

Primary LanguageJavaScript

States.js

A simple JSON file containing US&CA states with full names and codes.

It can be consumed as a JSON file, a JavaScript file (assigned to a global variable), or as a JSON file via an AMD script.

TODO:

  • Add U.S. territories as a separate key (can be concated when needed)
  • Add additional countries (contributions appreciated)
  • Create additional examples
  • Clean up example page with proper styles
  • Create a github page to display the project
  • Tests for grunt jsontojs release task
  • Package.json file