detect-it

v4.0.1
Detect if a device is mouse only, touch only, or hybrid
detect device mouse touch hybrid passive events pointer events

build

rollpkg build --addUmdBuild

watch

rollpkg watch

prepublishOnly

npm run lint && npm test && npm run build

lint

eslint src

test

jest

test:watch

jest --watchAll

coverage

npx live-server coverage/lcov-report

lintStaged

lint-staged
npm i detect-it

Metadata

  • MIT
  • Whatever
  • Rafael Pedicini
  • released 2/12/2021

Downloads

Maintainers