localflavor-us-states-js

Port of django-localflavor US States Abbreviations

Usage no npm install needed!

<script type="module">
  import localflavorUsStatesJs from 'https://cdn.skypack.dev/localflavor-us-states-js';
</script>

README

localflavor-us-states-js

A port of django-localflavor.us_states to JS/JSON

NPM

Taking the US_STATES tuples of django-localflavor and making them into JS Objects for easy importing into other projects (namely, ones with Django as their back end).

Documentation of the tuples/lists can be found at: http://django-localflavor.readthedocs.io/en/latest/localflavor/us/#data

The Python equivalent of this file can be found at: https://github.com/django/django-localflavor/blob/master/localflavor/us/us_states.py