make-error
npmv1.3.6Make your own error types!
Not recommended for new projects
No — make-error should not be adopted for new projects. Last published 2394 days ago.
- ?Adoption: grade ?, Not reported by this registry.
No download data reported for this package yet.
- FMaintenance: grade F, Failing.
Last published 2394 days ago.
- AWeight: grade A, Excellent.
Zero runtime dependencies, about 12 KB installed.
- ASupply chain: grade A, Excellent.
No install scripts, 3 maintainers, and a contained dependency surface.
- ALicense: grade A, Excellent.
ISC — 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 make-error 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
Quick start
A usage example from the make-error README.
var makeError = require("make-error");make-error 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 |
|---|---|---|---|---|
| make-errorthis page | 0 | 1 | ISC | 6 years ago |
| verror | 19.8M | 1 | MIT | 18 hours ago |
| make-dir | 0 | 2 | MIT | 18 hours ago |
| graceful-fs | 0 | 24 | ISC | 17 hours ago |
| non-error | 0 | 1 | MIT | 18 hours ago |
| http-errors | 149.4M | 7 | MIT | 18 hours ago |
Dependencies
Declared by make-error v1.3.6. Runtime dependencies are installed with the package; dev dependencies are not.
Dev (12)
Used by
Popular packages that depend on make-error.
Relationship graph
Dependencies (left) and dependents (right) of make-error.
Frequently installed together
TypeScript definitions for node
wasm module for swc
ECMAScript parser
React is a JavaScript library for building user interfaces.
Lodash modular utilities.
A JavaScript text diff implementation.
Promise based HTTP client for the browser and node.js
ECMAScript (ESTree) AST walker
Parse yes/no like values
A base TSConfig for working with Node 14.
A base TSConfig for working with Node 16.
Unopinionated, no-frills CLI argument parser
Release history
No releases in the last two years, typically about 47 days apart.
| Version | Published | Size | License |
|---|---|---|---|
| 1.3.6latest | 6 years ago | 12 KB | ISC |
| 1.3.5 | 8 years ago | 11 KB | ISC |
| 1.3.4 | 8 years ago | 11 KB | ISC |
| 1.3.3 | 8 years ago | — | ISC |
| 1.3.2 | 8 years ago | — | ISC |
| 1.3.1 | 8 years ago | — | ISC |
| 1.3.0 | 9 years ago | — | ISC |
| 1.2.3 | 9 years ago | — | ISC |
| 1.2.2 | 9 years ago | — | ISC |
| 1.2.1 | 10 years ago | — | ISC |
| 1.2.0 | 10 years ago | — | ISC |
| 1.1.1 | 10 years ago | — | ISC |
| 1.1.0 | 10 years ago | — | ISC |
| 1.0.4 | 11 years ago | — | ISC |
| 1.0.3 | 11 years ago | — | ISC |
Overview
make-error is an npm package that make your own error types!. It has 1 known dependents in the graph. The latest version is 1.3.6, released under the ISC license.
Who should use it
Teams working in the npm ecosystem who need make your own error types! 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 (ISC).
Cons
- No bundled TypeScript types (may require a separate @types package).
Auto-generated from collected registry metadata. No external claims are inferred.
Frequently asked questions
Should I use make-error?
No — make-error should not be adopted for new projects. Last published 2394 days ago.
How do I install make-error?
Run `npm install make-error` to add make-error to your npm project.
What license is make-error released under?
make-error is distributed under the ISC license.
How popular is make-error?
npm does not publish download counts. Within PackageGraph's crawl, 1 known packages depend on make-error.
Is make-error still maintained?
The most recent release of make-error (v1.3.6) was published 6 years ago.
Does make-error run install scripts?
No. make-error does not define preinstall, install, or postinstall scripts, so installing it does not execute publisher-supplied code.