{"_id":"normalize-wheel","_rev":"905066","name":"normalize-wheel","description":"Mouse wheel normalization across multiple multiple browsers.","dist-tags":{"latest":"1.0.1"},"maintainers":[{"name":"basilfx","email":"basstottelaar@gmail.com"}],"time":{"modified":"2024-07-23T08:21:42.000Z","created":"2016-06-06T05:57:06.767Z","1.0.1":"2016-06-16T21:55:05.355Z","1.0.0":"2016-06-06T05:57:06.767Z"},"users":{"monochromer":true},"author":{"name":"Bas Stottelaar"},"versions":{"1.0.1":{"name":"normalize-wheel","version":"1.0.1","description":"Mouse wheel normalization across multiple multiple browsers.","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"keywords":["mouse wheel","normalization","browser"],"author":{"name":"Bas Stottelaar"},"license":"BSD-3-Clause","gitHead":"a1b69f0096ee4fca1436241e493f7d7919242cc7","_id":"normalize-wheel@1.0.1","_shasum":"aec886affdb045070d856447df62ecf86146ec45","_from":".","_npmVersion":"3.9.3","_nodeVersion":"6.2.1","_npmUser":{"name":"basilfx","email":"basstottelaar@gmail.com"},"dist":{"shasum":"aec886affdb045070d856447df62ecf86146ec45","tarball":"http://registry-npm.ywwl.com/normalize-wheel/download/normalize-wheel-1.0.1.tgz","integrity":"sha512-1OnlAPZ3zgrk8B91HyRj+eVv+kS5u+Z0SCsak6Xil/kmgEia50ga7zfkumayonZrImffAxPU/5WcyGhzetHNPA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAoVknitiRpYEI9PsZw65hHTJP8KNlvVY7swEuCEVLqlAiEAkWsz9t3Uoj3sI3WGjOXnFtOCQUI5X6LPtCLNw0g4DBQ="}],"size":7577,"noattachment":false,"key":"/normalize-wheel/-/normalize-wheel-1.0.1.tgz"},"maintainers":[{"name":"basilfx","email":"basstottelaar@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/normalize-wheel-1.0.1.tgz_1466114102875_0.11990849394351244"},"directories":{},"publish_time":1466114105355,"_cnpm_publish_time":1466114105355},"1.0.0":{"name":"normalize-wheel","version":"1.0.0","description":"Mouse wheel normalization across multiple multiple browsers.","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"keywords":["mouse wheel","normalization","browser"],"author":{"name":"Bas Stottelaar"},"license":"BSD-3-Clause","gitHead":"af9d3a77cf785326f269f5a326ada3f6b82a3055","_id":"normalize-wheel@1.0.0","_shasum":"ba310667dcaa9b57a62a14a93e70f626d57e4200","_from":".","_npmVersion":"3.9.3","_nodeVersion":"6.2.1","_npmUser":{"name":"basilfx","email":"basstottelaar@gmail.com"},"dist":{"shasum":"ba310667dcaa9b57a62a14a93e70f626d57e4200","tarball":"http://registry-npm.ywwl.com/normalize-wheel/download/normalize-wheel-1.0.0.tgz","integrity":"sha512-7AkmZGIcjfAi5KU3ABMXN6y1rdivaZzDB56aEkoZrN+U5kRAB8WEcnVkDzKGYt8tKyd3rM6Oa8ZSXXfqhWv7Iw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDMORr9S/+xgNc7cHPsIuiss7GakuZWdnzgeej7dvOZugIgV7nYQoC1/+/0WUVVfC530qJ1qqGBS6R/9B6b44AuxJw="}],"size":7559,"noattachment":false,"key":"/normalize-wheel/-/normalize-wheel-1.0.0.tgz"},"maintainers":[{"name":"basilfx","email":"basstottelaar@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/normalize-wheel-1.0.0.tgz_1465192625066_0.10385456890799105"},"directories":{},"publish_time":1465192626767,"_cnpm_publish_time":1465192626767}},"readme":"# Normalize Wheel\nMouse wheel normalization across multiple multiple browsers.\n\n## Original source\nThis code is extracted and from Facebook's [Fixed Data Table](https://github.com/facebook/fixed-data-table). Apart from import fixes, the code is unmodified.\n\n## Usage\nJust add it as an dependency in npm.\n\nYou can use it as follows:\n\n```js\nimport normalizeWheel from 'normalize-wheel';\n\ndocument.addEventListener('mousewheel', function (event) {\n    const normalized = normalizeWheel(event);\n\n    console.log(normalized.pixelX, normalized.pixelY);\n});\n```\n\n## License\nSee the `LICENSE` file.\n","_attachments":{},"license":"BSD-3-Clause"}