get-has-touch

Dynamically get touch detection.

Usage no npm install needed!

<script type="module">
  import getHasTouch from 'https://cdn.skypack.dev/get-has-touch';
</script>

README

get-has-touch

Build Status GitHub version License

Dynamically get touch detection.

npm i get-has-touch

Usage

import getHasTouch from 'get-has-touch';

getHasTouch(); // => true or false

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

License

MIT

© sugarshin