Refresh postnummerregister from Bring The bundled register hasn't been updated since 2022-10-18. Pulled the current official CSV from on 2026-05-26 and ran . Changes since last refresh Total codes: 5122 (was 5139, net −17). Other changes : bumped to . : updated "Last updated" date, fixed the bring.no link (it 301s to a new path), and added a short License section noting MIT for the code and NLOD for the bundled data. is untouched — the existing script ran cleanly against the current Bring source. License Data sourced from Bring's official postnummerregister under the Norwegian Licence for Open Government Data (NLOD), which permits redistribution with attribution.
Let's get some types up in here :) This PR adds a simple file which declares the type of the postal code object to be I considered setting up a literal type for the entire postal code object, so that you have an object that is indexed by a set of literals, not just , but I'm not sure how much value it really adds. Some devs may prefer not having to work with literals here, since in order to get a string out of the object you have to assert your string keys as index literals before indexing the postal code object: On the other hand, such a type would certainly be preferable to if your postal code is actually typed as a literal, not simply a string, for example if you have set up some kind of validation/sanitation pipeline. I think making such a type would work if we add this to : What are your thoughts on typing this module?
Repository: sindresorhus/norway-postal-codes. Description: Norway postal code registry in various formats Stars: 43, Forks: 10. Primary language: HTML. License: MIT. Homepage: https://sindresorhus.com/norway-postal-codes Open PRs: 0, open issues: 0. Last activity: 1mo ago. Top contributors: sindresorhus, SimenB, braaar, francisrath, radiovisual, Richienb.