Skip to content

Latest commit

 

History

History
21 lines (14 loc) · 563 Bytes

README.md

File metadata and controls

21 lines (14 loc) · 563 Bytes

config

Universal configuration data for Wayline, including transit feed URLs, aliasing, and more.

Usage

const config = require('@wayline/config')
console.log(config.basefeeds.MiamiDadeTransit)
// https://www.miamidade.gov/transit/WebServices/

const routes = require('@wayline/config/routes')
console.log(routes.MiamiDadeTransit[3].route_longname)
// DOWNTOWN-DOLPH MALL/AIRPORT VIA 7ST

The structure of module.js is based on config.toml.

License

MIT © Cyberscape.