Obs.js uses browser APIs to evaluate connection, battery, and performance. It applies root CSS classes giving you easy hooks to optimize content delivery by adjusting image resolution, omitting web fonts, or disabling autoplay videos. csswizardry.com/Obs.js/demo/
Obs.js reads device and network signals and allows you to build adaptive user experiences.