Socket
Book a DemoInstallSign in
Socket

norway-postal-codes

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

norway-postal-codes

Norway Postal Codes

latest
Source
npmnpm
Version
4.1.0
Version published
Maintainers
1
Created
Source

Norway Postal Codes

Various UTF8 alternative formats to the default ansi tab-delimited postal code registry provided by bring.no.

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

Downloads

Last updated 2022-10-18

Demo

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 npm run make to fetch and convert the latest registry, or you can supply a file path npm run make 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 norway-postal-codes and then require it in your code:

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

console.log(postalCodes['1613']);
// FREDRIKSTAD

Keywords

norway

FAQs

Package last updated on 18 Oct 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts