{"_id":"unipointer","_rev":"16-97c5c43854294b383e06aaea0dba836b","name":"unipointer","description":"Do one thing with one pointer","dist-tags":{"latest":"2.4.0"},"versions":{"0.1.0":{"name":"unipointer","version":"0.1.0","description":"Do one thing with one pointer","main":"unipointer.js","dependencies":{"wolfy87-eventemitter":"~4.2.11","eventie":"~1.0.6"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git://github.com/metafizzy/unipointer.git"},"keywords":["pointer","touch","mouse","browser","DOM"],"author":{"name":"David DeSandro"},"license":"MIT","bugs":{"url":"https://github.com/metafizzy/unipointer/issues"},"homepage":"https://github.com/metafizzy/unipointer","_id":"unipointer@0.1.0","dist":{"shasum":"09a9fe0d194bf3e0c9bc851cf4861e64676cff87","tarball":"https://registry.npmjs.org/unipointer/-/unipointer-0.1.0.tgz","integrity":"sha512-bBHBiqS89KUm/CTg3Dl69/LnbZuZv3iTg7clRFu3LRmw5y6K6pjAdjMHry6vDGMy2wfsTgcUycYmFmV3tIjZUw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDw154jr1JT7opZ7v4uz2hwnIjp/6sOayY+bgG+oik81AiAPYbAlH8sTGpdzT/z2uU9/V5OQ3TxJqDsTQnEmVU2zDQ=="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"desandro","email":"desandrocodes@gmail.com"},"maintainers":[{"name":"desandro","email":"desandrocodes@gmail.com"}],"directories":{}},"1.0.0":{"name":"unipointer","version":"1.0.0","description":"Do one thing with one pointer","main":"unipointer.js","dependencies":{"wolfy87-eventemitter":"~4.2.11","eventie":"~1.0.6"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git://github.com/metafizzy/unipointer.git"},"keywords":["pointer","touch","mouse","browser","DOM"],"author":{"name":"David DeSandro"},"license":"MIT","bugs":{"url":"https://github.com/metafizzy/unipointer/issues"},"homepage":"https://github.com/metafizzy/unipointer","_id":"unipointer@1.0.0","dist":{"shasum":"a27fe7a076a95f55bc1549af353fa92fb49afbad","tarball":"https://registry.npmjs.org/unipointer/-/unipointer-1.0.0.tgz","integrity":"sha512-CppXrmwUCuARsxBF154ldRjAEIkIhc3WD4lGq9ou9Hpmk6IZUVQoLkopAHli7JGFKlXrOowFtQVrs+5zTWUkdA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHC/PyXWdK1HPgjNYENHcEcBaR+b4q0YAbAtsHoeFdgLAiEA7B8Cz8A97OTY3uAf4hWwidU2eeJLw6q1ynvUBFvNMew="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"desandro","email":"desandrocodes@gmail.com"},"maintainers":[{"name":"desandro","email":"desandrocodes@gmail.com"}],"directories":{}},"1.1.0":{"name":"unipointer","version":"1.1.0","description":"Do one thing with one pointer","main":"unipointer.js","dependencies":{"wolfy87-eventemitter":"~4.2.11","eventie":"~1.0.6"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git://github.com/metafizzy/unipointer.git"},"keywords":["pointer","touch","mouse","browser","DOM"],"author":{"name":"David DeSandro"},"license":"MIT","bugs":{"url":"https://github.com/metafizzy/unipointer/issues"},"homepage":"https://github.com/metafizzy/unipointer","_id":"unipointer@1.1.0","dist":{"shasum":"a7d7795bfe00dee835cddf37e9b13289dffd576d","tarball":"https://registry.npmjs.org/unipointer/-/unipointer-1.1.0.tgz","integrity":"sha512-RluM7sVoy4riidjcX5n+CHG0nIyoSfjTmKKb1eiO3HZHgGzmomlPBrRCdfhwyHrQbYxkuM5JeNxSKfILr4Uemg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCJ+HufJ9Z0ValX+6fyOwg0deSyquE9GmjsRm7BkarMegIgHFG8iVWFNZHvXHRZszkheu9VDzF/rR/OCZylbK0lMcs="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"desandro","email":"desandrocodes@gmail.com"},"maintainers":[{"name":"desandro","email":"desandrocodes@gmail.com"}],"directories":{}},"2.0.0":{"name":"unipointer","version":"2.0.0","description":"Do one thing with one pointer","main":"unipointer.js","dependencies":{"wolfy87-eventemitter":"~4.2.11"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git://github.com/metafizzy/unipointer.git"},"keywords":["pointer","touch","mouse","browser","DOM"],"author":{"name":"David DeSandro"},"license":"MIT","bugs":{"url":"https://github.com/metafizzy/unipointer/issues"},"homepage":"https://github.com/metafizzy/unipointer","gitHead":"3fc20c9f8ac23d9e8325f6c6386ee7eb5fc544a7","_id":"unipointer@2.0.0","_shasum":"edf9e8a6b5781a35f111c609061f7835aebe9ccd","_from":".","_npmVersion":"2.14.12","_nodeVersion":"4.2.4","_npmUser":{"name":"desandro","email":"desandrocodes@gmail.com"},"maintainers":[{"name":"desandro","email":"desandrocodes@gmail.com"}],"dist":{"shasum":"edf9e8a6b5781a35f111c609061f7835aebe9ccd","tarball":"https://registry.npmjs.org/unipointer/-/unipointer-2.0.0.tgz","integrity":"sha512-CyPrBRiJ6ZNefM5WI7y3bon9+NEysrLxryf5uSxjDHIK18de2QdZkDwax3YZezPKfM532LjkZXVtji16HHt8Rg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDgw8J2W2KZJkeuxhrqmOX0/Fcqk6kLLIsDGukRptLtlAiBuQLSEoeodMBypg9VE5TXjIKwGjEKvMEkM3aOf83GlXA=="}]},"directories":{}},"2.1.0":{"name":"unipointer","version":"2.1.0","description":"Do one thing with one pointer","main":"unipointer.js","dependencies":{"ev-emitter":"~1.0.1"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git://github.com/metafizzy/unipointer.git"},"keywords":["pointer","touch","mouse","browser","DOM"],"author":{"name":"David DeSandro"},"license":"MIT","bugs":{"url":"https://github.com/metafizzy/unipointer/issues"},"homepage":"https://github.com/metafizzy/unipointer","gitHead":"d73186583470cd4bdfce0870e9c9057cb60de392","_id":"unipointer@2.1.0","_shasum":"b1e9fa2986c1306d97330587ba434d285ccfe37f","_from":".","_npmVersion":"2.14.12","_nodeVersion":"4.2.4","_npmUser":{"name":"desandro","email":"desandrocodes@gmail.com"},"maintainers":[{"name":"desandro","email":"desandrocodes@gmail.com"}],"dist":{"shasum":"b1e9fa2986c1306d97330587ba434d285ccfe37f","tarball":"https://registry.npmjs.org/unipointer/-/unipointer-2.1.0.tgz","integrity":"sha512-QSwdB5Azgwy2hcdPeocP6atbzTjqCrKDFjuDgs5CAwjgscoGFpQ1GCoWcphZL1DwyWknY4+DUSNNdGoR6m6Ubw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCSVmRUhBWhOgqjJTaEqQd3RUHQK2MAa0jlQIGP3LrILQIgXiv+McnKch4DJBCVhrtb9BmfKPeI8wXL8kHYxA9Rd2A="}]},"directories":{}},"2.2.0":{"name":"unipointer","version":"2.2.0","description":"Do one thing with one pointer","main":"unipointer.js","dependencies":{"ev-emitter":"^1.0.1"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git://github.com/metafizzy/unipointer.git"},"keywords":["pointer","touch","mouse","browser","DOM"],"author":{"name":"David DeSandro"},"license":"MIT","bugs":{"url":"https://github.com/metafizzy/unipointer/issues"},"homepage":"https://github.com/metafizzy/unipointer","gitHead":"f959d010e4b796270f38b39e3388570c662c6304","_id":"unipointer@2.2.0","_shasum":"3f6cf997f7d7dc78f75385106a5527efc5d71b61","_from":".","_npmVersion":"3.10.8","_nodeVersion":"6.9.1","_npmUser":{"name":"desandro","email":"desandrocodes@gmail.com"},"maintainers":[{"name":"desandro","email":"desandrocodes@gmail.com"}],"dist":{"shasum":"3f6cf997f7d7dc78f75385106a5527efc5d71b61","tarball":"https://registry.npmjs.org/unipointer/-/unipointer-2.2.0.tgz","integrity":"sha512-UQV68PotRnpuSX+GnPAAVhAk5/n0t1bJru/+/KR5vn/5w8Omf33fH0l4Pt3h/oe8CEyZlCo0lypALRXi9lwkpQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICe0F8RPTeaLqHa06BThg8xjPSEW4Pp1sb1TTGZQQrl1AiEAmlMq3o55BqXdBdD0a0uPf9Yz6LQTXYfYK3D+mJI9e0M="}]},"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/unipointer-2.2.0.tgz_1489633065650_0.42952718771994114"},"directories":{}},"2.2.1":{"name":"unipointer","version":"2.2.1","description":"Do one thing with one pointer","main":"unipointer.js","dependencies":{"ev-emitter":"^1.0.1"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git://github.com/metafizzy/unipointer.git"},"keywords":["pointer","touch","mouse","browser","DOM"],"author":{"name":"David DeSandro"},"license":"MIT","bugs":{"url":"https://github.com/metafizzy/unipointer/issues"},"homepage":"https://github.com/metafizzy/unipointer","gitHead":"620bce41f2e9a83c0a51cf02ceb2b91f6dbccdca","_id":"unipointer@2.2.1","_npmVersion":"5.4.2","_nodeVersion":"6.9.1","_npmUser":{"name":"desandro","email":"desandrocodes@gmail.com"},"maintainers":[{"name":"desandro","email":"desandrocodes@gmail.com"}],"dist":{"integrity":"sha512-SlLajwsalRuWFiqiRuiMbsKJDiL2o0Iv7h3B8ZtmUUljPQC61GiqAY4q+Kh2VVNKCHTk0XIskKDOK6UlaaNFUQ==","shasum":"05f9adaac92c0e6e6ed41ce85adab26166b03ee6","tarball":"https://registry.npmjs.org/unipointer/-/unipointer-2.2.1.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDE8hqXBb3ep9XIJrqd+HKzWoDCS1NRkB8mZg1QZNuLnQIgLaguP91gH3EeqF3V8UeHz/d75Plli53ZvLywW+hAq70="}]},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/unipointer-2.2.1.tgz_1511365436810_0.172300954349339"},"directories":{}},"2.3.0":{"name":"unipointer","version":"2.3.0","description":"Do one thing with one pointer","main":"unipointer.js","dependencies":{"ev-emitter":"^1.0.1"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git://github.com/metafizzy/unipointer.git"},"keywords":["pointer","touch","mouse","browser","DOM"],"author":{"name":"David DeSandro"},"license":"MIT","bugs":{"url":"https://github.com/metafizzy/unipointer/issues"},"homepage":"https://github.com/metafizzy/unipointer","gitHead":"e130d01c304971e95331212790f4cd412e22d010","_id":"unipointer@2.3.0","_npmVersion":"5.7.1","_nodeVersion":"6.9.1","_npmUser":{"name":"desandro","email":"desandrocodes@gmail.com"},"maintainers":[{"name":"desandro","email":"desandrocodes@gmail.com"}],"dist":{"integrity":"sha512-m85sAoELCZhogI1owtJV3Dva7GxkHk2lI7A0otw3o0OwCuC/Q9gi7ehddigEYIAYbhkqNdri+dU1QQkrcBvirQ==","shasum":"ba0dc462ce31c2a88e80810e19c3bae0ce47ed9f","tarball":"https://registry.npmjs.org/unipointer/-/unipointer-2.3.0.tgz","fileCount":4,"unpackedSize":9267,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCFjFACLjBRYyAvZSKiWH9w319EsWkxugVE1Amb+d9F+QIhAKVcsyNM8+UcjE0ea7mnIEMogLXOhFjsm4djCVqhAcuW"}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/unipointer_2.3.0_1522153780929_0.702166044530347"},"_hasShrinkwrap":false},"2.4.0":{"name":"unipointer","version":"2.4.0","description":"Do one thing with one pointer","main":"unipointer.js","dependencies":{"ev-emitter":"^1.0.1"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git://github.com/metafizzy/unipointer.git"},"keywords":["pointer","touch","mouse","browser","DOM"],"author":{"name":"David DeSandro"},"license":"MIT","bugs":{"url":"https://github.com/metafizzy/unipointer/issues"},"homepage":"https://github.com/metafizzy/unipointer","gitHead":"19431228987919c3fbc7cf25ce65bf01d2dfff48","_id":"unipointer@2.4.0","_nodeVersion":"12.18.0","_npmVersion":"7.19.1","dist":{"integrity":"sha512-VjzDLPjGK7aYpQKH7bnDZS8X4axF5AFU/LQi+NQe1oyEHfaz6lWKhaQ7n4o7vJ1iJ4i2T0quCIfrQM139p05Sw==","shasum":"ac7316aff6170ff87a4b008e55e842fb4bf13181","tarball":"https://registry.npmjs.org/unipointer/-/unipointer-2.4.0.tgz","fileCount":4,"unpackedSize":9379,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhv1o0CRA9TVsSAnZWagAASVIP/3HFNOJFH7kYO+gv3tXa\n/Z5pPRwdPeiM49k39DO/36jP912WbdoSpaWWEEs2GReplYCdPqvssSbAWfWr\nMTMRLS+cTojLoaD8YKSuEs3Ouv3YBp+St3tQgjlJnPOtnHNo+L16enKIS99E\nj9EON9HQUjdALyLsBJn8xKg/zwJhxbWXNf0C1fnOo0nmGFpSZ+AChRXas7Fr\nshwsCD3TMIOWaJb1Zrfbd7EUDupyyOWz5swbMevjSxLJa5vx7nmdo/at+i3D\nYhdo7Kb8kXF1+JXh/L1/fgPRo7bYA6pY3wJS85j/AtL2Stz9xDZV+W78DcPt\nQPE4XgnainTr5y52/SxrNTkgKMRJ4dcNzkq7DHvb1YnDymqZA1gJncAt+4at\n+QKEnjIKQxdoch8jgOs7rj/LkTaAQq5G4EsxBKAXHZUBLlJKhfgWUU5G2gVt\nkV3FXl7+V/VSP5c/LQA8Npyhe1Vz7PnysqkJ/tT9p+ig0q9N1jMGuJtX2sRu\nQT7tAJfZMvImY/+BUiwjFr8NqyELRtAXUQ5Rij1CnPQh82Hwxjows8k9X7Xg\n1Egst0duwMpPnRuhk0NgwFpQhfiGb2A75aI8sBmbYiyAXQl0oZapWF0BslH8\nz6n7OMPzhkU/hi7qcEQIAeX+0LfaDaPZJUhBt897RYwVXO6OexdDjYIV7M0p\nMa3Y\r\n=srau\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDIeLPAKII5/w/WcOwqyurpARI9MeX5DJoALpqOi8Y+RgIgfL/D/ItZItl2nUz1jL3McUMjubLQ8KWvy4bTGP8lQXQ="}]},"_npmUser":{"name":"desandro","email":"desandrocodes@gmail.com"},"directories":{},"maintainers":[{"name":"desandro","email":"desandrocodes@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/unipointer_2.4.0_1639930420416_0.07046706275468129"},"_hasShrinkwrap":false}},"readme":"# Unipointer\n\nBase class for doing one thing with pointer event\n\nUsed with [Unidragger](https://github.com/metafizzy/unidragger) and [TapListener](https://github.com/metafizzy/tap-listener)\n\n## Install\n\nBower: `bower install unipointer`\n\nnpm: `npm install unipointer`\n\n## Usage\n\n``` js\n// create new class\nfunction PointerFun( elem ) {\n  this.element = elem;\n  // binds mousedown/touchstart/pointerdown event\n  this._bindStartEvent( this.element, true );\n}\n// inherit Unipointer\nPointerFun.prototype = new Unipointer();\n\n// overwrite public pointer methods\nPointerFun.prototype.pointerDown = function( event, pointer ) {\n  console.log('pointer down');\n};\n\nPointerFun.prototype.pointerMove = function( event, pointer ) {\n  console.log('pointer move');\n};\n\nPointerFun.prototype.pointerUp = function( event, pointer ) {\n  console.log('pointer up');\n};\n\nPointerFun.prototype.pointerCancel = function( event, pointer ) {\n  console.log('pointer cancel');\n};\n\n// triggered on pointerUp and pointerCancel \nPointerFun.prototype.pointerDone = function( event, pointer ) {\n  console.log('pointer done');\n};\n```\n\n---\n\nMIT license\n\nBy [Metafizzy](https://metafizzy.co)\n","maintainers":[{"name":"desandro","email":"desandrocodes@gmail.com"}],"time":{"modified":"2022-06-28T04:39:02.182Z","created":"2015-01-24T20:45:40.382Z","0.1.0":"2015-01-24T20:45:40.382Z","1.0.0":"2015-02-26T01:07:24.107Z","1.1.0":"2015-03-07T18:40:40.167Z","2.0.0":"2016-01-03T14:56:56.863Z","2.1.0":"2016-01-17T01:58:38.053Z","2.2.0":"2017-03-16T02:57:46.196Z","2.2.1":"2017-11-22T15:43:57.752Z","2.3.0":"2018-03-27T12:29:40.967Z","2.4.0":"2021-12-19T16:13:40.570Z"},"homepage":"https://github.com/metafizzy/unipointer","keywords":["pointer","touch","mouse","browser","DOM"],"repository":{"type":"git","url":"git://github.com/metafizzy/unipointer.git"},"author":{"name":"David DeSandro"},"bugs":{"url":"https://github.com/metafizzy/unipointer/issues"},"license":"MIT","readmeFilename":"README.md","users":{"bsara":true}}