connect-devicedetect
Connect middleware to bucket user-agent strings into device groups. Sets X-UA-Device header to device buckets like phone
or desktop
based on user-agent. Useful as a development-time stub for edge-cache based detection like varnish-devicedetect. when Fastly isn't already
connect = require 'connect'deviceDetect = require 'connect-devicedetect' app =