🌜
🌞

Best JavaScript Keyboard Event Libraries

@fluentui/keyboard-key

@fluentui/keyboard-key

v0.4.1

A simple utility for determining the KeyboardEvent.key property from a keyboard event.

Last Commit
Oct 6, 2022
GitHub Stargazers
14.1K
License
MIT
Contributors
@rooks/use-key

@rooks/use-key

v4.11.2

Keyboard key handler hook for react

Last Commit
Oct 6, 2022
GitHub Stargazers
2,569
License
MIT
Contributors
37
react-key-handler

react-key-handler

v1.2.0-beta.3

React component to handle keyboard events

Last Commit
Sep 5, 2018
GitHub Stargazers
388
License
MIT
Contributors
9
@capacitor/keyboard

@capacitor/keyboard

v4.0.1

The Keyboard API provides keyboard display and visibility control, along with event tracking when the keyboard shows and hides.

Last Commit
Oct 4, 2022
GitHub Stargazers
267
License
MIT
Contributors
28
@pencil.js/keyboard-event

@pencil.js/keyboard-event

v1.18.0

Keyboard related event for Pencil.js package.

Last Commit
Feb 11, 2022
GitHub Stargazers
239
License
MIT
Contributors
7
keysim

keysim

v2.1.0

Keyboard simulator for JavaScript.

Last Commit
Sep 10, 2020
GitHub Stargazers
70
License
MIT
Contributors
simulate-event

simulate-event

v1.4.0

A library for triggering DOM events.

Last Commit
Jul 1, 2016
GitHub Stargazers
21
License
MIT
Contributors
5
mjolnir.js

mjolnir.js

v2.7.1

An Event Manager

Last Commit
Jul 21, 2022
GitHub Stargazers
58
License
MIT
Contributors
10
basic-keyboard-event-polyfill

basic-keyboard-event-polyfill

v1.0.1

A simple polyfill for KeyboardEvent to help PhantomJS

Last Commit
-
GitHub Stargazers
1
License
MIT
Contributors
1
@github/hotkey

@github/hotkey

v2.0.1

Trigger an action on a target element when a key or sequence of keys is pressed on the keyboard. This triggers a focus event on form fields, or a click event on others.

Last Commit
Jul 21, 2022
GitHub Stargazers
2,731
License
MIT
Contributors
8
keyboard-manager

keyboard-manager

v4.0.1

Small keyboard shortcut management for DOM-based applications

Last Commit
Sep 8, 2021
GitHub Stargazers
27
License
Apache-2.0
Contributors
3
key-controller

key-controller

v2.0.7

A library that abstracts handling keyboard controls in the browser

Last Commit
-
GitHub Stargazers
2
License
MIT
Contributors
1
keyboard-event-to-string

keyboard-event-to-string

v2.1.0

Converts a JavaScript keyboard event object into a humanly readable string

Last Commit
-
GitHub Stargazers
1
License
MIT
Contributors
3
@hyperapp/events

@hyperapp/events

v2.0.0

Subscribe to mouse, keyboard, window, and frame events.

Last Commit
Sep 19, 2022
GitHub Stargazers
18.8K
License
MIT
Contributors
95
receptor

receptor

v2.2.1

A better way to manage DOM event delegation and handling

Last Commit
Aug 24, 2020
GitHub Stargazers
12
License
CC0-1.0
Contributors
1
key-event

key-event

v1.0.0

Add/remove keyboard events

Last Commit
-
GitHub Stargazers
9
License
BSD-2-Clause
Contributors
2
keyboardevent-from-electron-accelerator

keyboardevent-from-electron-accelerator

v2.0.0

Transform an Electron Accelerator string into a DOM KeyboardEvent.

Last Commit
Nov 8, 2019
GitHub Stargazers
12
License
MIT
Contributors
2