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)
- Host: GitHub
- URL: https://github.com/longstone/js-zipcode
- Owner: longstone
- License: mit
- Created: 2017-03-21T15:08:22.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2024-04-12T04:22:38.000Z (almost 2 years ago)
- Last Synced: 2025-08-17T18:26:13.493Z (7 months ago)
- Topics: switzerland, zipcode
- Language: JavaScript
- Size: 665 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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);
```