{"id":19788896,"url":"https://github.com/williambelle/switzerland-postal-codes","last_synced_at":"2025-08-01T16:35:24.354Z","repository":{"id":58225807,"uuid":"44917826","full_name":"williambelle/switzerland-postal-codes","owner":"williambelle","description":"Switzerland postal codes Javascript module.","archived":false,"fork":false,"pushed_at":"2022-04-07T16:52:11.000Z","size":265,"stargazers_count":12,"open_issues_count":0,"forks_count":7,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-11-09T08:15:20.349Z","etag":null,"topics":["npm-package","postal-codes","switzerland","zip-codes"],"latest_commit_sha":null,"homepage":"https://williambelle.github.io/switzerland-postal-codes/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/williambelle.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-10-25T16:14:50.000Z","updated_at":"2024-10-27T22:52:29.000Z","dependencies_parsed_at":"2022-08-31T03:24:36.424Z","dependency_job_id":null,"html_url":"https://github.com/williambelle/switzerland-postal-codes","commit_stats":null,"previous_names":[],"tags_count":17,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/williambelle%2Fswitzerland-postal-codes","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/williambelle%2Fswitzerland-postal-codes/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/williambelle%2Fswitzerland-postal-codes/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/williambelle%2Fswitzerland-postal-codes/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/williambelle","download_url":"https://codeload.github.com/williambelle/switzerland-postal-codes/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224230135,"owners_count":17277287,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["npm-package","postal-codes","switzerland","zip-codes"],"created_at":"2024-11-12T06:29:15.255Z","updated_at":"2024-11-12T06:29:15.898Z","avatar_url":"https://github.com/williambelle.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"switzerland-postal-codes\n========================\n\n[![Build Status][github-actions-image]][github-actions-url]\n[![Coverage Status][coverage-image]][coverage-url]\n[![NPM version][npm-image]][npm-url]\n\nSwitzerland postal codes Javascript module.\n\nInstall\n-------\n\n```bash\nnpm i switzerland-postal-codes\n```\n\nor\n\n```bash\nbower install switzerland-postal-codes\n```\n\nUsage\n-----\n\n```js\nconst postalCodes = require('switzerland-postal-codes');\n\nconsole.log(postalCodes['1260']); //=\u003e 'Nyon'\n```\n\nor use `dist/postal-codes.json` or `dist/postal-codes-full.json` in your HTML.\n\nDemo\n----\n\nSee the [demo](https://williambelle.github.io/switzerland-postal-codes/).\n\nData\n----\n\n* Postal codes based on the [official postal codes database][1] from Swiss Post\n* Geolocation based on the [Geonames database][2] licensed under a [Creative\n  Commons Attribution 3.0 License][3].\n\nContributing\n------------\n\nContributions are always welcome.\n\nSee [Contributing](CONTRIBUTING.md).\n\nDeveloper\n---------\n\n* [William Belle](https://github.com/williambelle)\n\nLicense\n-------\n\nThe MIT License (MIT)\n\n[1]: https://www.post.ch/en/business/a-z-of-subjects/maintaining-customer-addresses/address-master-data\n[2]: http://www.geonames.org/\n[3]: http://creativecommons.org/licenses/by/3.0/\n[npm-image]: https://img.shields.io/npm/v/switzerland-postal-codes.svg\n[npm-url]: https://www.npmjs.com/package/switzerland-postal-codes\n[github-actions-image]: https://github.com/williambelle/switzerland-postal-codes/workflows/Build/badge.svg\n[github-actions-url]: https://github.com/williambelle/switzerland-postal-codes/actions\n[coverage-image]: https://coveralls.io/repos/github/williambelle/switzerland-postal-codes/badge.svg\n[coverage-url]: https://coveralls.io/github/williambelle/switzerland-postal-codes\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwilliambelle%2Fswitzerland-postal-codes","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwilliambelle%2Fswitzerland-postal-codes","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwilliambelle%2Fswitzerland-postal-codes/lists"}