Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

vbb-find-stations

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vbb-find-stations

Search for stations of VBB.

  • 3.0.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
18
increased by1700%
Maintainers
1
Weekly downloads
 
Created
Source

vbb-find-stations

Find stations of Berlin Brandenburg public transport service (VBB). This module is only a wrapper around vbb-stations-autocomplete.

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

Installing

npm install vbb-find-stations

Usage

const findStations = require('vbb-find-stations')

console.log(findStations('U Steglitz'))

findStations returns Friendly Public Transport Format 1.2.1 stations.

[ {
	type: 'station',
	id: '900000062202',
	name: 'S+U Rathaus Steglitz (Berlin)',
	location: {
		type: 'location',
		latitude: 52.455066,
		longitude: 13.322152
	},
	weight: 2736,
	relevance: 3.1185246962418125,
	score: 43.61687553989209
}, {
	type: 'station',
	id: '900000062781',
	name: 'S+U Rathaus Steglitz (Berlin) [U9]',
	location: {
		type: 'location',
		latitude: 52.456438,
		longitude: 13.319986
	},
	weight: 2831.5,
	relevance: 2.4948197569934503,
	score: 35.294851852317365
}, {
	type: 'station',
	id: '900000062782',
	name: 'S+U Rathaus Steglitz (Berlin) [Bus Schloßstr.]',
	location: {
		type: 'location',
		latitude: 52.456755,
		longitude: 13.320584
	},
	weight: 4831.25,
	relevance: 2.0790164641612083,
	score: 35.14615060514675
}, {
	type: 'station',
	id: '900000062282',
	name: 'S+U Rathaus Steglitz/Kreisel (Berlin)',
	location: {
		type: 'location',
		latitude: 52.455889,
		longitude: 13.320852
	},
	weight: 2563.75,
	relevance: 2.4948197569934503,
	score: 34.14531045766747
}, {
	type: 'station',
	id: '900000062784',
	name: 'S+U Rathaus Steglitz (Berlin) [Bus Albrechtstr.]',
	location: {
		type: 'location',
		latitude: 52.45668,
		longitude: 13.321685
	},
	weight: 2834,
	relevance: 2.0790164641612083,
	score: 29.421030297346405
} ]

Contributing

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

Keywords

FAQs

Package last updated on 05 Sep 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc