# normalize-wheel-es

> Mouse wheel normalization across multiple multiple browsers.

Latest version **1.2.0** (published 2022-07-19) · BSD-3-Clause license · 0 weekly downloads

## Install

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

## Health

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

Positive: has types; esm support; no vulnerabilities.

Warnings: low downloads.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.2.0 |
| Published | 2022-07-19 |
| First published | 2021-09-12 |
| Weekly downloads | 0 |
| License | BSD-3-Clause |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 76.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 12 |
| Author | Bas Stottelaar |
| Maintainers | sxzz |
| Keywords | mouse wheel, normalization, browser, esm |

## Links

- npm: https://www.npmjs.com/package/normalize-wheel-es
- Repository: https://github.com/sxzz/normalize-wheel-es
- Homepage: https://github.com/sxzz/normalize-wheel-es#readme
- Issues: https://github.com/sxzz/normalize-wheel-es/issues
- npm.io page: https://npm.io/package/normalize-wheel-es

## 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.2.0 (latest) — 2022-07-19
- 1.1.3 — 2022-07-19
- 1.1.2 — 2022-03-25
- 1.1.1 — 2021-10-31
- 1.1.0 — 2021-09-26
- 1.0.2 — 2021-09-26
- 1.0.1 — 2021-09-12
- 1.0.0 — 2021-09-12

## 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-es';

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-es · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
