{"_id":"snipes","_rev":"9-4de4dd5e752f21c220074cac61a1f2fe","name":"snipes","time":{"modified":"2022-06-26T21:42:40.057Z","created":"2011-07-26T06:43:02.639Z","0.0.1":"2011-07-26T06:43:03.165Z","1.0.0":"2015-11-22T23:29:10.985Z","1.0.1":"2015-11-22T23:54:24.081Z"},"maintainers":[{"name":"jasonbarry","email":"jasbarry@me.com"}],"dist-tags":{"latest":"1.0.1"},"description":"Unobtrusive realtime mouse-tracking analytics for node.js","readme":"# Snipes.js\n\nUnobtrusive Realtime Mouse-Tracking Analytics for Node.js\n---\n\n## Features\n\n  - Realtime mousemove, click, scroll, resize, connect, and disconnect observers\n  - Only broadcast cursor positions to admin, not to other clients. This way visitors won't be bothered with cursor positions they don't care about.\n  - Works in Safari 3+, Google Chrome 4+, Firefox 3+, Opera 10.61+, Internet Explorer 5.5+\n\n## Demo\n\nRun `server.js` in node (see step 4 of How to Use, below) and then open `index.html` in one browser window and `admin.html` in another. Try with multiple `index.html` windows open to test concurrent connections.\n\n## How to Install\n\n\tnpm install snipes\n\t\nor\n\n    git clone git://github.com/jasonbarry/snipes.git\n\n## How to Use\n\n  - Paste the following right before your `</body>` tag on the page you'd like to observe:\n\n```js\n<script src=\"./js/snipes-client.js\"></script>\n```\n\n  - Edit the last line of `snipes-admin.js` and `snipes-client.js` from `'localhost'` to the URI of your server.\n  - Change the `src` attribute of the `iframe` in `admin.html` to the path of the page you're observing.\n  - Then just `node server.js` and you're good to go! (or `nohup node server.js &` if you want it to run in the background)\n\n## Dependencies\n\n  - [Node.js](http://nodejs.org) - an event-driven I/O server-side JavaScript environment based on V8.\n  - [Socket.io](http://socket.io) - client/server communication leveraging HTML5 WebSockets with a Flash-based fallback.\n  - [jQuery](http://jquery.com) - JavaScript library, only needed on admin side.\n\n## Known Issues\n\nPlease report issues on the GitHub page.\n\n  - Admin view can only view one page at a time\n  - Cursor positions are not accurate with fluid widths or when the window width is less than the body width\n\n## Planned Features\n\n  - Filter cursors by user agent, referral page, country, language, etc\n  - Live heatmaps ala [heatmap.js](http://www.patrick-wied.at/static/heatmapjs/)\n  - Hosting...?","versions":{"1.0.0":{"name":"snipes","version":"1.0.0","description":"Unobtrusive realtime mouse-tracking analytics for node.js","main":"server.js","dependencies":{"socket.io-client":"^1.3.7","socket.io":"^1.3.7"},"devDependencies":{},"scripts":{"test":"node server.js","start":"node server.js"},"repository":{"type":"git","url":"git+https://github.com/jasonbarry/snipes.git"},"keywords":["node","nodejs","node.js","analytics","tracking","sockets","socket.io","socket","admin"],"author":{"name":"Jason Barry"},"license":"MIT","bugs":{"url":"https://github.com/jasonbarry/snipes/issues"},"homepage":"https://github.com/jasonbarry/snipes#readme","gitHead":"97b2b99b9d4a2a883bae8daabe2abca4314b0cfb","_id":"snipes@1.0.0","_shasum":"4b4c240e0cec77e830c74c4ac690614d845d7791","_from":".","_npmVersion":"3.3.12","_nodeVersion":"5.1.0","_npmUser":{"name":"jasonbarry","email":"jasbarry@me.com"},"dist":{"shasum":"4b4c240e0cec77e830c74c4ac690614d845d7791","tarball":"https://registry.npmjs.org/snipes/-/snipes-1.0.0.tgz","integrity":"sha512-TQjplzcQle5DRSo/wE7efU624V8WXsoGkiEvj+15LThwmDhkvHmJsIl0j8AjAaRyyk6UhAhRcsjv5wBjezlCDw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHvOoDAIvt6rDzH00p69nQsfrTgNh9mASSi4ICMUZUR3AiBobRMmx6ffuCj0Ie893kkwiMMQkCQDdqPJoMSzBcVc+g=="}]},"maintainers":[{"name":"jasonbarry","email":"jasbarry@me.com"}]},"1.0.1":{"name":"snipes","version":"1.0.1","description":"Unobtrusive realtime mouse-tracking analytics for node.js","main":"server.js","dependencies":{"socket.io-client":"^1.3.7","socket.io":"^1.3.7"},"devDependencies":{},"scripts":{"test":"node server.js","start":"node server.js"},"repository":{"type":"git","url":"git+https://github.com/jasonbarry/snipes.git"},"keywords":["node","nodejs","node.js","analytics","tracking","sockets","socket.io","socket","admin"],"author":{"name":"Jason Barry"},"license":"MIT","bugs":{"url":"https://github.com/jasonbarry/snipes/issues"},"homepage":"https://github.com/jasonbarry/snipes#readme","gitHead":"d7f190d6e6e9963835a66ba16b6a8f3d9bf69705","_id":"snipes@1.0.1","_shasum":"fa4c8f771e6b3c9836636200d87e52165adcf4ae","_from":".","_npmVersion":"3.3.12","_nodeVersion":"5.1.0","_npmUser":{"name":"jasonbarry","email":"jasbarry@me.com"},"dist":{"shasum":"fa4c8f771e6b3c9836636200d87e52165adcf4ae","tarball":"https://registry.npmjs.org/snipes/-/snipes-1.0.1.tgz","integrity":"sha512-Mv31FdpX9AOfXvW9/lw3B27NUv+Qr7+dRNue67awVG2i4a8UqJUbKKqBsUGmXjdfCd8Kc/AM4VD4m4GEkUBp6Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC9/KdbYuoUUJBMBTmt9cuNK9fFqVRg68MYYknJ5jpgXwIgMXltqmkwpLe7xZo+mu2gOGbQ0GFNm9ZhHveDAlCY/WQ="}]},"maintainers":[{"name":"jasonbarry","email":"jasbarry@me.com"}]}},"homepage":"https://github.com/jasonbarry/snipes#readme","keywords":["node","nodejs","node.js","analytics","tracking","sockets","socket.io","socket","admin"],"repository":{"type":"git","url":"git+https://github.com/jasonbarry/snipes.git"},"author":{"name":"Jason Barry"},"bugs":{"url":"https://github.com/jasonbarry/snipes/issues"},"license":"MIT","readmeFilename":"Readme.md","users":{"diegobetto":true}}