Skip to content
JS
Package

koa-better-error-handler

A better error-handler for Lad and Koa. Makes `ctx.throw` awesome (best used with koa-404-handler)

v12.0.0, 2 Jan 2026MITCommonJSTypes: NoneHTTP servers and web frameworksPayments and commerce
$ npm install koa-better-error-handler

Key numbers

As of 25 Sept 2026
Weekly downloads
3.1k
+7% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
8
Direct, from package.json
Last release
8 months ago
v12.0.0
GitHub stars
56
9 forks
Open issues / PRs
0 / 0
Contributors
-
Commits, last 52 weeks
2

Downloads

Last week 2026-09-15 to 2026-09-21
02.5k5k7.5k10kSept 2025Mar 2026Sept 2026High 9.9k (9 Jun 2026)Low 944 (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.

3,066 downloads last week, 12,846 in the last month. The 12-month change of +7% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
-
Latest version
12.0.0, 2 Jan 20268 months ago
First published
-
Last push to GitHub
2 Jan 2026265 days before the snapshot
Repository archived
No
Open issues
0
Open pull requests
0
Commits, last 52 weeks
2
Dependents on npm
19

Major versions

-

Recent releases

-

Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
None
Node.js engine range
>= 18
Runtimes
-
Unpacked size (npm)
29 kB
Dependencies (8)
statusescamelcase@hapi/boomcapitalizehtml-to-texttoidentifierhumanize-stringfast-safe-stringify
npm install koa-better-error-handler
  • jsDelivrhttps://cdn.jsdelivr.net/npm/koa-better-error-handler@12.0.0/
  • unpkghttps://unpkg.com/koa-better-error-handler@12.0.0/
  • esm.shhttps://esm.sh/koa-better-error-handler@12.0.0
PackageWeekly downloadsGzipLast releaseModuleComparison
koa-convert2.6m-6 years agoCommonJS-
fastify-type-provider-zod777.4k-3 months agoESM + CommonJS-
express-joi-validations300.9k-2 years agoESM + CommonJS-
zod-express-middleware23.8k-5 years agoCommonJS-
@fastify/type-provider-zod21.7k-5 months agoESM + CommonJS-
express-zod-validations7.7k-2 months agoESM only-
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Not indexed (discovery only): downloads_week 3066 < 10000.