Skip to content

Latest commit

 

History

History
31 lines (21 loc) · 772 Bytes

README.md

File metadata and controls

31 lines (21 loc) · 772 Bytes

#denmark-streetname Build Status

A list of streetname given a zipcodes

Installation

npm install denmark-streetname

Documentation

streetnames = require('denmark-streetname')

This is a function with the signature streetnames(zipcode), it will return an object stream where each item is a steetname.

streetnames(2800).on('data', function (steetname) {
  console.log(steetname); // e.q. Lyngby Hovedgade
});

Source

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

This uses the autocomplete feature, with an empty search. This way a minimal (in terms of size) response is obtained.