3.6.1 • Published 5 years ago

lib-regions v3.6.1

Weekly downloads
3
License
UNLICENSED
Repository
github
Last release
5 years ago

lib-regions

Region information for Luxury Escapes

Running tests

yarn test

Marketing Regions From Postcodes

used for mapping postcodes to the email marketing regions that we use within AU and NZ, AU is the default country

const postcodes = require('lib-regions/postcodes');
postcodes.marketingRegionFromPostcode('3000')  # returns marketing region in AU
postcodes.marketingRegionFromPostcode('5542', 'NZ')  # specify country code for NZ

Release

Use npm to patch, minor or whatever version:

npm version patch -m "release version %s"
git push && git push --tags

https://docs.npmjs.com/cli/version

3.6.1

5 years ago

3.8.0

5 years ago

3.7.29

5 years ago