GithubHelp home page GithubHelp logo

braaar / norway-postal-codes Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sindresorhus/norway-postal-codes

0.0 0.0 0.0 272 KB

Norway postal code registry in various formats

Home Page: https://sindresorhus.com/norway-postal-codes

License: MIT License

JavaScript 38.71% HTML 61.29%

norway-postal-codes's Introduction

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-06-27

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.