Skip to content

williambelle/switzerland-postal-codes

Repository files navigation

switzerland-postal-codes

Build Status Coverage Status NPM version

Switzerland postal codes Javascript module.

Install

npm i switzerland-postal-codes

or

bower install switzerland-postal-codes

Usage

const postalCodes = require('switzerland-postal-codes');

console.log(postalCodes['1260']); //=> 'Nyon'

or use dist/postal-codes.json or dist/postal-codes-full.json in your HTML.

Demo

See the demo.

Data

Contributing

Contributions are always welcome.

See Contributing.

Developer

License

The MIT License (MIT)