Create stateresolver.js

How to resolve an Australian postcode to state