nocache
npmv4.0.0TypeScriptMiddleware to destroy caching
Not recommended for new projects
No — nocache should not be adopted for new projects. Last published 1196 days ago.
- ?Adoption: grade ?, Not reported by this registry.
No download data reported for this package yet.
- FMaintenance: grade F, Failing.
Last published 1196 days ago.
- AWeight: grade A, Excellent.
Zero runtime dependencies, about 3.1 KB installed.
- BSupply chain: grade B, Good.
This package has a single maintainer (bus factor of 1).
- 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 nocache 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
- node >=16.0.0
- Module format
- CommonJS only
- TypeScript
- Types included
- Install scripts
- None
Quick start
A usage example from the nocache README.
const nocache = require("nocache");
// ...
app.use(nocache());nocache 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 |
|---|---|---|---|---|
| nocachethis page | 0 | 1 | MIT | 3 years ago |
| cors | 69.7M | 6 | MIT | 1 day ago |
| make-fetch-happen | 22.8M | 1 | ISC | 1 day ago |
| cacache | 0 | 1 | ISC | 1 day ago |
| file-entry-cache | 134.5M | 1 | MIT | 1 day ago |
| express | 92.8M | 17 | MIT | 1 day ago |
Dependencies
Declared by nocache v4.0.0. Runtime dependencies are installed with the package; dev dependencies are not.
Used by
Popular packages that depend on nocache.
Relationship graph
Dependencies (left) and dependents (right) of nocache.
Frequently installed together
Open stuff like URLs, files, executables. Cross-platform.
Node.js body parsing middleware
Stringify any JavaScript value.
TypeScript definitions for ws
High performance middleware framework
No description provided.
Development-only error handler middleware
Serve static files
Release history
No releases in the last two years, typically about 124 days apart.
| Version | Published | Size | License |
|---|---|---|---|
| 4.0.0latest | 3 years ago | 3.1 KB | MIT |
| 3.0.4 | 4 years ago | 3.2 KB | MIT |
| 3.0.3 | 4 years ago | 4.2 KB | MIT |
| 3.0.2 | 4 years ago | 4.0 KB | MIT |
| 3.0.1 | 5 years ago | 4.5 KB | MIT |
| 3.0.0 | 5 years ago | 4.4 KB | MIT |
| 2.1.0 | 7 years ago | 4.4 KB | MIT |
| 2.0.0 | 10 years ago | — | MIT |
| 1.0.1 | 10 years ago | — | MIT |
| 1.0.0 | 10 years ago | — | MIT |
| 0.4.0 | 11 years ago | — | MIT |
| 0.3.0 | 11 years ago | — | MIT |
| 0.2.0 | 11 years ago | — | MIT |
| 0.1.0 | 12 years ago | — | MIT |
Overview
nocache is an npm package that middleware to destroy caching. It has 1 known dependents in the graph. The latest version is 4.0.0, released under the MIT license.
Who should use it
Teams working in the npm ecosystem who need middleware to destroy caching and value a focused solution.
When not to use it
Consider an alternative if you need to or if a more actively-maintained option better fits your npm stack.
Pros
- Ships TypeScript type definitions.
- Clear open-source license (MIT).
- Lean dependency tree (2 direct dependencies).
Cons
- No significant drawbacks detected from available metadata.
Auto-generated from collected registry metadata. No external claims are inferred.
Maintainers
Frequently asked questions
Should I use nocache?
No — nocache should not be adopted for new projects. Last published 1196 days ago.
How do I install nocache?
Run `npm install nocache` to add nocache to your npm project.
What license is nocache released under?
nocache is distributed under the MIT license.
How popular is nocache?
npm does not publish download counts. Within PackageGraph's crawl, 1 known packages depend on nocache.
Is nocache still maintained?
The most recent release of nocache (v4.0.0) was published 3 years ago.
Does nocache run install scripts?
No. nocache does not define preinstall, install, or postinstall scripts, so installing it does not execute publisher-supplied code.