current-device-type
v1.0.0
Published
A lightweight JavaScript utility to detect whether the current device is mobile, tablet, or desktop.
Maintainers
Readme
current-device-type
A lightweight JavaScript utility to detect whether the current device is mobile, tablet, or desktop.
Features
- Zero dependencies
- Lightweight
- Fast device detection
- Supports mobile, tablet, and desktop
- TypeScript definitions included
- Works with modern JavaScript applications
Installation
npm install current-device-type