{"_id":"swipe-listener","_rev":"13-806ec5f32a7088a00cdfb9d17fe719be","name":"swipe-listener","dist-tags":{"latest":"1.3.0"},"versions":{"1.0.0":{"name":"swipe-listener","version":"1.0.0","description":"Zero-dependency, minimal swipe-gesture listener for the web.","main":"index.js","scripts":{"build":"babel index.js --out-file dist/swipe-listener.js --presets es2015 --plugins=transform-object-rest-spread && babel-minify dist/swipe-listener.js --out-file dist/swipe-listener.min.js","test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/umanghome/swipe-listener.git"},"keywords":["swipe","gesture","event","listener","js","web","dom","gestures"],"author":{"name":"umanghome"},"license":"MIT","bugs":{"url":"https://github.com/umanghome/swipe-listener/issues"},"homepage":"https://github.com/umanghome/swipe-listener","devDependencies":{"babel-cli":"^6.26.0","babel-minify":"^0.3.0","babel-plugin-transform-object-rest-spread":"^6.26.0","babel-preset-es2015":"^6.24.1"},"gitHead":"aa669e1b77f5d9fad5ccd48e54489edfcf20bb8a","_id":"swipe-listener@1.0.0","_npmVersion":"5.6.0","_nodeVersion":"9.3.0","_npmUser":{"name":"umanghome","email":"umanghome@gmail.com"},"dist":{"integrity":"sha512-epNfZ9OX8imjMRyzdefFfMfPf9LTH2Hry3jy95ZVpwT6MpF/UA+yOqyVZj8yewJ271nHR7LOOKYJc285DiNYZA==","shasum":"cf6baa054342af45ffc2ff9e4f38fc7c67e814ec","tarball":"https://registry.npmjs.org/swipe-listener/-/swipe-listener-1.0.0.tgz","fileCount":8,"unpackedSize":19488,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDxftwG98oFhly3I4f0hiehNTNV7SpkITCY698d4znOtQIhAMIs4rW+CxCuXi0JRai62DLhlc07D8hhCaglsiWq7wmM"}]},"maintainers":[{"name":"umanghome","email":"umanghome@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/swipe-listener_1.0.0_1519580009906_0.725622842959945"},"_hasShrinkwrap":false},"1.0.1":{"name":"swipe-listener","version":"1.0.1","description":"Zero-dependency, minimal swipe-gesture listener for the web.","main":"index.js","scripts":{"build":"babel index.js --out-file dist/swipe-listener.js --presets es2015 --plugins=transform-object-rest-spread && babel-minify dist/swipe-listener.js --out-file dist/swipe-listener.min.js","test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/umanghome/swipe-listener.git"},"keywords":["swipe","gesture","event","listener","js","web","dom","gestures"],"author":{"name":"umanghome"},"license":"MIT","bugs":{"url":"https://github.com/umanghome/swipe-listener/issues"},"homepage":"https://github.com/umanghome/swipe-listener","devDependencies":{"babel-cli":"^6.26.0","babel-minify":"^0.3.0","babel-plugin-transform-object-rest-spread":"^6.26.0","babel-preset-es2015":"^6.24.1"},"gitHead":"5d57b2bd63af76e4686ac47a1814b118d8533ff5","_id":"swipe-listener@1.0.1","_npmVersion":"5.6.0","_nodeVersion":"9.3.0","_npmUser":{"name":"umanghome","email":"umanghome@gmail.com"},"dist":{"integrity":"sha512-QuW0AZoKogxzp2uLl41FLTXagiIiDrsRFRMdoBg1SjMZXY57CE5F8hTMJgVDs6czcNAppa4G5gtbXqlEPEsNgA==","shasum":"aab7bc61ce2d47e7a39ea9f6044d7d8ba065b964","tarball":"https://registry.npmjs.org/swipe-listener/-/swipe-listener-1.0.1.tgz","fileCount":8,"unpackedSize":19471,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC74tAeKMWYQCegrDSPYTVejQnNwxA7fbAFYEJ6oBQLWgIgTbA28oHgF/coapTtGBG2rjbW/BKIQaY81fsv87xTpqI="}]},"maintainers":[{"name":"umanghome","email":"umanghome@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/swipe-listener_1.0.1_1519580373954_0.5010066507740296"},"_hasShrinkwrap":false},"1.0.2":{"name":"swipe-listener","version":"1.0.2","description":"Zero-dependency, minimal swipe-gesture listener for the web.","main":"index.js","scripts":{"build":"babel index.js --out-file dist/swipe-listener.js --presets es2015 --plugins=transform-object-rest-spread && babel-minify dist/swipe-listener.js --out-file dist/swipe-listener.min.js","test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/umanghome/swipe-listener.git"},"keywords":["swipe","gesture","event","listener","js","web","dom","gestures"],"author":{"name":"umanghome"},"license":"MIT","bugs":{"url":"https://github.com/umanghome/swipe-listener/issues"},"homepage":"https://github.com/umanghome/swipe-listener","devDependencies":{"babel-cli":"^6.26.0","babel-minify":"^0.3.0","babel-plugin-transform-object-rest-spread":"^6.26.0","babel-preset-es2015":"^6.24.1"},"gitHead":"02956c2a596e496d60983222d91ea3e1c75f98b9","_id":"swipe-listener@1.0.2","_npmVersion":"5.6.0","_nodeVersion":"9.3.0","_npmUser":{"name":"umanghome","email":"umanghome@gmail.com"},"dist":{"integrity":"sha512-3lhQdaVX7eKUesJgHw9WBc16nUyP2f8FRL/fDZnz1CBxn0OIu8Lx1km/0ovInSMjkfgJkKVz3QT3HkLjQDr+oQ==","shasum":"182ac6c7652170079e57e381786892204bec785e","tarball":"https://registry.npmjs.org/swipe-listener/-/swipe-listener-1.0.2.tgz","fileCount":8,"unpackedSize":19868,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCtAiNxo4Z/9pZuG5I/hl592vp8k4g4ofchi15kb+Eo5wIhAMlYPn3scQdSYpScIs5/lqDXyEhHwQR/V8wqsrPdLii8"}]},"maintainers":[{"name":"umanghome","email":"umanghome@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/swipe-listener_1.0.2_1519583400485_0.06733419654027162"},"_hasShrinkwrap":false},"1.0.3":{"name":"swipe-listener","version":"1.0.3","description":"Zero-dependency, minimal swipe-gesture listener for the web.","main":"index.js","scripts":{"build":"babel index.js --out-file dist/swipe-listener.js --presets es2015 --plugins=transform-object-rest-spread && babel-minify dist/swipe-listener.js --out-file dist/swipe-listener.min.js","test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/umanghome/swipe-listener.git"},"keywords":["swipe","gesture","event","listener","js","web","dom","gestures"],"author":{"name":"umanghome"},"license":"MIT","bugs":{"url":"https://github.com/umanghome/swipe-listener/issues"},"homepage":"https://github.com/umanghome/swipe-listener","devDependencies":{"babel-cli":"^6.26.0","babel-minify":"^0.3.0","babel-plugin-transform-object-rest-spread":"^6.26.0","babel-preset-es2015":"^6.24.1"},"gitHead":"00738da825c77203bb6d92356f233e5f3748dbe4","_id":"swipe-listener@1.0.3","_npmVersion":"5.6.0","_nodeVersion":"9.3.0","_npmUser":{"name":"umanghome","email":"umanghome@gmail.com"},"dist":{"integrity":"sha512-QntmXa+EDbueaWHsMhRuO4/QJWHc1ZLAZ0nXAQePGOyIau3NJKoyE5RMWVVxZU6uW9gVd2yg1MA98Ei90tXYrQ==","shasum":"91abb803c45db21d0a0831d71fd3bb2972957fff","tarball":"https://registry.npmjs.org/swipe-listener/-/swipe-listener-1.0.3.tgz","fileCount":8,"unpackedSize":21879,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD9c70TyNfy7IYA2G0xMIVSWRoG8w/g+gc5b7OU45JkyAIgVrZprxibuJPVUyXv7+S8GFs/KXgwJwnc+sfxAsNWxes="}]},"maintainers":[{"name":"sidx1024","email":"vistax86live@gmail.com"},{"name":"umanghome","email":"umanghome@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/swipe-listener_1.0.3_1519591326131_0.5969836067512837"},"_hasShrinkwrap":false},"1.0.4":{"name":"swipe-listener","version":"1.0.4","description":"Zero-dependency, minimal swipe-gesture listener for the web.","main":"index.js","scripts":{"build":"babel index.js --out-file dist/swipe-listener.js --presets es2015 --plugins=transform-object-rest-spread && babel-minify dist/swipe-listener.js --out-file dist/swipe-listener.min.js","test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/umanghome/swipe-listener.git"},"keywords":["swipe","gesture","event","listener","js","web","dom","gestures"],"author":{"name":"umanghome"},"license":"MIT","bugs":{"url":"https://github.com/umanghome/swipe-listener/issues"},"homepage":"https://github.com/umanghome/swipe-listener","devDependencies":{"babel-cli":"^6.26.0","babel-minify":"^0.3.0","babel-plugin-transform-object-rest-spread":"^6.26.0","babel-preset-es2015":"^6.24.1"},"gitHead":"7997ee12966087a16794c2569789b448527d9679","_id":"swipe-listener@1.0.4","_npmVersion":"5.6.0","_nodeVersion":"9.3.0","_npmUser":{"name":"umanghome","email":"umanghome@gmail.com"},"dist":{"integrity":"sha512-QB7gJEhQARooyNV75IrXcT4hxWnZkk3cDd8U8AhOvJGT6A4UCt3O5JkWW8KxDqGj1OkReZDIjd7NuWusdt0ZSQ==","shasum":"2703f3bd32ce3e0b2e4e80fcda9d3ce266262ac4","tarball":"https://registry.npmjs.org/swipe-listener/-/swipe-listener-1.0.4.tgz","fileCount":9,"unpackedSize":24968,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCGwqxR7zPyMOatmtBGpb6QkpwunE2tInfhzSgebLRezwIhAJ8WJH1I4KsuG2OCMiv9wxiB5W2DtzpNvek+pFvZcrB5"}]},"maintainers":[{"name":"sidx1024","email":"vistax86live@gmail.com"},{"name":"umanghome","email":"umanghome@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/swipe-listener_1.0.4_1519668708911_0.960705056086359"},"_hasShrinkwrap":false},"1.0.5":{"name":"swipe-listener","version":"1.0.5","description":"Zero-dependency, minimal swipe-gesture listener for the web.","main":"index.js","scripts":{"build":"babel index.js --out-file dist/swipe-listener.js --presets es2015 --plugins=transform-object-rest-spread && babel-minify dist/swipe-listener.js --out-file dist/swipe-listener.min.js","test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/umanghome/swipe-listener.git"},"keywords":["swipe","gesture","event","listener","js","web","dom","gestures"],"author":{"name":"umanghome"},"license":"MIT","bugs":{"url":"https://github.com/umanghome/swipe-listener/issues"},"homepage":"https://github.com/umanghome/swipe-listener","devDependencies":{"babel-cli":"^6.26.0","babel-minify":"^0.3.0","babel-plugin-transform-object-rest-spread":"^6.26.0","babel-preset-es2015":"^6.24.1"},"gitHead":"99ef48c62bc645b8431da4146b187bc6b617f364","_id":"swipe-listener@1.0.5","_npmVersion":"5.6.0","_nodeVersion":"9.3.0","_npmUser":{"name":"umanghome","email":"umanghome@gmail.com"},"dist":{"integrity":"sha512-rVEgmsbIjG5I8lVN7VFShKDI60hTh+q4cX0k7Qmthox1ty84Tqk9HrasM10m5aW+b2L66BNI4fo+1XXm5QTOvQ==","shasum":"74ffc703575e8c800eff4dd32857cc7ca8bf38e4","tarball":"https://registry.npmjs.org/swipe-listener/-/swipe-listener-1.0.5.tgz","fileCount":9,"unpackedSize":29306,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGdMYWLTBggsreA4w6dDsMZX67ZRESKgfFJWXKcmWf7JAiEAlkbPs7Y0EFQ+g23S1C5C2xTOB9zqvPmHve/N2r6+3QA="}]},"maintainers":[{"name":"sidx1024","email":"vistax86live@gmail.com"},{"name":"umanghome","email":"umanghome@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/swipe-listener_1.0.5_1520306795093_0.934113592431739"},"_hasShrinkwrap":false},"1.0.6":{"name":"swipe-listener","version":"1.0.6","description":"Zero-dependency, minimal swipe-gesture listener for the web.","main":"index.js","scripts":{"build":"babel index.js --out-file dist/swipe-listener.js --presets es2015 --plugins=transform-object-rest-spread && babel-minify dist/swipe-listener.js --out-file dist/swipe-listener.min.js","test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/umanghome/swipe-listener.git"},"keywords":["swipe","gesture","event","listener","js","web","dom","gestures"],"author":{"name":"umanghome"},"license":"MIT","bugs":{"url":"https://github.com/umanghome/swipe-listener/issues"},"homepage":"https://github.com/umanghome/swipe-listener","devDependencies":{"babel-cli":"^6.26.0","babel-minify":"^0.3.0","babel-plugin-transform-object-rest-spread":"^6.26.0","babel-preset-es2015":"^6.24.1"},"gitHead":"054e88344c0b55d45294010fa5118fa1ce3e763b","_id":"swipe-listener@1.0.6","_npmVersion":"5.7.1","_nodeVersion":"9.3.0","_npmUser":{"name":"umanghome","email":"umanghome@gmail.com"},"dist":{"integrity":"sha512-rftyeq93P1iASGKsDbfwFkUvL5ykH/b9p/yAnRzex9Hz7XSrqj0bUQWiEFzqV/IqKa6bTlLxNSiXsYV1fX3lWw==","shasum":"f1219027d3f2b217ad325754e5d3f9038a2e0b76","tarball":"https://registry.npmjs.org/swipe-listener/-/swipe-listener-1.0.6.tgz","fileCount":9,"unpackedSize":30517,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDLn4LOo6sipyiiFsMyDQ8OZVmASmrEQ48C944TShifiAiAqaPD158eQK+Zuqj3x80MFd+unvOaLgf1TFN1oPf578Q=="}]},"maintainers":[{"name":"sidx1024","email":"vistax86live@gmail.com"},{"name":"umanghome","email":"umanghome@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/swipe-listener_1.0.6_1523472892988_0.7753621363044516"},"_hasShrinkwrap":false},"1.0.7":{"name":"swipe-listener","version":"1.0.7","description":"Zero-dependency, minimal swipe-gesture listener for the web.","main":"index.js","scripts":{"build":"babel index.js --out-file dist/swipe-listener.js --presets es2015 --plugins=transform-object-rest-spread && babel-minify dist/swipe-listener.js --out-file dist/swipe-listener.min.js","test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/umanghome/swipe-listener.git"},"keywords":["swipe","gesture","event","listener","js","web","dom","gestures"],"author":{"name":"umanghome"},"license":"MIT","bugs":{"url":"https://github.com/umanghome/swipe-listener/issues"},"homepage":"https://github.com/umanghome/swipe-listener","devDependencies":{"babel-cli":"^6.26.0","babel-minify":"^0.3.0","babel-plugin-transform-object-rest-spread":"^6.26.0","babel-preset-es2015":"^6.24.1"},"gitHead":"7612436e7a61ad3c539dcbd504f4aae53699b649","_id":"swipe-listener@1.0.7","_npmVersion":"6.4.0","_nodeVersion":"9.3.0","_npmUser":{"name":"umanghome","email":"umanghome@gmail.com"},"dist":{"integrity":"sha512-XoFTO0LoXhO6KaLMuhd2XbHcofLg0fLSDu0kkNDFMJmfo/+hBCb14I8rrG2AJVv1jLhDpDM7MTDUE4lloPRRdA==","shasum":"f40495f5765f7d5fe9eef6dcbb12624069ef220b","tarball":"https://registry.npmjs.org/swipe-listener/-/swipe-listener-1.0.7.tgz","fileCount":9,"unpackedSize":31503,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbsFTYCRA9TVsSAnZWagAAV7UP/jjtomRWpCdCR+vUgKoL\naBLcR+38o7ZkEUdU4yaPYKQ76HYYR+7nNR/LjljR50Ig+O5BlLgBPiObIxph\nL6bnI8aBe5cMIPZ9wQXzIYG6piCIeajRYL7Lai2f9bt/WQ2gjrCNw7Hdc9dc\nxQ2QrdhXmDKfblhaEO5Zy5ZEqUeRwd46SQzGWPGnv8wWVi7fytw0kThdLxVD\nP4wXe9pjSFMSPKX5yjSmsarOE8xgRdYiRUh1hSUczCgITCo6t0qZKlrQWvHm\nT4YY0rhAMm9ElPsCbigPD2d7KkNlRE44fTy23jbZqL/XA9dF+MzuxUnrkKHq\nHbQ4jw/EE/v4tHh02xZIq2G+dLUA/94kB2vJ3B6bnX6f0s0ByVhTsm1FZ7QU\nVtbdkcP92eZgG+5RS+YCZmfHA/7mC6032ycvE7UUADvFRwU0yocrmbH2p5mB\n3t2T1H6mXV8W6K25c5JY/cOEH4vy1ziD31CKuO6ji1hNcNYnHEG2c/k69Hgl\n4TQ6BmzuBdwGMJP1wEW4kDM+PjeL7QRs3/WqNGs+JkpCo4rB3pp7tLRVsxMc\njNz5a1kJci+Gl92aqxTAzd+prLPIdqTJyGHjxXwYuaSCWwoSiXyGnc42ofNv\nCr0Ly9jOUaH80TwzOgOJ/fk40hJoNxfI5YiWVTGZcvySX4SuTHjytCs/WICo\nycsU\r\n=fJXk\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAFcjh9Q6bOHib1EEKDPs/q/zWptQ+3ysdQrETM/pcIQAiEAueI/zaCxwzI+4Txf1UtaTFF3kLzPABSeIkJX7SMyw7o="}]},"maintainers":[{"name":"sidx1024","email":"vistax86live@gmail.com"},{"name":"umanghome","email":"umanghome@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/swipe-listener_1.0.7_1538282711377_0.5118949325459254"},"_hasShrinkwrap":false},"1.1.0":{"name":"swipe-listener","version":"1.1.0","description":"Zero-dependency, minimal swipe-gesture listener for the web.","main":"dist/swipe-listener.min.js","scripts":{"build":"babel index.js --out-file dist/swipe-listener.js --presets es2015 --plugins=transform-object-rest-spread && babel-minify dist/swipe-listener.js --out-file dist/swipe-listener.min.js","test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/umanghome/swipe-listener.git"},"keywords":["swipe","gesture","event","listener","js","web","dom","gestures"],"author":{"name":"umanghome"},"license":"MIT","bugs":{"url":"https://github.com/umanghome/swipe-listener/issues"},"homepage":"https://github.com/umanghome/swipe-listener","devDependencies":{"babel-cli":"^6.26.0","babel-minify":"^0.3.0","babel-plugin-transform-object-rest-spread":"^6.26.0","babel-preset-es2015":"^6.24.1"},"gitHead":"adf5fceb2b0f901112f43577f039be2e919025c4","_id":"swipe-listener@1.1.0","_nodeVersion":"9.3.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-89mLHgoTejI2I1/oK6x8OGov6fwK6ujcSb8is8yWHo9txBOpm4a6k06MUUr7WNFvMMHYgY50IPRMxSk7ce43TQ==","shasum":"f56bbe1efad3a4d91a1f5df3d03747201fca9a03","tarball":"https://registry.npmjs.org/swipe-listener/-/swipe-listener-1.1.0.tgz","fileCount":9,"unpackedSize":33102,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdI2aTCRA9TVsSAnZWagAAL28P/2loc+0epO2oC+WIeTdV\nxjSWhCkw/rqkAXpy4p65onuOgnxk7+yBp6g1Zum5zTQRAMpFWuxcYsMbyTWk\ngjueUWzTj/dc4LVdIgsd2Y4X927h79nr+In1hSvhq1b1c7WHL1nXcc/5LdpI\n9wxUP+VFax3Zvr45Pvf14jau/f//b6mitoA4YRR8KCIizKNJKOlP20dXsyfA\n/WMMIZepuiB86zLDpsecmSptc5ggkYtTu6Qs0KrbEUjAJJnyt9HFN0Di30pS\nRaMdNmq+ptg4LvbJpRsBDlYcuh7vC7lkRRxDf+Z6T1uqkiYTO2UNkQLGQTs0\n2qAM6byspK+EMa1wObcjpPJ9XAiP3xSdEAVtf7d7uktu9nb4r+tdlcX+QV2j\nyBDq7VMKXx1G3F+bqVRhRoa3qbUBuW/b1hj9mng00eBisBKaKj7xf4ntBAIy\n0oz+RPI8cLWbxpIIuFpYdsTOW2/osm1aAhPIqlytKM5rWpLL8t8LDLdrjFoO\n6x55dQgcDSe58VM28LRS7r/sH7RFV6CmL23wfXUdSjfCVsIoaiSmV855jAdV\nzCyQ1bcFVCkYMW5lJhct48YdeWB3QfV8Sjd56AdY0qmZn4kpygsnYgg/F3us\nK6vhGNb2vMj+nNxmqEh6A9yv3zbYWU8u/+dZwSReelriKm+8hxmDKeGjZdSa\nddON\r\n=rLwl\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCIXOWVh+x5GwdeLNoahAHnPB4aYzE3hxc1k5w+6EQw1gIhAMeiUvf1onFdoWpi0fzsGmwmkFabIeWJgGbOD9OyioHj"}]},"maintainers":[{"name":"sidx1024","email":"vistax86live@gmail.com"},{"name":"umanghome","email":"umanghome@gmail.com"}],"_npmUser":{"name":"umanghome","email":"umanghome@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/swipe-listener_1.1.0_1562601105795_0.4164420547953316"},"_hasShrinkwrap":false},"1.2.0":{"name":"swipe-listener","version":"1.2.0","description":"Zero-dependency, minimal swipe-gesture listener for the web.","main":"dist/swipe-listener.min.js","scripts":{"build":"babel index.js --out-file dist/swipe-listener.js --presets es2015 --plugins=transform-object-rest-spread && babel-minify dist/swipe-listener.js --out-file dist/swipe-listener.min.js","test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/umanghome/swipe-listener.git"},"keywords":["swipe","gesture","event","listener","js","web","dom","gestures"],"author":{"name":"umanghome"},"license":"MIT","bugs":{"url":"https://github.com/umanghome/swipe-listener/issues"},"homepage":"https://github.com/umanghome/swipe-listener","devDependencies":{"babel-cli":"^6.26.0","babel-minify":"^0.3.0","babel-plugin-transform-object-rest-spread":"^6.26.0","babel-preset-es2015":"^6.24.1"},"gitHead":"0f41b4d684d9b056c3ccfb39aa658c7253f7ca5d","_id":"swipe-listener@1.2.0","_nodeVersion":"12.15.0","_npmVersion":"6.14.2","dist":{"integrity":"sha512-h7Or+JQknxTw8hcGZ40tgWl1DQ02suGZL4tPs+CBqa6VqVdsMg8hUS/BeYSl1SGhgpJnySvpUUsE5kdtVA52Dg==","shasum":"a5e3286a8818ec07fb0554ca5b60845ff0e0972c","tarball":"https://registry.npmjs.org/swipe-listener/-/swipe-listener-1.2.0.tgz","fileCount":9,"unpackedSize":33390,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe2Q/ACRA9TVsSAnZWagAAAY8P/Rs2lZxqp55QItnMKMV0\nVOZx1ADc5znvA/DftWUOQkN6+qir+7M1IA76ejOia4djIByXrP/gKaSGgMxr\nvqfBm7afCiGS8BltBD5YDcPo7i6taA4C6VpOF71I0NrPk0OuOzWxnPUZ3CKU\nuNtDPgzw3un4JdV37YBB+D+/R2gC2DCeQYNs8Epg+4tr3NFXrzQUyihoDRIY\nhgYxOxSMSYZKqqX6EIgD7yXf8hlva7aOHN4mSTmKAze1LKeYGuZHybBiTbu0\nKoRwUve9kob6UBAIEJWu57YQa1CxxqfBl0dSulA9+VZtIrn9BPVUalJ+6qxQ\nCsRyuxhPKZIS01vy4IqF0X/Gu/ZzM0qMqC0b2LvIjjDT7CMgiak1CRGTIDwK\nqYpa4Ft2/kLWF+IVy49FqyQ0B4P4JdKJxgjVK6FfcYOrRpOOuutQkQ5RdAYj\nI1sYty1VGMDtrsuhOOuAK/4PqNAkRp1SBSt8bloEuHrXlhWCLZMz6+wNTNq3\nmKo2cmiRkTD4CpNRHNG68srT7oiROHZ1uFTt/acDUfsZrD/qLiDMLiuPW5VP\n0eZLWQwUi9HDowsROhRz/kpjI7so0H97AXaASuaOUb4XhlDiOG0h/Emr9Jl7\n1gY8mGYMh2TeH6n9DDb/7TYk/iVHhUiP2kKw9tn7MA02Zsu4AJiNWY9N58Z0\njBTZ\r\n=v/qN\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCazzZzHMGItb5QGPfl+wuJsephrezIaTLgdh8o85jIIgIhAPq2wvq0PPFcO65hMzDtkQuepzJ2xWymIWEHcKcTul5j"}]},"maintainers":[{"name":"sidx1024","email":"vistax86live@gmail.com"},{"name":"umanghome","email":"umanghome@gmail.com"}],"_npmUser":{"name":"umanghome","email":"umanghome@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/swipe-listener_1.2.0_1591283648433_0.21051609426527218"},"_hasShrinkwrap":false},"1.3.0":{"name":"swipe-listener","version":"1.3.0","description":"Zero-dependency, minimal swipe-gesture listener for the web.","main":"dist/swipe-listener.min.js","scripts":{"build":"babel index.js --out-file dist/swipe-listener.js --presets es2015 --plugins=transform-object-rest-spread && babel-minify dist/swipe-listener.js --out-file dist/swipe-listener.min.js","test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/umanghome/swipe-listener.git"},"keywords":["swipe","gesture","event","listener","js","web","dom","gestures"],"author":{"name":"umanghome"},"license":"MIT","bugs":{"url":"https://github.com/umanghome/swipe-listener/issues"},"homepage":"https://github.com/umanghome/swipe-listener","devDependencies":{"babel-cli":"^6.26.0","babel-minify":"^0.3.0","babel-plugin-transform-object-rest-spread":"^6.26.0","babel-preset-es2015":"^6.24.1"},"gitHead":"a933014678377ad8b49c4f8b26ef99010f3f9f59","_id":"swipe-listener@1.3.0","_nodeVersion":"14.13.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-8cOZEHn8I2aVjKiAiu4tprZAS6e0nTy4RjuN/cAALKU/8212u+dqT1cytWGIoWjVzVxVggIduUtuckrHGu6/8Q==","shasum":"756a852deb65ac0a1e45872aa15a2e8e3204e38c","tarball":"https://registry.npmjs.org/swipe-listener/-/swipe-listener-1.3.0.tgz","fileCount":9,"unpackedSize":34068,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfhV6zCRA9TVsSAnZWagAA+WQP/2X3AWwvvRruuDN+V6Mc\n1ClLcySNQYpWBnUSFbi4vsaCKUwW9ZFoVvS9ILFN23O/gPgqhZzK7yVyjJiT\nILWEzwMrkNl8GpADcnKks3TtnxlVresF94L1TS6AftgjoiSnl1J9l/SmPpEs\ngeP/JR3OH4oaQugXufaaSgvzqFXtiVyhL9ECub4urDLGiGUb9smVfbizzkzG\ncnH/RN7YZ5GLs9tNq3a2k4GXdP+RsgO5qinsW70jhwapMibR1AeDbZGY/qiM\nRca4cRPfhEjtONr/6xZtUx3BTWg1tPsqkTt7z+O48Szwf9YawwmjGRx+tLZG\nExaroAxsmo09HNxZEVfZfvz9rCEqZEDlAzWlIUCH4NqicgG3KvORh51hATst\n/clmcXux1ttP0G/2eeSR7wImUQ9qX96bFLHDG+Fq89etgXsJrYt51Fd6y7j3\nY5Dp7PR0pmOAVwk6t94HbFb5eZzoonBwhLcUkHSihsGuhqCbIulZfJFZbF8W\nk+/C8g577XKLsKMYf1oa6bqM+WKv637x5GSpOgYMIdhTX8Dq2lLpHJVHEWNV\nPzsjlw6ufixn5s5RjZ99pwRzK9oKd4UWForyuhjv6hfoA4Kw1rjijPOL3aJr\nYB56RWbjzu1HRzcAUS5MuOS75CxYTXy0eXEzKCKc4uka+OuJPe6EJ2P60Fa3\nA3If\r\n=+0zU\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFW9dNRKhi7GLQYFLa3Vq6dKuUVZVdntpHHpMgEvckAuAiAT2Ka5YHrJG9aoYvH03/hFSnHWUnLq2GOel4j2O706nw=="}]},"maintainers":[{"name":"umanghome","email":"umanghome@gmail.com"},{"name":"sidx1024","email":"vistax86live@gmail.com"}],"_npmUser":{"name":"umanghome","email":"umanghome@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/swipe-listener_1.3.0_1602576051418_0.8520863045052804"},"_hasShrinkwrap":false}},"time":{"created":"2018-02-25T17:33:29.906Z","1.0.0":"2018-02-25T17:33:29.987Z","modified":"2022-05-19T05:07:47.260Z","1.0.1":"2018-02-25T17:39:34.026Z","1.0.2":"2018-02-25T18:30:00.529Z","1.0.3":"2018-02-25T20:42:06.507Z","1.0.4":"2018-02-26T18:11:49.024Z","1.0.5":"2018-03-06T03:26:35.313Z","1.0.6":"2018-04-11T18:54:53.172Z","1.0.7":"2018-09-30T04:45:11.587Z","1.1.0":"2019-07-08T15:51:45.929Z","1.2.0":"2020-06-04T15:14:08.562Z","1.3.0":"2020-10-13T08:00:51.543Z"},"maintainers":[{"name":"umanghome","email":"umanghome@gmail.com"},{"name":"sidx1024","email":"vistax86live@gmail.com"}],"description":"Zero-dependency, minimal swipe-gesture listener for the web.","homepage":"https://github.com/umanghome/swipe-listener","keywords":["swipe","gesture","event","listener","js","web","dom","gestures"],"repository":{"type":"git","url":"git+https://github.com/umanghome/swipe-listener.git"},"author":{"name":"umanghome"},"bugs":{"url":"https://github.com/umanghome/swipe-listener/issues"},"license":"MIT","readme":"# Swipe-Listener\n[![npm version](https://badge.fury.io/js/swipe-listener.svg)](https://www.npmjs.com/package/swipe-listener)\n\nZero-dependency, minimal swipe-gesture listener for the web.\n\n---\n\n## [Demo](https://umanghome.github.io/swipe-listener)\n\n# What\n\nSwipe-listener is a very minimal library that allows listening for swipe gesture on literally any DOM element. Once invoked with a DOM element, simply listen for `swipe` event and determine the direction with the `directions` object.\n\n# Example Code\n\n```js\nvar container = document.querySelector('#container');\nvar listener = SwipeListener(container);\ncontainer.addEventListener('swipe', function (e) {\n  var directions = e.detail.directions;\n  var x = e.detail.x;\n  var y = e.detail.y;\n\n  if (directions.left) {\n    console.log('Swiped left.');\n  }\n\n  if (directions.right) {\n    console.log('Swiped right.');\n  }\n\n  if (directions.top) {\n    console.log('Swiped top.');\n  }\n\n  if (directions.bottom) {\n    console.log('Swiped bottom.');\n  }\n\n  if (directions.top && directions.right) {\n    console.log('Swiped top-right.');\n  }\n\n  if (directions.top && directions.left) {\n    console.log('Swiped top-left.');\n  }\n\n  if (directions.bottom && directions.right) {\n    console.log('Swiped bottom-right.');\n  }\n\n  if (directions.bottom && directions.left) {\n    console.log('Swiped bottom-left.');\n  }\n\n  console.log('Started horizontally at', x[0], 'and ended at', x[1]);\n  console.log('Started vertically at', y[0], 'and ended at', y[1]);\n});\n```\n\n# Installation\n\n## Browser\n\n```html\n<script src=\"path/to/swipe-listener.min.js\" type=\"text/javascript\"></script>\n<script>\n  var container = document.querySelector('#container');\n  var listener = SwipeListener(container);\n  container.addEventListener('swipe', function (e) {\n    console.log(e.detail);\n  });\n</script>\n```\n\nSwipe-listener is also available from unpkg: [`https://unpkg.com/swipe-listener@1.2.0/dist/swipe-listener.min.js`](https://unpkg.com/swipe-listener@1.2.0/dist/swipe-listener.min.js)\n\n## Installing using NPM\n\nInstall from NPM using `npm i --save swipe-listener`, then\n\n```js\nimport SwipeListener from 'swipe-listener';\n```\n\nOR\n\n```js\nconst SwipeListener = require('swipe-listener');\n```\n\n# API\n\n### `SwipeListener(element, options)`\n\n- `element` DOM Element on which you want to enable swipe gesture tracking. This is the element on which you will be attacking the `swipe` event listener.\n- `options` [Optional] Configuration options (see below)\n\nListen for `swipe` event on the `element` passed. Access details using `event.detail`. For example, `directions` can be accessed using `event.detail.directions`. See [events](#events) for more events.\n\nData passed to `event.detail`:\n\n- `directions` (Object)\n  - `top` (Boolean) Signifies a top-swipe.\n  - `right` (Boolean) Signifies a right-swipe.\n  - `bottom` (Boolean) Signifies a bottom-swipe.\n  - `left` (Boolean) Signifies a left-swipe.\n- `x` (Array) Array containing two elements: starting and ending x-coords.\n- `y` (Array) Array containing two elements: starting and ending y-coords.\n- `touch` (Boolean) Whether or not `TouchEvent` was used for this particular event.\n\n**Note that multiple directions can be `true` at one. In case of a top-left swipe, `directions.top` and `directions.left` will both be `true`.**\n\n### Options\n\n| Key | Description | Default value |\n| --- | --- | --- |\n| `minHorizontal` | Minimum number of horizontal pixels travelled for the gesture to be considered as a left or right swipe. | `10` |\n| `minVertical` | Minimum number of vertical pixels travelled for the gesture to be considered as a top or bottom swipe. | `10` |\n| `deltaHorizontal` | Maximum difference between the rightmost pixel (right-swipe) or the leftmost pixel (left-swipe) travelled to and the pixel at which the gesture is released. | `3` |\n| `deltaVertical` | Maximum difference between the bottommost pixel (bottom-swipe) or the topmost pixel (top-swipe) travelled to and the pixel at which the gesture is released. | `5` |\n| `preventScroll` | Prevents page scrolling when swiping on the DOM element.  Can also be specified as a function with the signature `(event) => boolean` | `false` |\n| `lockAxis` | Enforces only one direction to be true instead of multiple. Selects the direction with the most travel. Is not enforced when the travel is equal. Example: for a top-left swipe, only one of `top` and `left` will be `true` instead of both. | `true` |\n| `touch` | Whether to listen for swipes with touch events | `true` |\n| `mouse` | Whether to listen for swipes with mouse events | `true` |\n\n### `.off()`\n\nTurns off the swipe-listener on a given element.\n\nUsage:\n\n```js\nvar listener = SwipeListener(myElem);\nlistener.off();\n```\n\n# Events\n\n### `swipe` - Emitted once a swipe is performed.\n\nEmitted once a swipe is completed.\n\n`event.detail` contains\n\n| key | type | description |\n| --- | --- | --- |\n| `directions` | Object | Object containing `top`, `left`, `bottom`, `right` keys. The directions in which the swipe is performed are set to `true`. |\n| `x` | Array | Array of two items: the starting x-coordinate and the ending x-coordinate. |\n| `y` | Array | Array of two items: the starting y-coordinate and the ending y-coordinate. |\n| `touch` | Boolean | Whether or not `TouchEvent` was used for this particular event. |\n\n### `swiping` - Emitted while a swipe is being performed.\n\nEmitted multiple times during a single swipe.\n\n`event.detail` contains\n\n| key | type | description |\n| --- | --- | --- |\n| `x` | Array | Array of two items: the starting x-coordinate and the ending x-coordinate. |\n| `y` | Array | Array of two items: the starting y-coordinate and the ending y-coordinate. |\n| `touch` | Boolean | Whether or not `TouchEvent` was used for this particular event. |\n\n### `swiperelease` - Emitted once the swipe is released/completed.\n\nEmitted at the end of the swipe.\n\n`event.detail` contains\n\n| key | type | description |\n| --- | --- | --- |\n| `x` | Array | Array of two items: the starting x-coordinate and the ending x-coordinate. |\n| `y` | Array | Array of two items: the starting y-coordinate and the ending y-coordinate. |\n| `touch` | Boolean | Whether or not `TouchEvent` was used for this particular event. |\n\n### `swipecancel` - Emitted if the swipe-distance did not meet minimum travel-distance.\n\nEmitted at the end of the swipe.\n\n`event.detail` contains\n\n| key | type | description |\n| --- | --- | --- |\n| `x` | Array | Array of two items: the starting x-coordinate and the ending x-coordinate. |\n| `y` | Array | Array of two items: the starting y-coordinate and the ending y-coordinate. |\n| `touch` | Boolean | Whether or not `TouchEvent` was used for this particular event. |\n\n# Misc\n\n- When `lockAxis` is `false`, swipes using the mouse might make multiple directions `true` even when the travel in a certain direction may not be much. You can work around this by setting `lockAxis` to `true` when the page is not being accessed from a touch-enabled device. Or, you can use `event.detail.x` and `event.detail.y` to calculate which direction has more travel and consider only that direction. Or, you can increase the values of `minVertical` and `minHorizontal`.\n- [`TouchEvent`](https://developer.mozilla.org/en-US/docs/Web/API/TouchEvent/TouchEvent) is not supported in IE and Edge. Unless you have polyfilled it into the page and it's available as `TouchEvent`, swipes made using touch will not be detected as touch swipes.\n\n---\n\n# License\n\n[MIT License](https://opensource.org/licenses/MIT) © [Umang Galaiya](https://umanggalaiya.in/)\n","readmeFilename":"README.md"}