Skip to content
JS
Package

hotkeys-js

A simple micro-library for defining and dispatching keyboard shortcuts. It has no dependencies.

v4.0.8, 9 Sept 2026MITESM + CommonJSTypes: BundledDOM and browser utilities
$ npm install hotkeys-js

Key numbers

As of 25 Sept 2026
Weekly downloads
1m
+81% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
15 days ago
v4.0.8
GitHub stars
-
Open issues / PRs
- / -
Contributors
-
Commits, last 52 weeks
-

Downloads

Last week 2026-09-15 to 2026-09-21
0500k1m1.5mSept 2025Mar 2026Sept 2026High 1.5m (18 Aug 2026)Low 334.5k (23 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

1,024,805 downloads last week, 4,999,277 in the last month. The 12-month change of +81% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
9118 in total
Latest version
4.0.8, 9 Sept 202615 days ago
First published
18 May 2015
Last push to GitHub
-
Repository archived
-
Open issues
-
Open pull requests
-
Commits, last 52 weeks
-
Dependents on npm
-

Major versions

  1. v4 first release 4.0.0, 22 Dec 2025
  2. v3 first release 3.0.0, 20 Mar 2018
  3. v2 first release 2.0.0, 15 Dec 2016
  4. v1 first release 1.0.0, 18 May 2015

Recent releases

VersionPublished
4.0.89 Sept 2026
4.0.728 Aug 2026
4.0.628 Aug 2026
4.0.514 Aug 2026
4.0.430 Apr 2026
4.0.31 Apr 2026
4.0.225 Feb 2026
4.0.123 Feb 2026
4.0.022 Dec 2025
3.13.159 Jul 2025
3.13.1417 Jun 2025
3.13.1317 Jun 2025
3.13.1216 Jun 2025
3.13.1110 Jun 2025
Module format
ESM + CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
4.7 MB
Dependencies (0)
None
npm install hotkeys-js

CDN

jsDelivr: 1.9m requests in 30 days
  • jsDelivrhttps://cdn.jsdelivr.net/npm/hotkeys-js@4.0.8/
  • unpkghttps://unpkg.com/hotkeys-js@4.0.8/
  • esm.shhttps://esm.sh/hotkeys-js@4.0.8
Sources: npm registry, npm downloads API, jsDelivr. Data fetched 25 Sept 2026.

Indexability: Not indexed (discovery only): GitHub data not fetched yet.