{"_id":"momentum","_rev":"50-32e2e740eadab505c686b3fb7dc8fb31","name":"momentum","time":{"modified":"2022-06-20T05:16:27.924Z","created":"2013-03-24T16:06:44.311Z","0.0.0":"2013-03-24T16:06:49.265Z","0.0.4":"2013-03-25T13:43:57.935Z","0.0.5":"2013-03-25T15:02:48.137Z","0.0.6":"2013-03-25T21:18:17.442Z","0.0.7":"2013-03-25T22:37:58.065Z","0.0.8":"2013-03-26T07:29:51.649Z","0.0.9":"2013-03-26T13:28:59.533Z","0.0.10":"2013-03-26T13:44:39.942Z","0.0.11":"2013-03-26T13:50:21.304Z","0.0.12":"2013-03-28T16:09:07.086Z","0.1.0":"2013-03-29T11:16:13.769Z","0.1.1":"2013-03-29T11:27:10.307Z","0.1.2":"2013-03-29T20:46:07.142Z","0.1.3":"2013-09-01T09:55:07.962Z","1.0.0":"2015-11-19T16:29:58.585Z","1.0.1":"2015-11-19T20:09:30.645Z","2.0.0":"2017-12-09T00:05:29.330Z","3.0.0":"2017-12-09T00:17:30.185Z","4.0.0":"2017-12-09T00:19:36.796Z"},"maintainers":[{"email":"npm@gdi2290.com","name":"gdi2290"}],"dist-tags":{"latest":"4.0.0"},"readme":"# Momentum [![Travis](https://img.shields.io/travis/rust-lang/rust.svg)]()\nAdd momentum to any DOM element with a simple API. It's like iScroll, except not for scrolling anything. `momentum` also supports mouse and touch events.\n\n```js\nconst momentum = require('momentum')\n\n// make sure the element is in the document and the document is fully loaded\nwindow.addEventListener('DOMContentLoaded', () => {\n  const box = document.querySelector('box')\n  momentum(box, (x, y) => {\n    console.log('x:', x, 'y:', y)\n  })\n})\n```\n\n[![NPM](https://nodei.co/npm/momentum.png)](https://npmjs.org/package/momentum)\n","versions":{"1.0.0":{"name":"momentum","version":"1.0.0","description":"","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/gdi2290/momentum.git"},"author":"","license":"Apache-2.0","bugs":{"url":"https://github.com/gdi2290/momentum/issues"},"homepage":"https://github.com/gdi2290/momentum#readme","gitHead":"4cf0d7b5682e544ac907cff329ba33e6d877f5a5","_id":"momentum@1.0.0","_shasum":"1f96d432476f230f74b325bb82c7d0b71dea9571","_from":".","_npmVersion":"2.14.10","_nodeVersion":"4.2.2","_npmUser":{"name":"gdi2290","email":"npm@gdi2290.com"},"dist":{"shasum":"1f96d432476f230f74b325bb82c7d0b71dea9571","tarball":"https://registry.npmjs.org/momentum/-/momentum-1.0.0.tgz","integrity":"sha512-wvL0cA9RX/1+9IZ2Cv3PVBR6gxrM6zG+gN9LQ0p/rWzmQjcWjdYHFHgWraFBLj3LgLBVH2ALCmZgCPILnhIjjQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIC8ah7dbMbdv0sVpc5J3IL1tABohpUgUPtdSEGYQMHKLAiAdZaKWcTBei4kV5t/pZ9YWR11PRPkReiMrQ8j09wYsfg=="}]},"maintainers":[{"name":"gdi2290","email":"npm@gdi2290.com"}]},"1.0.1":{"name":"momentum","version":"1.0.1","description":"A module that returns 'momentum'","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/gdi2290/momentum.git"},"author":"","license":"Apache-2.0","bugs":{"url":"https://github.com/gdi2290/momentum/issues"},"homepage":"https://github.com/gdi2290/momentum#readme","gitHead":"def3309f61c82d2040ef1f46df3de13e1e22df31","_id":"momentum@1.0.1","_shasum":"8828c1c7b922dff8b85d1293db26e51ae4aea972","_from":".","_npmVersion":"2.14.10","_nodeVersion":"4.2.2","_npmUser":{"name":"gdi2290","email":"npm@gdi2290.com"},"dist":{"shasum":"8828c1c7b922dff8b85d1293db26e51ae4aea972","tarball":"https://registry.npmjs.org/momentum/-/momentum-1.0.1.tgz","integrity":"sha512-tOqMsWsJzlBhMnyMcEnkZl0UAU5PfVGecrnTG3KRQ3s64kgMvD9pCtWqJNr+R/v3mmnOK7Ocg/9OCoANQFqONw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD/i6A6RRlOJdP8KNn1YLJ4RKx+9qvjmfh7ltVt1kl5CwIgfpQuJ6/W3syj819uBKWL6f7QIx89kvQlTnfiO5czaEg="}]},"maintainers":[{"name":"gdi2290","email":"npm@gdi2290.com"},{"name":"yearofmoo","email":"matias@yearofmoo.com"}]},"2.0.0":{"name":"momentum","version":"2.0.0","description":"momentum module that returns 'momentum'","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/gdi2290/momentum.git"},"author":"","license":"Apache-2.0","bugs":{"url":"https://github.com/gdi2290/momentum/issues"},"homepage":"https://github.com/gdi2290/momentum#readme","dependencies":{"impetus":"^0.8.7"},"gitHead":"b975fff39f370524043b43f3f10db87c25f13ec9","_id":"momentum@2.0.0","_npmVersion":"5.5.1","_nodeVersion":"6.11.4","_npmUser":{"name":"gdi2290","email":"npm@gdi2290.com"},"dist":{"integrity":"sha512-hMPPfDgrMNoOqROAh7xNBuTnm1c3D5eCK3LHrbTzBnEUOaabUjnXRQeVSGNzfjx9o/4kfK+a0wi86P9aHJL6EQ==","shasum":"ef8cd5b3063514cc362faf2fc133e9c4480136bc","tarball":"https://registry.npmjs.org/momentum/-/momentum-2.0.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDEseI1V9D0eAqYcdEsv9mq1ohljfMr9ad9wz7OLSMlMwIgP5syyoO+V1jx4W/LooyiDbdLSRn7iElEzLMZGPuZQRs="}]},"maintainers":[{"email":"matias@yearofmoo.com","name":"yearofmoo"},{"email":"npm@gdi2290.com","name":"gdi2290"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/momentum-2.0.0.tgz_1512777929198_0.713201415957883"}},"3.0.0":{"name":"momentum","version":"3.0.0","description":"Add momentum to any DOM element with a simple API. It's like iScroll, except not for scrolling anything. `momentum` also supports mouse and touch events.","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/gdi2290/momentum.git"},"author":{"name":"PatrickJS","email":"github@gdi2290.com"},"license":"Apache-2.0","bugs":{"url":"https://github.com/gdi2290/momentum/issues"},"homepage":"https://github.com/gdi2290/momentum#readme","dependencies":{"impetus":"^0.8.7"},"gitHead":"d8990bf79dda445fa78ac45df00a595be6248b2d","_id":"momentum@3.0.0","_npmVersion":"5.5.1","_nodeVersion":"6.11.4","_npmUser":{"name":"gdi2290","email":"npm@gdi2290.com"},"dist":{"integrity":"sha512-QH3xYYcltEfa/OA6EypL+F60kJ5LcuFCzjSlwu/G7D7FBDj6XoLn/xrETD39a11+DvqYvDLeUiLx3B9BeZemPw==","shasum":"5eb7c848b0e4de282e9a803f0b1d3b00fdd97304","tarball":"https://registry.npmjs.org/momentum/-/momentum-3.0.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGuhLlUi3iS/lj4XiuAQQDiVdOz+6aH4eAUfF9W6/jKEAiEA2NWxUlS/lI5ozVFYzZhcQt+vrb7YFieGaNtNu3rREKo="}]},"maintainers":[{"email":"matias@yearofmoo.com","name":"yearofmoo"},{"email":"npm@gdi2290.com","name":"gdi2290"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/momentum-3.0.0.tgz_1512778650059_0.9439245655667037"}},"4.0.0":{"name":"momentum","version":"4.0.0","description":"Add momentum to any DOM element with a simple API. It's like iScroll, except not for scrolling anything. `momentum` also supports mouse and touch events.","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/gdi2290/momentum.git"},"author":{"name":"PatrickJS","email":"github@gdi2290.com"},"license":"Apache-2.0","bugs":{"url":"https://github.com/gdi2290/momentum/issues"},"homepage":"https://github.com/gdi2290/momentum#readme","dependencies":{"impetus":"^0.8.7"},"gitHead":"2c1245505ad76662ccfe4164727bb918578f9600","_id":"momentum@4.0.0","_npmVersion":"5.5.1","_nodeVersion":"6.11.4","_npmUser":{"name":"gdi2290","email":"npm@gdi2290.com"},"dist":{"integrity":"sha512-uYVXtO55csmU+DKlZ5AEYxGb+t5LuqZNXHQrKh/b5B48jzgpViT0XRVn5TfFDPZNLfDB2wKh2pgj0oEngZBMKg==","shasum":"047b84cf3f2f7293c94e08be22fddbce4ef49933","tarball":"https://registry.npmjs.org/momentum/-/momentum-4.0.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDHi4v7WSDPcbwiF3PrYnqxMqK7JJz8Spz5OA9mSoLxhwIgAr5j6h0frEqmmqBwgPRdm3FTAvv/L5ghWZQcblMFzOg="}]},"maintainers":[{"email":"matias@yearofmoo.com","name":"yearofmoo"},{"email":"npm@gdi2290.com","name":"gdi2290"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/momentum-4.0.0.tgz_1512778776619_0.9654201082885265"}}},"homepage":"https://github.com/gdi2290/momentum#readme","repository":{"type":"git","url":"git+https://github.com/gdi2290/momentum.git"},"bugs":{"url":"https://github.com/gdi2290/momentum/issues"},"license":"Apache-2.0","readmeFilename":"README.md","description":"Add momentum to any DOM element with a simple API. It's like iScroll, except not for scrolling anything. `momentum` also supports mouse and touch events.","author":{"name":"PatrickJS","email":"github@gdi2290.com"},"users":{"bcoe":true}}