Skip to content
JS
Package

mousetrap

Simple library for handling keyboard shortcuts

v1.6.5, 23 Jan 2020Apache-2.0 WITH LLVM-exceptionCommonJSTypes: NoneDOM and browser utilities
$ npm install mousetrap

Key numbers

As of 25 Sept 2026
Weekly downloads
666.6k
+24% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
6 years ago
v1.6.5
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.2m (5 May 2026)Low 302.9k (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.

666,584 downloads last week, 3,278,510 in the last month. The 12-month change of +24% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
011 in total
Latest version
1.6.5, 23 Jan 20206 years ago
First published
1 Aug 2012
Last push to GitHub
-
Repository archived
-
Open issues
-
Open pull requests
-
Commits, last 52 weeks
-
Dependents on npm
-

Major versions

  1. v1 first release 1.4.6, 14 Nov 2014
  2. v0 first release 0.0.1, 1 Aug 2012

Recent releases

VersionPublished
1.6.523 Jan 2020
1.6.423 Jan 2020
1.6.34 Mar 2019
1.6.22 Jun 2018
1.6.12 Apr 2017
1.6.029 May 2016
1.5.32 Jul 2015
1.5.230 Mar 2015
1.5.130 Mar 2015
1.4.614 Nov 2014
0.0.11 Aug 2012
Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
None
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
191 kB
Dependencies (0)
None
npm install mousetrap

CDN

jsDelivr: 285.8k requests in 30 days
  • jsDelivrhttps://cdn.jsdelivr.net/npm/mousetrap@1.6.5/
  • unpkghttps://unpkg.com/mousetrap@1.6.5/
  • esm.shhttps://esm.sh/mousetrap@1.6.5
PackageWeekly downloadsGzipLast releaseModuleComparison
combokeys106.4k-7 years agoCommonJS-
Sources: npm registry, npm downloads API, jsDelivr. Data fetched 25 Sept 2026.

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