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

transit-api

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

transit-api

Low level API abstractions for transit services.

  • 1.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
8
increased by33.33%
Maintainers
1
Weekly downloads
 
Created
Source

transit-api

Node.js APIs for accessing transit services.

The intent of these APIs is to convert the raw output of transit APIs into JavaScript objects.
It includes little intelligence about what the data should look like.

Included APIs

NextBus (pass agency to constructor or use setAgency)

  • agencyList()
  • routeList()
  • routeConfig(routeTag)
  • predictions(stopId)
  • predictions(routeTag, stopTag)

MBTA

  • subways() - hard coded with list of available lines
  • subway(line)

License

transit-api is available under a BSD 2-Clause License, see the LICENSE file for more information.

FAQs

Package last updated on 28 Dec 2021

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