# normalize-wheel

> Mouse wheel normalization across multiple multiple browsers.

Latest version **1.0.1** (published 2016-06-16) · BSD-3-Clause license · 0 weekly downloads

## Install

```sh
npm install normalize-wheel
pnpm add normalize-wheel
yarn add normalize-wheel
bun add normalize-wheel
```

## Health

**Score 23/100 (F)** — status: abandoned.

Positive: has types package; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2016-06-16 |
| First published | 2016-06-06 |
| Weekly downloads | 0 |
| License | BSD-3-Clause |
| TypeScript types | separate (@types/normalize-wheel) |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Bas Stottelaar |
| Maintainers | basilfx |
| Keywords | mouse wheel, normalization, browser |

## Links

- npm: https://www.npmjs.com/package/normalize-wheel
- npm.io page: https://npm.io/package/normalize-wheel

## Alternatives

- [@opentelemetry/exporter-zipkin](https://npm.io/package/@opentelemetry/exporter-zipkin.md) — 14.8M weekly downloads
- [pusher-js](https://npm.io/package/pusher-js.md) — 2.0M weekly downloads
- [browserify](https://npm.io/package/browserify.md) — 1.7M weekly downloads
- [sqs-consumer](https://npm.io/package/sqs-consumer.md) — 1.7M weekly downloads
- [@sanity/eventsource](https://npm.io/package/@sanity/eventsource.md) — 930.8K weekly downloads

## Recent versions

- 1.0.1 (latest) — 2016-06-16
- 1.0.0 — 2016-06-06

## README

# Normalize Wheel
Mouse wheel normalization across multiple multiple browsers.

## Original source
This 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.

## Usage
Just add it as an dependency in npm.

You can use it as follows:

```js
import normalizeWheel from 'normalize-wheel';

document.addEventListener('mousewheel', function (event) {
    const normalized = normalizeWheel(event);

    console.log(normalized.pixelX, normalized.pixelY);
});
```

## License
See the `LICENSE` file.

---
_Source: https://npm.io/package/normalize-wheel · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
