Generate dataset of swiss zip codes and localities
npm install @chzip/generate@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.
``javascript
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.