Key numbers
As of 25 Sept 2026
- Weekly downloads
- 24.8m
- +115% over 12 months
- Gzip bundle size
- -
- No Bundlephobia data
- Dependencies
- 0
- Direct, from package.json
- Last release
- 1 year ago
- v4.0.0
- GitHub stars
- -
- Open issues / PRs
- - / -
- Contributors
- -
- Commits, last 52 weeks
- -
Downloads
Last week 2026-09-15 to 2026-09-21
24,779,338 downloads last week, 122,776,964 in the last month. The 12-month change of +115% compares the average of the last 4 weeks with the first 4 weeks of the series.
- Releases, last 12 months
- 021 in total
- Latest version
- 4.0.0, 12 May 20251 year ago
- First published
- 7 Dec 2016
- Last push to GitHub
- -
- Repository archived
- -
- Open issues
- -
- Open pull requests
- -
- Commits, last 52 weeks
- -
- Dependents on npm
- 406
Major versions
- v4 first release 4.0.0, 12 May 2025
- v3 first release 3.0.0, 4 Oct 2022
- v2 first release 2.0.0, 9 Jul 2019
- v1 first release 1.0.0, 7 Dec 2016
Recent releases
| Version | Published |
|---|---|
| 4.0.0 | 12 May 2025 |
| 3.0.2 | 6 Oct 2022 |
| 3.0.1 | 4 Oct 2022 |
| 3.0.0 | 4 Oct 2022 |
| 2.2.3 | 4 Oct 2022 |
| 2.2.2 | 4 Jun 2021 |
| 2.2.1 | 5 Apr 2021 |
| 2.2.0 | 5 Mar 2021 |
| 2.1.1 | 31 Jan 2021 |
| 2.1.0 | 12 Jul 2019 |
| 2.0.1 | 9 Jul 2019 |
| 2.0.0 | 9 Jul 2019 |
| 1.4.0 | 4 Mar 2019 |
| 1.3.2 | 11 Jan 2019 |
- Module format
- ESM onlyFrom package.json type, main and exports fields
- TypeScript types
- Bundled
- Node.js engine range
- Not declared
- Runtimes
- -
- Unpacked size (npm)
- 35 kB
- Dependencies (0)
- None
npm install before-after-hookCDN
jsDelivr: 60.1k requests in 30 days
- jsDelivr
https://cdn.jsdelivr.net/npm/before-after-hook@4.0.0/ - unpkg
https://unpkg.com/before-after-hook@4.0.0/ - esm.sh
https://esm.sh/before-after-hook@4.0.0
Indexability: Not indexed (discovery only): GitHub data not fetched yet; no category.