1.0.0 • Published 3 years ago

@chzip/generate v1.0.0

Weekly downloads
-
License
GPL-3.0-or-later
Repository
-
Last release
3 years ago

@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.