{"_id":"@vant/touch-emulator","_rev":"2970031","name":"@vant/touch-emulator","description":"Vant touch emulator","dist-tags":{"beta":"0.0.1-beta.0","latest":"1.4.0"},"maintainers":[{"name":"chenjiahan","email":""},{"name":"cookfront","email":"cookfront@gmail.com"},{"name":"landluck","email":""},{"name":"nemo-shen","email":""},{"name":"pangxie1991","email":"chenyao1102@gmail.com"},{"name":"rex-zsd","email":""}],"time":{"modified":"2023-05-17T08:49:26.000Z","created":"2019-05-28T09:35:01.368Z","1.4.0":"2022-08-06T14:51:35.490Z","1.3.2":"2021-07-08T01:41:57.720Z","1.3.1":"2021-07-06T09:39:43.746Z","1.3.0":"2021-05-26T03:58:44.020Z","1.2.0":"2019-11-26T12:29:38.410Z","1.1.0":"2019-07-03T09:57:12.276Z","1.0.0":"2019-05-28T09:37:29.112Z","0.0.1-beta.0":"2019-05-28T09:35:01.368Z"},"users":{},"author":{"name":"chenjiahan"},"repository":{"type":"git","url":"git+https://github.com/vant-ui/vant.git","directory":"packages/vant-touch-emulator"},"versions":{"1.4.0":{"name":"@vant/touch-emulator","version":"1.4.0","description":"Vant touch emulator","main":"dist/index.js","module":"dist/index.mjs","scripts":{"build":"node ./build.js","prepare":"pnpm build"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"repository":{"type":"git","url":"git+https://github.com/vant-ui/vant.git","directory":"packages/vant-touch-emulator"},"bugs":{"url":"https://github.com/vant-ui/vant/issues"},"author":{"name":"chenjiahan"},"license":"MIT","homepage":"https://github.com/vant-ui/vant#readme","_id":"@vant/touch-emulator@1.4.0","_nodeVersion":"14.20.0","_npmVersion":"6.14.17","dist":{"shasum":"02420ca5f312a7eb6c36c349cbb8e80e6f29ff2f","size":3757,"noattachment":false,"key":"/@vant/touch-emulator/-/@vant/touch-emulator-1.4.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@vant/touch-emulator/download/@vant/touch-emulator-1.4.0.tgz"},"_npmUser":{"name":"chenjiahan","email":"416417567@163.com"},"directories":{},"maintainers":[{"name":"chenjiahan","email":""},{"name":"cookfront","email":"cookfront@gmail.com"},{"name":"landluck","email":""},{"name":"nemo-shen","email":""},{"name":"pangxie1991","email":"chenyao1102@gmail.com"},{"name":"rex-zsd","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/touch-emulator_1.4.0_1659797495324_0.8191842000714868"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-08-06T14:51:39.725Z","publish_time":1659797495490,"_cnpm_publish_time":1659797495490},"1.3.2":{"name":"@vant/touch-emulator","version":"1.3.2","description":"Vant touch emulator","main":"index.js","publishConfig":{"access":"public"},"license":"MIT","repository":{"type":"git","url":"https://github.com/youzan/vant/tree/dev/packages/vant-touch-emulator"},"_id":"@vant/touch-emulator@1.3.2","_nodeVersion":"12.22.2","_npmVersion":"6.14.13","_npmUser":{"name":"chenjiahan","email":"416417567@163.com"},"dist":{"shasum":"9392c3971dd7247c2cf8e5d5aabc951e33cd5e6f","size":2592,"noattachment":false,"key":"/@vant/touch-emulator/-/@vant/touch-emulator-1.3.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/@vant/touch-emulator/download/@vant/touch-emulator-1.3.2.tgz"},"directories":{},"maintainers":[{"name":"chenjiahan","email":""},{"name":"cookfront","email":"cookfront@gmail.com"},{"name":"landluck","email":""},{"name":"nemo-shen","email":""},{"name":"pangxie1991","email":"chenyao1102@gmail.com"},{"name":"rex-zsd","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/touch-emulator_1.3.2_1625708517555_0.7694414263727436"},"_hasShrinkwrap":false,"publish_time":1625708517720,"_cnpm_publish_time":1625708517720},"1.3.1":{"name":"@vant/touch-emulator","version":"1.3.1","description":"Vant touch emulator","main":"index.js","publishConfig":{"access":"public"},"license":"MIT","repository":{"type":"git","url":"https://github.com/youzan/vant/tree/dev/packages/vant-touch-emulator"},"_id":"@vant/touch-emulator@1.3.1","_nodeVersion":"12.22.2","_npmVersion":"6.14.13","_npmUser":{"name":"chenjiahan","email":"416417567@163.com"},"dist":{"shasum":"93a0c8824d47482c660b982045378d45245e07a0","size":2553,"noattachment":false,"key":"/@vant/touch-emulator/-/@vant/touch-emulator-1.3.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@vant/touch-emulator/download/@vant/touch-emulator-1.3.1.tgz"},"directories":{},"maintainers":[{"name":"chenjiahan","email":""},{"name":"cookfront","email":"cookfront@gmail.com"},{"name":"landluck","email":""},{"name":"nemo-shen","email":""},{"name":"pangxie1991","email":"chenyao1102@gmail.com"},{"name":"rex-zsd","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/touch-emulator_1.3.1_1625564383646_0.3479353559792244"},"_hasShrinkwrap":false,"publish_time":1625564383746,"_cnpm_publish_time":1625564383746},"1.3.0":{"name":"@vant/touch-emulator","version":"1.3.0","description":"Vant touch emulator","main":"index.js","publishConfig":{"access":"public"},"license":"MIT","repository":{"type":"git","url":"https://github.com/youzan/vant/tree/dev/packages/vant-touch-emulator"},"_id":"@vant/touch-emulator@1.3.0","_nodeVersion":"12.16.1","_npmVersion":"6.14.12","dist":{"shasum":"f53a7d0c5809b91d51b7fd4c24e762673bf1f679","size":2267,"noattachment":false,"key":"/@vant/touch-emulator/-/@vant/touch-emulator-1.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@vant/touch-emulator/download/@vant/touch-emulator-1.3.0.tgz"},"_npmUser":{"name":"chenjiahan","email":"416417567@163.com"},"directories":{},"maintainers":[{"name":"chenjiahan","email":""},{"name":"cookfront","email":"cookfront@gmail.com"},{"name":"landluck","email":""},{"name":"nemo-shen","email":""},{"name":"pangxie1991","email":"chenyao1102@gmail.com"},{"name":"rex-zsd","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/touch-emulator_1.3.0_1622001523838_0.06404660019769093"},"_hasShrinkwrap":false,"publish_time":1622001524020,"_cnpm_publish_time":1622001524020},"1.2.0":{"name":"@vant/touch-emulator","version":"1.2.0","description":"Vant touch emulator","main":"index.js","publishConfig":{"access":"public"},"license":"MIT","repository":{"type":"git","url":"https://github.com/youzan/vant/tree/dev/packages/vant-touch-emulator"},"_id":"@vant/touch-emulator@1.2.0","_nodeVersion":"10.14.1","_npmVersion":"6.10.2","dist":{"shasum":"486300b23e57db9ce9231a04e0a0c621c68692d8","size":2031,"noattachment":false,"key":"/@vant/touch-emulator/-/@vant/touch-emulator-1.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@vant/touch-emulator/download/@vant/touch-emulator-1.2.0.tgz"},"maintainers":[{"name":"chenjiahan","email":""},{"name":"cookfront","email":"cookfront@gmail.com"},{"name":"landluck","email":""},{"name":"nemo-shen","email":""},{"name":"pangxie1991","email":"chenyao1102@gmail.com"},{"name":"rex-zsd","email":""}],"_npmUser":{"name":"chenjiahan","email":"416417567@163.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/touch-emulator_1.2.0_1574771378272_0.02420340667422871"},"_hasShrinkwrap":false,"publish_time":1574771378410,"_cnpm_publish_time":1574771378410},"1.1.0":{"name":"@vant/touch-emulator","version":"1.1.0","description":"Vant touch emulator","main":"index.js","scripts":{"release":"npm publish --access publish"},"repository":{"type":"git","url":"git+https://github.com/chenjiahan/vant-touch-emulator.git"},"keywords":["vant"],"author":{"name":"neverland"},"license":"MIT","bugs":{"url":"https://github.com/chenjiahan/vant-touch-emulator/issues"},"homepage":"https://github.com/chenjiahan/vant-touch-emulator#readme","gitHead":"80e4d7db746c17b217d6d2e8810adc8d1d706171","_id":"@vant/touch-emulator@1.1.0","_nodeVersion":"10.14.1","_npmVersion":"6.9.2","dist":{"shasum":"3cb2bcf87dbed1f8a2408c57139ee4fb2e761e5f","size":2210,"noattachment":false,"key":"/@vant/touch-emulator/-/@vant/touch-emulator-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@vant/touch-emulator/download/@vant/touch-emulator-1.1.0.tgz"},"maintainers":[{"name":"chenjiahan","email":""},{"name":"cookfront","email":"cookfront@gmail.com"},{"name":"landluck","email":""},{"name":"nemo-shen","email":""},{"name":"pangxie1991","email":"chenyao1102@gmail.com"},{"name":"rex-zsd","email":""}],"_npmUser":{"name":"chenjiahan","email":"416417567@163.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/touch-emulator_1.1.0_1562147832120_0.9411831839076643"},"_hasShrinkwrap":false,"publish_time":1562147832276,"_cnpm_publish_time":1562147832276},"1.0.0":{"name":"@vant/touch-emulator","version":"1.0.0","description":"Vant touch emulator","main":"index.js","scripts":{"release":"npm publish --access publish"},"repository":{"type":"git","url":"git+https://github.com/chenjiahan/vant-touch-emulator.git"},"keywords":["vant"],"author":{"name":"neverland"},"license":"MIT","bugs":{"url":"https://github.com/chenjiahan/vant-touch-emulator/issues"},"homepage":"https://github.com/chenjiahan/vant-touch-emulator#readme","gitHead":"6d8210219008088e145f7fd3807fa91115025907","_id":"@vant/touch-emulator@1.0.0","_npmVersion":"5.6.0","_nodeVersion":"8.11.1","_npmUser":{"name":"chenjiahan","email":"416417567@163.com"},"dist":{"shasum":"e9ea133fd874a534481c84e12089b2e9d552544b","size":2126,"noattachment":false,"key":"/@vant/touch-emulator/-/@vant/touch-emulator-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@vant/touch-emulator/download/@vant/touch-emulator-1.0.0.tgz"},"maintainers":[{"name":"chenjiahan","email":""},{"name":"cookfront","email":"cookfront@gmail.com"},{"name":"landluck","email":""},{"name":"nemo-shen","email":""},{"name":"pangxie1991","email":"chenyao1102@gmail.com"},{"name":"rex-zsd","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/touch-emulator_1.0.0_1559036248987_0.8790603327376392"},"_hasShrinkwrap":false,"publish_time":1559036249112,"_cnpm_publish_time":1559036249112},"0.0.1-beta.0":{"name":"@vant/touch-emulator","version":"0.0.1-beta.0","description":"Vant touch emulator","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/chenjiahan/vant-touch-emulator.git"},"keywords":["vant"],"author":{"name":"neverland"},"license":"MIT","bugs":{"url":"https://github.com/chenjiahan/vant-touch-emulator/issues"},"homepage":"https://github.com/chenjiahan/vant-touch-emulator#readme","gitHead":"6d8210219008088e145f7fd3807fa91115025907","_id":"@vant/touch-emulator@0.0.1-beta.0","_npmVersion":"5.6.0","_nodeVersion":"8.11.1","_npmUser":{"name":"chenjiahan","email":"416417567@163.com"},"dist":{"shasum":"c5fabf9f2c310ff27ae1d6a420d04850a7ce007f","size":2144,"noattachment":false,"key":"/@vant/touch-emulator/-/@vant/touch-emulator-0.0.1-beta.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@vant/touch-emulator/download/@vant/touch-emulator-0.0.1-beta.0.tgz"},"maintainers":[{"name":"chenjiahan","email":""},{"name":"cookfront","email":"cookfront@gmail.com"},{"name":"landluck","email":""},{"name":"nemo-shen","email":""},{"name":"pangxie1991","email":"chenyao1102@gmail.com"},{"name":"rex-zsd","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/touch-emulator_0.0.1-beta.0_1559036101245_0.14604479919549962"},"_hasShrinkwrap":false,"publish_time":1559036101368,"_cnpm_publish_time":1559036101368}},"readme":"# Vant Touch Emulator\n\n在桌面端上模拟移动端 touch 事件，实现方式来自于 [hammerjs/touchemulator](https://github.com/hammerjs/touchemulator).\n\n## Install\n\n```shell\n# with npm\nnpm i @vant/touch-emulator\n\n# with yarn\nyarn add @vant/touch-emulator\n\n# with pnpm\npnpm add @vant/touch-emulator\n```\n\n## 使用指南\n\n直接在代码中引入模块即可，模块会自动完成初始化并生效\n\n```js\nimport '@vant/touch-emulator';\n```\n\n## CDN 引入\n\n```html\n<script src=\"https://fastly.jsdelivr.net/npm/@vant/touch-emulator\"></script>\n```\n\n## 禁用 touch 模拟\n\n在标签上添加 `data-no-touch-simulate` 属性后，可以使这个标签（以及它的子元素）不触发 `touch` 模拟事件。\n\n```html\n<div data-no-touch-simulate />\n```\n","_attachments":{},"homepage":"https://github.com/vant-ui/vant#readme","bugs":{"url":"https://github.com/vant-ui/vant/issues"},"license":"MIT"}