devicedetect Installationnpm i -D devicedetectUsagevar dd = require('devicedetect'); if (dd() === 'tablet') { console.log('tablet'); }4 keywords3 dependents1 versiondetectdevicemobiletablet@infinitebrahmanuniverse/nolb-devi@everything-registry/sub-chunk-1473@zalastax/nolb-devi1.0.08 years ago