Package
compose-middleware
Compose an array of middleware into a single function for use in Express, Connect, router, etc.
Key numbers
As of 25 Sept 2026
- Weekly downloads
- 44.7k
- +25% over 12 months
- Gzip bundle size
- -
- No Bundlephobia data
- Dependencies
- 3
- Direct, from package.json
- Last release
- 7 years ago
- v5.0.1
- GitHub stars
- 90
- 9 forks
- Open issues / PRs
- 3 / 12
- Contributors
- -
- Commits, last 52 weeks
- 0
Downloads
Last week 2026-09-15 to 2026-09-21
44,699 downloads last week, 266,463 in the last month. The 12-month change of +25% compares the average of the last 4 weeks with the first 4 weeks of the series.
- Releases, last 12 months
- -
- Latest version
- 5.0.1, 3 Dec 20187 years ago
- First published
- -
- Last push to GitHub
- 22 Jul 2025429 days before the snapshot
- Repository archived
- No
- Open issues
- 3
- Open pull requests
- 12
- Commits, last 52 weeks
- 0
- Dependents on npm
- 141
Major versions
-
Recent releases
-
- Module format
- CommonJSFrom package.json type, main and exports fields
- TypeScript types
- Bundled
- Node.js engine range
- Not declared
- Runtimes
- -
- Unpacked size (npm)
- 32 kB
- Dependencies (3)
debug@types/debugarray-flatten
npm install compose-middleware- jsDelivr
https://cdn.jsdelivr.net/npm/compose-middleware@5.0.1/ - unpkg
https://unpkg.com/compose-middleware@5.0.1/ - esm.sh
https://esm.sh/compose-middleware@5.0.1
| Package | Weekly downloads | Gzip | Last release | Module | Comparison |
|---|---|---|---|---|---|
| pure-http | 7.9k | - | 2 years ago | CommonJS | - |
| @koa/router | 1.8m | - | 2 months ago | ESM + CommonJS | - |
| http-proxy-middleware | 21.4m | - | 2 months ago | ESM only | - |
| express-xml-bodyparser | 70k | - | 1 year ago | CommonJS | - |
| zod-express-middleware | 23.8k | - | 5 years ago | CommonJS | - |
| @remix-run/fetch-router | 13.7k | - | 6 days ago | ESM only | - |
| @dr.pogodin/csurf | 19.3k | - | 3 days ago | ESM only | - |
| express-jwt-permissions | 55.1k | - | 3 years ago | CommonJS | - |
Indexability: Indexed.