koa-compose
npmv4.1.0compose Koa middleware
Not recommended for new projects
No — koa-compose should not be adopted for new projects. Last published 3032 days ago.
- ?Adoption: grade ?, Not reported by this registry.
No download data reported for this package yet.
- FMaintenance: grade F, Failing.
Last published 3032 days ago.
- AWeight: grade A, Excellent.
Zero runtime dependencies, about 4.1 KB installed.
- ASupply chain: grade A, Excellent.
No install scripts, 10 maintainers, and a contained dependency surface.
- ALicense: grade A, Excellent.
MIT — permissive, with no copyleft found in the dependency tree.
Grades are computed deterministically from registry metadata collected by PackageGraph — downloads, dependents, publish dates, the resolved dependency tree, maintainer count, and declared licenses. No third-party scores are used.
Install cost
What you actually take on by adding koa-compose to a project.
Runtime packages this one declares itself.
Distinct packages in the full runtime tree, deduplicated the way a package manager would.
Unpacked size of this package plus its entire runtime tree.
Longest resolved dependency chain below this package.
Compatibility
- Node.js
- No constraint declared
- Module format
- CommonJS only
- TypeScript
- No bundled types
- Install scripts
- None
koa-compose vs the alternatives
Packages solving a similar problem in the npm ecosystem, compared on the signals that drive an adoption decision.
| Package | Weekly downloads | Dependents | License | Last release |
|---|---|---|---|---|
| koa-composethis page | 0 | 1 | MIT | 8 years ago |
| cors | 69.7M | 6 | MIT | 1 day ago |
| koa | 6.8M | 0 | MIT | 1 day ago |
| redux-thunk | 0 | 1 | MIT | 1 day ago |
| express-rate-limit | 0 | 2 | MIT | 1 day ago |
| connect | 0 | 7 | MIT | 1 day ago |
Dependencies
Declared by koa-compose v4.1.0. Runtime dependencies are installed with the package; dev dependencies are not.
Dev (4)
Used by
Popular packages that depend on koa-compose.
Relationship graph
Dependencies (left) and dependents (right) of koa-compose.
Frequently installed together
Create and parse HTTP Content-Type header
The ultimate javascript content-type utility.
Create HTTP error objects
Encode a URL to a percent-encoded form, excluding already-encoded sequences
Infer the content-type of a request.
Manipulate the HTTP Vary header
Execute a callback when a request closes, finishes, or errors
assert with status codes
Create and parse Content-Disposition header
delegate methods and accessors to another property
HTTP response freshness testing
Higher-level content negotiation
Release history
No releases in the last two years, typically about 87 days apart.
| Version | Published | Size | License |
|---|---|---|---|
| 4.2.0 | 6 years ago | 4.2 KB | MIT |
| 4.1.0latest | 8 years ago | 4.1 KB | MIT |
| 4.0.0 | 9 years ago | — | MIT |
| 3.2.1 | 10 years ago | — | MIT |
| 2.5.1 | 10 years ago | — | MIT |
| 3.2.0 | 10 years ago | — | MIT |
| 2.5.0 | 10 years ago | — | MIT |
| 3.1.0 | 10 years ago | — | MIT |
| 2.4.0 | 10 years ago | — | MIT |
| 3.0.0 | 11 years ago | — | MIT |
| 2.3.0 | 12 years ago | — | MIT |
| 2.2.0 | 12 years ago | — | MIT |
| 2.1.0 | 12 years ago | — | MIT |
| 2.0.1 | 12 years ago | — | MIT |
| 2.0.0 | 13 years ago | — | MIT |
Overview
koa-compose is an npm package that compose Koa middleware. It has 1 known dependents in the graph. The latest version is 4.1.0, released under the MIT license.
Who should use it
Teams working in the npm ecosystem who need compose Koa middleware and value a focused solution.
When not to use it
Consider an alternative if you need to have first-class TypeScript types out of the box, or if a more actively-maintained option better fits your npm stack.
Pros
- Clear open-source license (MIT).
Cons
- No bundled TypeScript types (may require a separate @types package).
Auto-generated from collected registry metadata. No external claims are inferred.
Maintainers
Keywords
Frequently asked questions
Should I use koa-compose?
No — koa-compose should not be adopted for new projects. Last published 3032 days ago.
How do I install koa-compose?
Run `npm install koa-compose` to add koa-compose to your npm project.
What license is koa-compose released under?
koa-compose is distributed under the MIT license.
How popular is koa-compose?
npm does not publish download counts. Within PackageGraph's crawl, 1 known packages depend on koa-compose.
Is koa-compose still maintained?
The most recent release of koa-compose (v4.1.0) was published 8 years ago.
Does koa-compose run install scripts?
No. koa-compose does not define preinstall, install, or postinstall scripts, so installing it does not execute publisher-supplied code.