vbb-station-photos

Photos of every subway station in Berlin.

Usage no npm install needed!

<script type="module">
  import vbbStationPhotos from 'https://cdn.skypack.dev/vbb-station-photos';
</script>

README

vbb-station-photos

Photos of every subway station in Berlin. Thanks to ingolfbln and all the other people!

npm version build status ISC-licensed gitter channel support me on Patreon

Installing

npm install vbb-station-photos

Usage

const photos = require('vbb-station-photos')

const station = '900000017103' // U Gleisdreieck
const line = 'U1'

console.log(photos.original[station][line])
{
    label: 'https://c1.staticflickr.com/9/8315/7931788740_400098a074_o.jpg',
    platform: 'https://c1.staticflickr.com/9/8042/7931841660_923be9cfc6_o.jpg'
}

Available sizes are original, large, medium and small. You can also require only the urls of a particular image size:

const photos = require('vbb-station-photos/medium.json')

Contributing

If you have a question, found a bug or want to propose a feature, have a look at the issues page.