New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

gst

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gst

live stream vehicle locations from the nextbus API

latest
Source
npmnpm
Version
1.0.1
Version published
Maintainers
1
Created
Source

nextbus-live-feed

get vehicle locations from the nextbus API as JSON

NPM

  var feed = require('nextbus-live-feed')
  var fetchEvery = 1000 * 5
  feed('actransit', fetchEver, function onLocation(err, location) {
    
  })

data looks like this:

{
  dirTag: "51A_91_1",
  heading: "345",
  id: "1054",
  lastUpdated: "1396983363000",
  lat: "37.7824325",
  lon: "-122.2763977",
  predictable: "true",
  routeTag: "51A",
  secsSinceReport: "68",
  speedKmHr: "5"
}

FAQs

Package last updated on 09 Apr 2014

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