{"id":20238068,"url":"https://github.com/basilfx/normalize-wheel","last_synced_at":"2025-07-22T22:04:31.089Z","repository":{"id":45987041,"uuid":"59819171","full_name":"basilfx/normalize-wheel","owner":"basilfx","description":"Mouse wheel normalization across multiple multiple browsers.","archived":false,"fork":false,"pushed_at":"2021-11-22T19:49:45.000Z","size":10,"stargazers_count":126,"open_issues_count":1,"forks_count":16,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-10T19:43:21.816Z","etag":null,"topics":["javascript","mouse-wheel-normalization","typescript"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/basilfx.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-05-27T08:37:20.000Z","updated_at":"2025-01-04T20:20:05.000Z","dependencies_parsed_at":"2022-09-01T06:54:40.645Z","dependency_job_id":null,"html_url":"https://github.com/basilfx/normalize-wheel","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/basilfx/normalize-wheel","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/basilfx%2Fnormalize-wheel","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/basilfx%2Fnormalize-wheel/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/basilfx%2Fnormalize-wheel/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/basilfx%2Fnormalize-wheel/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/basilfx","download_url":"https://codeload.github.com/basilfx/normalize-wheel/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/basilfx%2Fnormalize-wheel/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266580298,"owners_count":23951193,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-22T02:00:09.085Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["javascript","mouse-wheel-normalization","typescript"],"created_at":"2024-11-14T08:31:00.001Z","updated_at":"2025-07-22T22:04:31.068Z","avatar_url":"https://github.com/basilfx.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"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","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbasilfx%2Fnormalize-wheel","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbasilfx%2Fnormalize-wheel","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbasilfx%2Fnormalize-wheel/lists"}