react-key-collector
TypeScript icon, indicating that this package has built-in type declarations

0.1.3 • Public • Published

A library to react to key presses using react hooks 💥 💥

High level overview: You pass in keycodes (for now) and callback to the function exposed. Whenever the all the keys are pressed, callback will be called.

Note: It's still not ready to be consumed. Some tasks are pending:

Tasks

  1. adding support for the ordering of keys.
  2. Adding support for getting list of all the shortcuts.
  3. Need to add examples.

Readme

Keywords

none

Package Sidebar

Install

npm i react-key-collector

Weekly Downloads

0

Version

0.1.3

License

none

Unpacked Size

7.32 kB

Total Files

6

Last publish

Collaborators

  • anil26