Skip to content

marcoSven/stateAbbreviation.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

stateAbbreviation.js

Convert state abbreviation to name and vice versa.

Use

var stateList = new stateAbbreviation();

// get the list
stateList.list;

// optionally get the list upper or lower case
stateList.caseTransform( 'upper' );

// Convert - pass a state name or abbreviation 
// and optionally the desired type of capitalization
stateList.stateConvert( 'CA', 'lower' );

About

Convert state abbreviation to name and vice versa.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published