{"adoption": {"forks": 115, "observed_at": "2026-08-28T04:05:03.416929+00:00", "stars": 1559}, "canonical_url": "https://ross.abutalabs.com/products/http-errors", "card": {"archived": false, "artifact_type": "library", "description": "Create HTTP Errors", "domain": ["backend", "web-development", "apis"], "enriched": true, "function": ["error-handling", "http-server", "middleware"], "health_score": 87, "homepage": null, "language": "JavaScript", "license": "MIT", "license_family": "permissive", "maturity": "stable", "member_repos": ["jshttp/http-errors"], "name": "jshttp/http-errors", "platform": [], "pushed_at": "2026-06-01T02:53:49+00:00", "repo": "jshttp/http-errors", "stars": 1559, "tags": ["http-errors", "express", "koa", "connect", "nodejs"], "topics": [], "urls": [], "use_cases": ["create http error objects in nodejs", "attach status codes to errors in express", "send proper 404 and 401 errors from middleware", "wrap fs errors as http errors", "check if an error is an http error", "customize error messages for api responses"], "what_it_is": "http-errors is a Node.js library for creating HTTP error objects with status codes, messages, and custom properties. It integrates easily with frameworks like Express, Koa, and Connect for consistent error handling.", "when_to_avoid": ["you are not building HTTP servers or APIs", "your framework already provides its own error creation utilities"], "when_to_choose": ["you build Express, Koa, or Connect apps and need structured HTTP errors", "you want consistent status codes and expose flags on errors", "you need to extend existing error objects with HTTP properties"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/http-errors", "repo": "jshttp/http-errors", "role": "main", "score": 67}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:05:03.416929+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T04:29:50.603621+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "640bcbbd42dfb4519fc0363ec514ba423ec1ade99e65f87e3ce1a7e7bedffbe2", "fetched_at": "2026-08-28T04:05:03.416929+00:00", "kind": "readme", "missing": false, "url": "https://github.com/jshttp/http-errors"}, {"content_hash": "ca32e5f30004144dade9b3cbeff5a91e78cf798cd0735ebc098b9d161cc9c250", "fetched_at": "2026-08-29T11:29:48.760782+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/http-errors"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:05:03.416929+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T04:29:50.603621+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "640bcbbd42dfb4519fc0363ec514ba423ec1ade99e65f87e3ce1a7e7bedffbe2", "fetched_at": "2026-08-28T04:05:03.416929+00:00", "kind": "readme", "missing": false, "url": "https://github.com/jshttp/http-errors"}, {"content_hash": "ca32e5f30004144dade9b3cbeff5a91e78cf798cd0735ebc098b9d161cc9c250", "fetched_at": "2026-08-29T11:29:48.760782+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/http-errors"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T04:29:50.603621+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "640bcbbd42dfb4519fc0363ec514ba423ec1ade99e65f87e3ce1a7e7bedffbe2", "fetched_at": "2026-08-28T04:05:03.416929+00:00", "kind": "readme", "missing": false, "url": "https://github.com/jshttp/http-errors"}, {"content_hash": "ca32e5f30004144dade9b3cbeff5a91e78cf798cd0735ebc098b9d161cc9c250", "fetched_at": "2026-08-29T11:29:48.760782+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/http-errors"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:05:03.416929+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:05:03.416929+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:05:03.416929+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T04:29:50.603621+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "640bcbbd42dfb4519fc0363ec514ba423ec1ade99e65f87e3ce1a7e7bedffbe2", "fetched_at": "2026-08-28T04:05:03.416929+00:00", "kind": "readme", "missing": false, "url": "https://github.com/jshttp/http-errors"}, {"content_hash": "ca32e5f30004144dade9b3cbeff5a91e78cf798cd0735ebc098b9d161cc9c250", "fetched_at": "2026-08-29T11:29:48.760782+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/http-errors"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:05:03.416929+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:05:03.416929+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T04:29:50.603621+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "640bcbbd42dfb4519fc0363ec514ba423ec1ade99e65f87e3ce1a7e7bedffbe2", "fetched_at": "2026-08-28T04:05:03.416929+00:00", "kind": "readme", "missing": false, "url": "https://github.com/jshttp/http-errors"}, {"content_hash": "ca32e5f30004144dade9b3cbeff5a91e78cf798cd0735ebc098b9d161cc9c250", "fetched_at": "2026-08-29T11:29:48.760782+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/http-errors"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:05:03.416929+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:05:03.416929+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:05:03.416929+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T04:29:50.603621+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "640bcbbd42dfb4519fc0363ec514ba423ec1ade99e65f87e3ce1a7e7bedffbe2", "fetched_at": "2026-08-28T04:05:03.416929+00:00", "kind": "readme", "missing": false, "url": "https://github.com/jshttp/http-errors"}, {"content_hash": "ca32e5f30004144dade9b3cbeff5a91e78cf798cd0735ebc098b9d161cc9c250", "fetched_at": "2026-08-29T11:29:48.760782+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/http-errors"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:05:03.416929+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:05:03.416929+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T04:29:50.603621+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "640bcbbd42dfb4519fc0363ec514ba423ec1ade99e65f87e3ce1a7e7bedffbe2", "fetched_at": "2026-08-28T04:05:03.416929+00:00", "kind": "readme", "missing": false, "url": "https://github.com/jshttp/http-errors"}, {"content_hash": "ca32e5f30004144dade9b3cbeff5a91e78cf798cd0735ebc098b9d161cc9c250", "fetched_at": "2026-08-29T11:29:48.760782+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/http-errors"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T04:29:50.603621+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "640bcbbd42dfb4519fc0363ec514ba423ec1ade99e65f87e3ce1a7e7bedffbe2", "fetched_at": "2026-08-28T04:05:03.416929+00:00", "kind": "readme", "missing": false, "url": "https://github.com/jshttp/http-errors"}, {"content_hash": "ca32e5f30004144dade9b3cbeff5a91e78cf798cd0735ebc098b9d161cc9c250", "fetched_at": "2026-08-29T11:29:48.760782+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/http-errors"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T04:29:50.603621+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "640bcbbd42dfb4519fc0363ec514ba423ec1ade99e65f87e3ce1a7e7bedffbe2", "fetched_at": "2026-08-28T04:05:03.416929+00:00", "kind": "readme", "missing": false, "url": "https://github.com/jshttp/http-errors"}, {"content_hash": "ca32e5f30004144dade9b3cbeff5a91e78cf798cd0735ebc098b9d161cc9c250", "fetched_at": "2026-08-29T11:29:48.760782+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/http-errors"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T04:29:50.603621+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "640bcbbd42dfb4519fc0363ec514ba423ec1ade99e65f87e3ce1a7e7bedffbe2", "fetched_at": "2026-08-28T04:05:03.416929+00:00", "kind": "readme", "missing": false, "url": "https://github.com/jshttp/http-errors"}, {"content_hash": "ca32e5f30004144dade9b3cbeff5a91e78cf798cd0735ebc098b9d161cc9c250", "fetched_at": "2026-08-29T11:29:48.760782+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/http-errors"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 85, "longevity": 100, "rhythm": 25}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 4377, "days_push": 93, "days_rel": 286, "gap_med": null, "n_releases_24m": 1}, "score": 67, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}