@chzip/generate
v1.0.0
Published
Generate dataset of swiss zip codes and localities
Downloads
3
Readme
@chzip/generate
Fast zip code and locality lookups for Switzerland with minimal footprint.
Demo
A demo page for browsers can be found here.
Project repository with detailed instructions here.
Usage
Requires node 10 or better.
const { generate } = require('@chzip/generate');
const main = async () => {
await generate('./dist/data');
};
main();
Lookup data is sourced from the SwissPost opendata repository (licenced under CC-BY 4.0).
License
All source code of chzip.js is free software subject to the GPL-3 or later. The zip code dataset is sourced from the SwissPost opendata repository licenced under CC-BY 4.0.