depd
npmv2.0.0Deprecate all the things
Not recommended for new projects
No — depd should not be adopted for new projects. Last published 2875 days ago.
- AAdoption: grade A, Excellent.
103.8M downloads per week and 4 known dependents.
- FMaintenance: grade F, Failing.
Last published 2875 days ago.
- AWeight: grade A, Excellent.
Zero runtime dependencies, about 26 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 depd 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 >= 0.8
- Module format
- CommonJS only
- TypeScript
- No bundled types
- Install scripts
- None
Quick start
A usage example from the depd README.
var deprecate = require('depd')('my-module')Dependencies
Declared by depd v2.0.0. Runtime dependencies are installed with the package; dev dependencies are not.
Dev (13)
Used by
Popular packages that depend on depd.
Relationship graph
Dependencies (left) and dependents (right) of depd.
Frequently installed together
An AST-based pattern checker for JavaScript.
Node.js final http responder
parse a url with memoization
Lightweight debugging utility for Node.js and the browser
HTTP status utility
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.
Better streaming static file server with Range and conditional-GET support
Merge objects using their property descriptors
Release history
No releases in the last two years, typically about 8 days apart.
| Version | Published | Size | License |
|---|---|---|---|
| 2.0.0latest | 7 years ago | 26 KB | MIT |
| 1.1.2 | 8 years ago | — | MIT |
| 1.1.1 | 9 years ago | — | MIT |
| 1.1.0 | 11 years ago | — | MIT |
| 1.0.1 | 11 years ago | — | MIT |
| 1.0.0 | 12 years ago | — | MIT |
| 0.4.5 | 12 years ago | — | MIT |
| 0.4.4 | 12 years ago | — | MIT |
| 0.4.3 | 12 years ago | — | MIT |
| 0.4.2 | 12 years ago | — | MIT |
| 0.4.1 | 12 years ago | — | MIT |
| 0.4.0 | 12 years ago | — | MIT |
| 0.3.0 | 12 years ago | — | MIT |
| 0.2.0 | 12 years ago | — | MIT |
| 0.1.0 | 12 years ago | — | MIT |
Overview
depd is an npm package that deprecate all the things. It is extremely widely used, with about 103.8M downloads per week and 4 known dependents in the graph. The latest version is 2.0.0, released under the MIT license.
Who should use it
Teams working in the npm ecosystem who need deprecate all the things and value a battle-tested, widely-adopted 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
- Large, well-established user base (103.8M weekly downloads).
- 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 depd?
No — depd should not be adopted for new projects. Last published 2875 days ago.
How do I install depd?
Run `npm install depd` to add depd to your npm project.
What license is depd released under?
depd is distributed under the MIT license.
How popular is depd?
depd has approximately 103,829,879 downloads per week and 4 known dependent packages.
Is depd still maintained?
The most recent release of depd (v2.0.0) was published 7 years ago.
Does depd run install scripts?
No. depd does not define preinstall, install, or postinstall scripts, so installing it does not execute publisher-supplied code.