Skip to content
JS
Package

custom-error-instance

Create custom JavaScript errors that also match instanceof.

v2.1.2, 27 Apr 2020ISC-Types: -
$ npm install custom-error-instance

Key numbers

As of 25 Sept 2026
Weekly downloads
1.2m
+285% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
6 years ago
v2.1.2
GitHub stars
-
Open issues / PRs
- / -
Contributors
-
Commits, last 52 weeks
-

Downloads

Last week 2026-09-15 to 2026-09-21
0500k1m1.5m2mSept 2025Mar 2026Sept 2026High 1.7m (25 Aug 2026)Low 192.5k (23 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

1,229,617 downloads last week, 5,822,780 in the last month. The 12-month change of +285% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
09 in total
Latest version
2.1.2, 27 Apr 20206 years ago
First published
12 Jan 2016
Last push to GitHub
-
Repository archived
-
Open issues
-
Open pull requests
-
Commits, last 52 weeks
-
Dependents on npm
17

Major versions

  1. v2 first release 2.0.0, 20 Jan 2016
  2. v1 first release 1.0.0, 12 Jan 2016

Recent releases

VersionPublished
2.1.227 Apr 2020
2.1.121 Jan 2016
2.1.021 Jan 2016
2.0.220 Jan 2016
2.0.120 Jan 2016
2.0.020 Jan 2016
1.1.113 Jan 2016
1.1.013 Jan 2016
1.0.012 Jan 2016
Module format
-Not determined from package.json
TypeScript types
-
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
-
Dependencies (0)
None
npm install custom-error-instance
  • jsDelivrhttps://cdn.jsdelivr.net/npm/custom-error-instance@2.1.2/
  • unpkghttps://unpkg.com/custom-error-instance@2.1.2/
  • esm.shhttps://esm.sh/custom-error-instance@2.1.2
Sources: npm registry, npm downloads API. Data fetched 25 Sept 2026.

Indexability: Not indexed (discovery only): completeness 0.5 < 0.6 (missing: github_owner, stars, module_type, category); GitHub data not fetched yet; no category.