{"name":"hammerjs","title":"Hammer.JS","description":"A javascript library for multi-touch gestures","version":"2.0.2","homepage":"http://hammerjs.github.io/","licenses":[{"type":"MIT","url":"https://github.com/hammerjs/hammer.js/blob/master/LICENSE.md"}],"keywords":["touch","gestures"],"author":{"name":"Jorik Tangelder","email":"j.tangelder@gmail.com"},"repository":{"type":"git","url":"git://github.com/hammerjs/hammer.js.git"},"bugs":{"url":"https://github.com/hammerjs/hammer.js/issues"},"dependencies":{},"devDependencies":{"hammer-simulator":"git://github.com/hammerjs/simulator#master","hammer-jquery":"git://github.com/hammerjs/jquery.hammer.js#master","grunt":"0.4.x","grunt-contrib-concat":"0.4.x","grunt-contrib-connect":"0.7.x","grunt-contrib-jshint":"0.10.x","grunt-contrib-qunit":"^0.5.1","grunt-contrib-uglify":"0.4.x","grunt-contrib-watch":"0.6.x","grunt-jscs-checker":"^0.4.1","grunt-string-replace":"^0.2.7"},"main":"hammer.js","engines":{"node":">=0.8.0"},"scripts":{"test":"grunt test"},"_id":"hammerjs@2.0.2","dist":{"shasum":"4f2746e967ce86e1c8eb8fde4cd52b9c34aa8ca0","tarball":"http://registry-npm.ywwl.com/hammerjs/download/hammerjs-2.0.2.tgz","integrity":"sha512-74P2ePHXNtVtCjqipUZiRthcWbQWcMZLVPvpItZntYvQltEGrhw1p5ZZwgw4rv+PCVzNtIjVLH/eJ+uWrZYDNA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDn4sPD+mU/TaXk3mCdi5FxgbTBjuMJ8mu5L5WL+NbeyQIhAOsAKC4HJWUSk02Az2bcewXgqpjkNQlxuqO3qLSpYlSu"}],"size":198346,"noattachment":false,"key":"/hammerjs/-/hammerjs-2.0.2.tgz"},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"jtangelder","email":"j.tangelder@gmail.com"},"maintainers":[{"name":"jtangelder","email":"j.tangelder@gmail.com"}],"directories":{},"readme":"# Hammer.js 2.0.6\n\n[![Build Status](https://travis-ci.org/hammerjs/hammer.js.svg)](https://travis-ci.org/hammerjs/hammer.js)\n\n## Support, Questions, and Collaboration\n\n[![Slack Status](https://hammerjs.herokuapp.com/badge.svg)](https://hammerjs.herokuapp.com/)\n\n## Documentation\n\nVisit [hammerjs.github.io](http://hammerjs.github.io) for detailed documentation.\n\n```js\n// get a reference to an element\nvar stage = document.getElementById('stage');\n\n// create a manager for that element\nvar mc = new Hammer.Manager(stage);\n\n// create a recognizer\nvar Rotate = new Hammer.Rotate();\n\n// add the recognizer\nmc.add(Rotate);\n\n// subscribe to events\nmc.on('rotate', function(e) {\n    // do something cool\n    var rotation = Math.round(e.rotation);    \n    stage.style.transform = 'rotate('+rotation+'deg)';\n});\n```\n\nAn advanced demo is available here: [http://codepen.io/runspired/full/ZQBGWd/](http://codepen.io/runspired/full/ZQBGWd/)\n\n\n## Contributing\n\nRead the [contributing guidelines](./CONTRIBUTING.md).\n\nFor PRs.\n\n- Use [Angular Style commit messages](https://github.com/angular/angular.js/blob/v1.4.8/CONTRIBUTING.md#commit)\n- Rebase your PR branch when necessary\n- If you add a feature or fix a bug, please add or fix any necessary tests.\n- If a new feature, open a docs PR to go with.\n\n## Building\n\nYou can get the pre-build versions from the Hammer.js website, or do this by yourself running \n`npm install -g grunt-cli && npm install && grunt build`\n","publish_time":1406399246782,"_cnpm_publish_time":1406399246782,"dist-tags":{"latest":"2.0.8"}}