3.6.1 • Published 6 years ago
lib-regions v3.6.1
lib-regions
Region information for Luxury Escapes
Running tests
yarn testMarketing 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 NZRelease
Use npm to patch, minor or whatever version:
npm version patch -m "release version %s"
git push && git push --tags