Package
mousetrap
Simple library for handling keyboard shortcuts
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
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
- v1 first release 1.4.6, 14 Nov 2014
- v0 first release 0.0.1, 1 Aug 2012
Recent releases
| Version | Published |
|---|---|
| 1.6.5 | 23 Jan 2020 |
| 1.6.4 | 23 Jan 2020 |
| 1.6.3 | 4 Mar 2019 |
| 1.6.2 | 2 Jun 2018 |
| 1.6.1 | 2 Apr 2017 |
| 1.6.0 | 29 May 2016 |
| 1.5.3 | 2 Jul 2015 |
| 1.5.2 | 30 Mar 2015 |
| 1.5.1 | 30 Mar 2015 |
| 1.4.6 | 14 Nov 2014 |
| 0.0.1 | 1 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 mousetrapCDN
jsDelivr: 285.8k requests in 30 days
- jsDelivr
https://cdn.jsdelivr.net/npm/mousetrap@1.6.5/ - unpkg
https://unpkg.com/mousetrap@1.6.5/ - esm.sh
https://esm.sh/mousetrap@1.6.5
| Package | Weekly downloads | Gzip | Last release | Module | Comparison |
|---|---|---|---|---|---|
| combokeys | 106.4k | - | 7 years ago | CommonJS | - |
Indexability: Not indexed (discovery only): GitHub data not fetched yet.