Skip to content
Norway postal code registry in various formats
HTML JavaScript
Latest commit be80eb5 Jan 26, 2016 @sindresorhus tweaks
Failed to load latest commit information.
converted update postal codes - 2015-10-19 Oct 19, 2015
.editorconfig tweaks Jan 26, 2016
.gitattributes init Oct 29, 2012
.gitignore dotfiles Aug 17, 2013
.travis.yml tweaks Jan 26, 2016
convert.js update url Jun 27, 2015
license switch to `got` Apr 29, 2015
package.json tweaks Jan 26, 2016 tweaks Jan 26, 2016

Norway Postal Codes Build Status

Various utf8 alternative formats to the default ansi tab-delimited postal code registry provided by

Norwegian: Postnummerregisteret inneholder alle postnummer i Norge som brukes til adressering av post.


Last updated 2015-10-19


See the demo for an example on how to auto-complete city from postal code.
Which is a really good UX feature you should make use of.

Getting started

Even though all converted files are provided here, you might want to do it yourself.

You'll need Node.js, then cd into this folder and npm install.

Run ./convert.js to fetch and convert the latest registry, or you can supply a file path ./convert.js postnummerregister_ansi.txt to convert a local file (make sure it's the ANSI version).

You can also use it as a Node module. Just install it npm install --save norway-postal-codes and then require it in your code:

const postalCodes = require('norway-postal-codes');
Something went wrong with that request. Please try again.