{"_id":"create-point-cb","_rev":"5-1072aee9f2c837e8a031f8331a24f75d","name":"create-point-cb","description":"Create a point from a DOM event","dist-tags":{"latest":"1.2.0"},"versions":{"1.0.0":{"name":"create-point-cb","version":"1.0.0","description":"Create a point from a DOM event","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"keywords":["DOM","point","event"],"author":{"name":"Quentin Engles","email":"hollowdoor99@gmail.com"},"license":"MIT","gitHead":"e7afec9cef36fb14d5145de6526de22271f4feb7","_id":"create-point-cb@1.0.0","_shasum":"740873f385deb4ac339809c98cd036a93027f12e","_from":".","_npmVersion":"3.6.0","_nodeVersion":"5.6.0","_npmUser":{"name":"hollowdoor","email":"hollowdoor99@gmail.com"},"maintainers":[{"name":"hollowdoor","email":"hollowdoor99@gmail.com"}],"dist":{"shasum":"740873f385deb4ac339809c98cd036a93027f12e","tarball":"https://registry.npmjs.org/create-point-cb/-/create-point-cb-1.0.0.tgz","integrity":"sha512-rhpMRwbkN48YR0zzGrMxqTgDNQOa1ONmkEcanSJQV1u1rjiSvI3z3/lVJa9YmcYy1GNjrULuSNXZysO/9Vz6eg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDK6UMdzPeFvmUwdQhjl5NMV0cwC8rL2OFzr+ejzCNDgAiEAwodNKpk+hcNxX5GRENQzK6KqO2d/X8Fgz5q+amj3KRY="}]},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/create-point-cb-1.0.0.tgz_1464913230775_0.342517007375136"}},"1.1.0":{"name":"create-point-cb","version":"1.1.0","description":"Create a point from a DOM event","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"keywords":["DOM","point","event"],"author":{"name":"Quentin Engles","email":"hollowdoor99@gmail.com"},"license":"MIT","gitHead":"ea7681582eb26d1be03898bb4eca78bb3029166e","_id":"create-point-cb@1.1.0","_shasum":"31a7d0ebd2768bbbcde8b3f035da2dbeae0a5308","_from":".","_npmVersion":"3.10.8","_nodeVersion":"7.0.0","_npmUser":{"name":"hollowdoor","email":"hollowdoor99@gmail.com"},"dist":{"shasum":"31a7d0ebd2768bbbcde8b3f035da2dbeae0a5308","tarball":"https://registry.npmjs.org/create-point-cb/-/create-point-cb-1.1.0.tgz","integrity":"sha512-TFBxm2iwMybLxzSXZZj/06LIeG4hn1pJe2z785fzX0B+bhS5tNELqwKoliOabnAUybZxMJgF1JJc8FEglzO3Fg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIA3m751d+GYuLqzu+jRH/vsMp2lPtUs48BQzzjDgTiOkAiEAhv8bkR/u3JHoKOtQmfiHi25XxnXsVdwAI9hT86B5kes="}]},"maintainers":[{"name":"hollowdoor","email":"hollowdoor99@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/create-point-cb-1.1.0.tgz_1478819707967_0.3486101410817355"}},"1.2.0":{"name":"create-point-cb","version":"1.2.0","description":"Create a point from a DOM event","main":"dist/bundle.js","jsnext:main":"dist/bundle.es.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"node ./rollit"},"keywords":["DOM","point","event"],"author":{"name":"Quentin Engles","email":"hollowdoor99@gmail.com"},"license":"MIT","devDependencies":{"babel-preset-es2015-rollup":"^1.2.0","rollup-plugin-babel":"^2.6.1","rollup-plugin-commonjs":"^5.0.5","rollup-plugin-node-resolve":"^2.0.0","uglify-js":"^2.7.4"},"dependencies":{"type-func":"^1.0.1"},"gitHead":"148ff99b2a99002d557f8b15a0c662ea7c1756f6","_id":"create-point-cb@1.2.0","_shasum":"1bce47fc4fc01855ee12138d676b0cb2a7cbce71","_from":".","_npmVersion":"3.10.8","_nodeVersion":"7.0.0","_npmUser":{"name":"hollowdoor","email":"hollowdoor99@gmail.com"},"dist":{"shasum":"1bce47fc4fc01855ee12138d676b0cb2a7cbce71","tarball":"https://registry.npmjs.org/create-point-cb/-/create-point-cb-1.2.0.tgz","integrity":"sha512-r4l6IO/YGI7hIZRMLggOzwM6XO80+Fdcv4hx1fXCEdU+hKd7zZki6i+cbYfK9OliMwMYx1wPfQLU/snvS+Dygw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD2jo5l3qTzYh/gbTAqsfDtfyRW+Th1wRCD+0/2aMzctQIgeuZ4OtBGuu8qMWKl2pW4Vv9b8xAWdTBQ7HHqLDVMcLQ="}]},"maintainers":[{"name":"hollowdoor","email":"hollowdoor99@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/create-point-cb-1.2.0.tgz_1479412304305_0.8411682501900941"}}},"readme":"create-point-cb\n===============\n\nInstall\n-------\n\n`npm install --save create-point-cb`\n\nUsage\n-----\n\n```javascript\nvar createPointCB = require('create-point-cb'),\n    myPoint = {},\n    pointCB = createPointCB(myPoint);\n\nwindow.addEventListener('mousemove', pointCB, false);\nwindow.addEventListener('touchmove', pointCB, false);\n```\n\nAbout\n-----\n\nAny object you pass to `createPointCB` will get these properties:\n\n-\tx (the document window x coordinate)\n-\ty (the document window y coordinate)\n-\ttarget (the current event.target)\n-\telement (this value inside the event callback)\n-\tpageX (the event.pageX value)\n-\tpageY (thie event.pageY value)\n-\ttype (the event.type)\n\nUse `create-point-cb` with any DOM event that will have `clientX`, or `clientY` properties. This usually would be **mousemove**, or the **touchmove** event on the `window` object.\n\nHappy coding. :)\n","maintainers":[{"name":"hollowdoor","email":"hollowdoor99@gmail.com"}],"time":{"modified":"2022-06-14T03:03:16.820Z","created":"2016-06-03T00:20:33.326Z","1.0.0":"2016-06-03T00:20:33.326Z","1.1.0":"2016-11-10T23:15:08.520Z","1.2.0":"2016-11-17T19:51:46.035Z"},"keywords":["DOM","point","event"],"author":{"name":"Quentin Engles","email":"hollowdoor99@gmail.com"},"license":"MIT","readmeFilename":"README.md"}