simpleDevice
Installation
npm install @inventsable/simpledevice
Usage
import { isMobile, isLandscape } from "@inventsable/simpledevice";
const mobile = isMobile(); // return true or false
const landscape = isLandscape(); // returns true if desktop or if mobile and landscape else false0