Tfl-API-Client
A socket.io wrapper for the https://api.tfl.lu streaming API
This packages uses UMD, so it can be used as commonjs, amd package and can be loaded via script tag
Install with npm
npm install tfl-api-client
Build Setup
# install dependenciesnpm install# Run demo at localhost:8080npm installnpm run start
How to use client using script tag
How to use client using commonjs
const TfLAPIClient = ;var api = 'https://api.tfl.lu/v1';api;