Skip to content
JS
Package

trough

`trough` is middleware

v2.2.0, 5 Feb 2024MITESM onlyTypes: Bundled
$ npm install trough

Key numbers

As of 25 Sept 2026
Weekly downloads
37.5m
+234% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
2 years ago
v2.2.0
GitHub stars
69
5 forks
Open issues / PRs
0 / 0
Contributors
3
Commits, last 52 weeks
0

Downloads

Last week 2026-09-15 to 2026-09-21
020m40m60mSept 2025Mar 2026Sept 2026High 50.7m (25 Aug 2026)Low 8.2m (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.

37,482,523 downloads last week, 184,202,596 in the last month. The 12-month change of +234% 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
2.2.0, 5 Feb 20242 years ago
First published
1 Aug 2016
Last push to GitHub
5 Feb 2024962 days before the snapshot
Repository archived
No
Open issues
0
Open pull requests
0
Commits, last 52 weeks
0
Dependents on npm
76

Major versions

  1. v2 first release 2.0.0, 11 May 2021
  2. v1 first release 1.0.0, 1 Aug 2016

Recent releases

VersionPublished
2.2.05 Feb 2024
2.1.021 Feb 2022
2.0.24 Jul 2021
2.0.125 Jun 2021
2.0.011 May 2021
1.0.525 Jan 2020
1.0.414 May 2019
1.0.35 Aug 2018
1.0.215 Apr 2018
1.0.19 Jul 2017
1.0.01 Aug 2016
Module format
ESM onlyFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
22 kB
Dependencies (0)
None
npm install trough

CDN

jsDelivr: 271.5k requests in 30 days
  • jsDelivrhttps://cdn.jsdelivr.net/npm/trough@2.2.0/
  • unpkghttps://unpkg.com/trough@2.2.0/
  • esm.shhttps://esm.sh/trough@2.2.0
Sources: npm registry, npm downloads API, GitHub API, jsDelivr. Data fetched 25 Sept 2026.

Indexability: Not indexed (discovery only): no category.