New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

vbb-trips

Package Overview
Dependencies
Maintainers
1
Versions
51
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vbb-trips - npm Package Compare versions

Comparing version 1.1.3 to 1.2.0

2

license.md

@@ -1,2 +0,2 @@

Copyright (c) 2016, Jannis R
Copyright (c) 2017, Jannis R

@@ -3,0 +3,0 @@ Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies.

{
"name": "vbb-trips",
"description": "When do trains run where in VBB?",
"version": "1.1.3",
"version": "1.2.0",
"main": "index.js",

@@ -6,0 +6,0 @@ "files": ["index.js", "data/*"],

# vbb-trips 🚏
**Raw data about when VBB trains stop at which stations.**
**Raw data about when VBB trains stop at which stations.** Computed from [open](http://daten.berlin.de/datensaetze/vbb-fahrplandaten-januar-2017-bis-dezember-2017) [GTFS](https://developers.google.com/transit/gtfs/) [data](https://vbb-gtfs.jannisr.de/).

@@ -25,4 +25,4 @@ [![npm version](https://img.shields.io/npm/v/vbb-trips.svg)](https://www.npmjs.com/package/vbb-trips)

data.lines(true, 1).then(console.log) // query a single line
data.routes({lineId: 1}).on('data', console.log) // filter routes
data.lines(true, '17289_700').then(console.log) // query a single line
data.routes({lineId: '17289_700'}).on('data', console.log) // filter routes
```

@@ -34,20 +34,18 @@

{
lineId: 1,
lineId: '17289_700',
stops: [ // milliseconds since departure at first stop
{s: 9230999, t: 0},
{s: 9230400, t: 360000},
{s: 9220019, t: 840000},
{s: 9220070, t: 1260000},
{s: 9220114, t: 1560000},
{s: 9220001, t: 1680000},
{s: 9260024, t: 2820000}
{s: '070101006736', t: 0},
{s: '070101007156', t: 120000},
{s: '070101007309', t: 180000},
{s: '070101005243', t: 240000},
{s: '070101007160', t: 300000},
// …
],
when: [ // these are timestamps of the first stop
1458791100000,
1459219500000,
1459305900000,
1481082300000,
1481168700000,
1481255100000
1485152520000,
1485757320000,
1486362120000,
1486966920000,
1487571720000,
// …
]

@@ -54,0 +52,0 @@ }

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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