portugal-provinces

Return province which matches with given postalCode

Usage no npm install needed!

<script type="module">
  import portugalProvinces from 'https://cdn.skypack.dev/portugal-provinces';
</script>

README

portugal-provinces

Function that returns a province that matches the given postal code.

Install

With npm do:

npm install portugal-provinces

How to use

var portugalProvinces = require('provinces')

portugalProvinces('4620-594')
  // => return Porto

Run test

npm install portugal-provinces

License

MIT