Skip to content

denmark-io/denmark-zipcode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#denmark-zipcode Build Status

A list of zipcodes in denmark and associated information

Installation

npm install denmark-zipcode

Documentation

const zipcodes = require('denmark-zipcode');

// zipcodes() returns an object stream
zipcodes().once('data', function (data) {
  data = {
    zipcode: 2800,
    city: 'Kgs. Lyngby',
    province: null,
    communes: [
      { id: '0157', name: 'Gentofte' },
      { id: '0159', name: 'Gladsaxe' },
      { id: '0173', name: 'Lyngby-Taarbæk' },
      { id: '0230', name: 'Rudersdal' }
    ]
  };
});

Source

The source is: http://dawa.aws.dk/postnummerdok

An alternative source may be postdanmark, which was used in a previouse version:

About

A list of zipcodes in denmark and associated information

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published