german-postcode-to-state
v0.1.0
Published
Calculates the German state matching a post code
Downloads
670
Readme
german-postcode-to-state
This module is computing the state to a given postcode.
Getting started
$ npm install PACKAGENAME
Usage
findState(postcode) // RETURNS -1 if the postcode is invalid or not found
Example
import findState from 'PACKAGENAME';
console.log(findState(52066)) // Output 'Nordrhein-Westfalen'