is-touch-device

WebJar for is-touch-device

License

License

MIT
GroupId

GroupId

org.webjars.npm
ArtifactId

ArtifactId

is-touch-device
Last Version

Last Version

1.0.1
Release Date

Release Date

Type

Type

jar
Description

Description

is-touch-device
WebJar for is-touch-device
Project URL

Project URL

http://webjars.org
Source Code Management

Source Code Management

https://github.com/airbnb/is-touch-device

Download is-touch-device

How to add to project

<!-- https://jarcasting.com/artifacts/org.webjars.npm/is-touch-device/ -->
<dependency>
    <groupId>org.webjars.npm</groupId>
    <artifactId>is-touch-device</artifactId>
    <version>1.0.1</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.npm/is-touch-device/
implementation 'org.webjars.npm:is-touch-device:1.0.1'
// https://jarcasting.com/artifacts/org.webjars.npm/is-touch-device/
implementation ("org.webjars.npm:is-touch-device:1.0.1")
'org.webjars.npm:is-touch-device:jar:1.0.1'
<dependency org="org.webjars.npm" name="is-touch-device" rev="1.0.1">
  <artifact name="is-touch-device" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.npm', module='is-touch-device', version='1.0.1')
)
libraryDependencies += "org.webjars.npm" % "is-touch-device" % "1.0.1"
[org.webjars.npm/is-touch-device "1.0.1"]

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

There are no modules declared in this project.

is-touch-device Version Badge

Build Status dependency status dev dependency status License Downloads

npm badge

Is the current JS environment a touch device?

Usage

var isTouchDevice = require('is-touch-device');
var assert = require('assert');

assert.equal(typeof isTouchDevice(), 'boolean');
org.webjars.npm

Airbnb

Versions

Version
1.0.1