Installation
Prerequisites
- React 18.0.0 or higher
- TypeScript (recommended)
Install via npm
bash
npm install use-normalized-keys
Install via yarn
bash
yarn add use-normalized-keys
Install via pnpm
bash
pnpm add use-normalized-keys
Peer Dependencies
The library has the following peer dependencies that should already be installed in your React project:
react
>= 18.0.0react-dom
>= 18.0.0
TypeScript Support
The library includes full TypeScript definitions out of the box - no need to install additional @types
packages.
Next Steps
Once installed, head over to the Quick Start guide to learn how to use the hook in your application.