MQ Traffic
A JavaScript interface to the MapQuest Traffic API.
const Traffic = require('@mapquest/traffic');
const traffic = new Traffic({key: 'xxxxx'});
traffic.getFlow(center, width, height, zoom); //returns geoJSON. It's up to you to style this based property.traffic
traffic.getIncidents(mapBounds); //takes Leaflet style bounds and returns geoJSON collection of points