Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/derhuerst/vbb-common-places
Aliases for common stations.
https://github.com/derhuerst/vbb-common-places
berlin bvg search transit transport vbb
Last synced: 3 days ago
JSON representation
Aliases for common stations.
- Host: GitHub
- URL: https://github.com/derhuerst/vbb-common-places
- Owner: derhuerst
- License: isc
- Created: 2016-04-25T22:31:25.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2022-02-01T21:36:50.000Z (almost 3 years ago)
- Last Synced: 2024-12-08T17:46:48.380Z (25 days ago)
- Topics: berlin, bvg, search, transit, transport, vbb
- Language: JavaScript
- Homepage: https://github.com/derhuerst/vbb-common-places
- Size: 40 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: license.md
Awesome Lists containing this project
README
# vbb-common-places
This is a collection of **aliases for common stations** (like "zoo", "alex", "kotti") to make the search better. Mostly taken from [a Wikipedia article](https://de.wikipedia.org/wiki/Berolinismus#Stra.C3.9Fen.2C_Pl.C3.A4tze_und_Gegenden).
[![npm version](https://img.shields.io/npm/v/vbb-common-places.svg)](https://www.npmjs.com/package/vbb-common-places)
[![dependency status](https://img.shields.io/david/derhuerst/vbb-common-places.svg)](https://david-dm.org/derhuerst/vbb-common-places)
[![dev dependency status](https://img.shields.io/david/dev/derhuerst/vbb-common-places.svg)](https://david-dm.org/derhuerst/vbb-common-places#info=devDependencies)
![ISC-licensed](https://img.shields.io/github/license/derhuerst/vbb-common-places.svg)
[![support me via GitHub Sponsors](https://img.shields.io/badge/support%20me-donate-fa7664.svg)](https://github.com/sponsors/derhuerst)
[![chat with me on Twitter](https://img.shields.io/badge/chat%20with%20me-on%20Twitter-1da1f2.svg)](https://twitter.com/derhuerst)## Installing
```shell
npm install vbb-common-places
```## Usage
```js
const {stations, addresses} = require('vbb-common-places')console.log(stations)
console.log(addresses)
``````js
{
zoo: '900000023201', // S+U Zoologischer Garten Bhf (Berlin)
kotti: '900000013102', // U Kottbusser Tor (Berlin)
witzleben: '900000024106', // S Messe Nord/ICC (Berlin)
// …
}
``````js
{
stutti: {
name: 'Stuttgarter Platz',
longitude: 13.301503,
latitude: 52.504916
}
}
```## Contributing
If you **have a question**, **found a bug** or want to **propose a feature**, have a look at [the issues page](https://github.com/derhuerst/vbb-common-places/issues).