{"_id":"is-touch-device","_rev":"22-53baa96488def7b4b661174f7622b7e9","name":"is-touch-device","dist-tags":{"latest":"1.0.1"},"versions":{"1.0.0":{"name":"is-touch-device","version":"1.0.0","keywords":["touch","is","documenttouch","maxtouchpoints","msmaxtouchpoints","touchpoints","ontouchstart"],"author":{"name":"Jordan Harband","email":"ljharb@gmail.com"},"license":"MIT","_id":"is-touch-device@1.0.0","maintainers":[{"name":"ljharb","email":"ljharb@gmail.com"}],"contributors":[{"url":"https://github.com/ljharb","name":"Jordan Harband","email":"ljharb@gmail.com"},{"name":"Maja Wichrowska","email":"maja.wichrowska@airbnb.com"},{"url":"https://github.com/tagoro9","name":"Victor","email":"victor@turo.com"}],"homepage":"https://github.com/airbnb/is-touch-device#readme","bugs":{"url":"https://github.com/airbnb/is-touch-device/issues"},"dist":{"shasum":"86222326f0aa360660d50cfd6a64962da94c56bb","tarball":"https://registry.npmjs.org/is-touch-device/-/is-touch-device-1.0.0.tgz","integrity":"sha512-a9KxYcD6cbjgmk1BAGZ92bpFFrHl53gTTkOglwclYjHNVX+9jsV+8dM5T0Qf7E8gE5fIVHjTtu0nGOrrsi56Vw==","signatures":[{"sig":"MEYCIQCqNpwK218stV+wMTGwwFfeoNb6sX41o7h9xlDLgJ45LQIhAN5RDPsM7tkn0Zw0PLgzO3+KlxFowilsjoxmq+c7Be1l","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"build","gitHead":"a437c53dc34676368b6262e05ee7cf63db1ba4cd","scripts":{"lint":"eslint .","test":"npm run tests-only","build":"babel src --out-dir build","clean":"rimraf build && mkdirp src","prelint":"editorconfig-tools check * src/* test/*","pretest":"npm run lint","coverage":"cross-env NODE_ENV=test nyc npm run tests-only","prebuild":"npm run clean","tests-only":"mocha test"},"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"repository":{"url":"git+https://github.com/airbnb/is-touch-device.git","type":"git"},"_npmVersion":"5.0.3","description":"Is the current JS environment a touch device?","directories":{},"_nodeVersion":"8.1.2","devDependencies":{"nyc":"^10.3.2","chai":"^4.0.2","mocha":"^3.4.2","eslint":"^3.19.0","mkdirp":"^0.5.1","rimraf":"^2.6.1","babel-cli":"^6.24.1","cross-env":"^5.0.1","mocha-wrap":"^2.1.1","babel-register":"^6.24.1","editorconfig-tools":"^0.1.1","babel-preset-airbnb":"^2.2.3","eslint-plugin-import":"^2.3.0","babel-plugin-istanbul":"^4.1.4","eslint-config-airbnb-base":"^11.2.0","babel-plugin-add-module-exports":"^0.2.1"},"_npmOperationalInternal":{"tmp":"tmp/is-touch-device-1.0.0.tgz_1497743803758_0.42973550013266504","host":"s3://npm-registry-packages"}},"1.0.1":{"name":"is-touch-device","version":"1.0.1","keywords":["touch","is","documenttouch","maxtouchpoints","msmaxtouchpoints","touchpoints","ontouchstart"],"author":{"name":"Jordan Harband","email":"ljharb@gmail.com"},"license":"MIT","_id":"is-touch-device@1.0.1","maintainers":[{"name":"airbnb","email":"jordan.harband+npm@airbnb.com"},{"name":"ljharb","email":"ljharb@gmail.com"},{"name":"majapw","email":"majapw@gmail.com"}],"contributors":[{"url":"https://github.com/ljharb","name":"Jordan Harband","email":"ljharb@gmail.com"},{"name":"Maja Wichrowska","email":"maja.wichrowska@airbnb.com"},{"url":"https://github.com/tagoro9","name":"Victor","email":"victor@turo.com"}],"homepage":"https://github.com/airbnb/is-touch-device#readme","bugs":{"url":"https://github.com/airbnb/is-touch-device/issues"},"dist":{"shasum":"9a2fd59f689e9a9bf6ae9a86924c4ba805a42eab","tarball":"https://registry.npmjs.org/is-touch-device/-/is-touch-device-1.0.1.tgz","integrity":"sha512-LAYzo9kMT1b2p19L/1ATGt2XcSilnzNlyvq6c0pbPRVisLbAPpLqr53tIJS00kvrTkj0HtR8U7+u8X0yR8lPSw==","signatures":[{"sig":"MEUCIFW12YPJES0KimcUlPZlvnoTmwkG22ARpNdj0P9AwifUAiEA7f/WExKdvMHpijzSpGwdC1DLDcX+V2L3crRFwWyJTkY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"build","gitHead":"224506a94d64d478aae65d25f184a4405339f453","scripts":{"lint":"eslint .","test":"npm run tests-only","build":"babel src --out-dir build","clean":"rimraf build && mkdirp src","prelint":"editorconfig-tools check * src/* test/*","pretest":"npm run lint","coverage":"cross-env NODE_ENV=test nyc npm run tests-only","prebuild":"npm run clean","prepublish":"safe-publish-latest && (not-in-publish || npm run build)","tests-only":"mocha test"},"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"repository":{"url":"git+https://github.com/airbnb/is-touch-device.git","type":"git"},"_npmVersion":"5.0.3","description":"Is the current JS environment a touch device?","directories":{},"_nodeVersion":"8.1.2","devDependencies":{"nyc":"^10.3.2","chai":"^4.0.2","mocha":"^3.4.2","eslint":"^3.19.0","mkdirp":"^0.5.1","rimraf":"^2.6.1","babel-cli":"^6.24.1","cross-env":"^5.0.1","in-publish":"^2.0.0","mocha-wrap":"^2.1.1","babel-register":"^6.24.1","editorconfig-tools":"^0.1.1","babel-preset-airbnb":"^2.2.3","safe-publish-latest":"^1.1.1","eslint-plugin-import":"^2.3.0","babel-plugin-istanbul":"^4.1.4","eslint-config-airbnb-base":"^11.2.0","babel-plugin-add-module-exports":"^0.2.1"},"_npmOperationalInternal":{"tmp":"tmp/is-touch-device-1.0.1.tgz_1497757523083_0.37564478907734156","host":"s3://npm-registry-packages"}}},"time":{"created":"2017-06-17T23:56:45.352Z","modified":"2026-05-14T19:38:48.679Z","1.0.0":"2017-06-17T23:56:45.352Z","1.0.1":"2017-06-18T03:45:24.034Z"},"bugs":{"url":"https://github.com/airbnb/is-touch-device/issues"},"author":{"name":"Jordan Harband","email":"ljharb@gmail.com"},"license":"MIT","homepage":"https://github.com/airbnb/is-touch-device#readme","keywords":["touch","is","documenttouch","maxtouchpoints","msmaxtouchpoints","touchpoints","ontouchstart"],"repository":{"url":"git+https://github.com/airbnb/is-touch-device.git","type":"git"},"description":"Is the current JS environment a touch device?","contributors":[{"url":"https://github.com/ljharb","name":"Jordan Harband","email":"ljharb@gmail.com"},{"name":"Maja Wichrowska","email":"maja.wichrowska@airbnb.com"},{"url":"https://github.com/tagoro9","name":"Victor","email":"victor@turo.com"}],"maintainers":[{"email":"opensource@airbnb.com","name":"airbnbeng"},{"email":"brie.codes@gmail.com","name":"brieb"},{"email":"tosharmila@gmail.com","name":"sharmilajesupaul"},{"email":"vueringschristian@gmail.com","name":"christianv"},{"email":"ljharb@gmail.com","name":"ljharb"},{"email":"majapw@gmail.com","name":"majapw"}],"readme":"# is-touch-device <sup>[![Version Badge][2]][1]</sup>\n\n[![Build Status][3]][4]\n[![dependency status][5]][6]\n[![dev dependency status][7]][8]\n[![License][license-image]][license-url]\n[![Downloads][downloads-image]][downloads-url]\n\n[![npm badge][9]][1]\n\nIs the current JS environment a touch device?\n\n## Usage\n\n```javascript\nvar isTouchDevice = require('is-touch-device');\nvar assert = require('assert');\n\nassert.equal(typeof isTouchDevice(), 'boolean');\n```\n\n[1]: https://npmjs.org/package/is-touch-device\n[2]: http://versionbadg.es/airbnb/is-touch-device.svg\n[3]: https://api.travis-ci.org/airbnb/is-touch-device.svg\n[4]: https://travis-ci.org/airbnb/is-touch-device\n[5]: https://david-dm.org/airbnb/is-touch-device.svg\n[6]: https://david-dm.org/airbnb/is-touch-device\n[7]: https://david-dm.org/airbnb/is-touch-device/dev-status.svg\n[8]: https://david-dm.org/airbnb/is-touch-device?type=dev\n[9]: https://nodei.co/npm/is-touch-device.png?downloads=true&stars=true\n[license-image]: http://img.shields.io/npm/l/is-touch-device.svg\n[license-url]: LICENSE\n[downloads-image]: http://img.shields.io/npm/dm/is-touch-device.svg\n[downloads-url]: http://npm-stat.com/charts.html?package=is-touch-device\n","readmeFilename":"README.md"}