An open API service indexing awesome lists of open source software.

https://github.com/longstone/js-zipcode

Postleitzahlsuche für die Schweiz / zipcode lookup for swiss area (offline)
https://github.com/longstone/js-zipcode

switzerland zipcode

Last synced: 17 days ago
JSON representation

Postleitzahlsuche für die Schweiz / zipcode lookup for swiss area (offline)

Awesome Lists containing this project

README

          

# js-zipcode
Postleitzahlsuche für die Schweiz / zipcode lookup for swiss area (offline)

## How to
```
const ZipLookup = require('js-zipcode');
const LookupService = new ZipLookup();
// the return value is always an array
const result = LookupService.lookup(8000)[0];
assert.equal(result.zip, 8000);
```