Device.js is a JavaScript library to detect device, viewport, and browser information using plain JavaScript.