{"adoption": {"forks": 58, "observed_at": "2026-08-28T04:03:45.566741+00:00", "stars": 1145}, "canonical_url": "https://ross.abutalabs.com/products/graphql-middleware", "card": {"archived": false, "artifact_type": "library", "description": "Split up your GraphQL resolvers in middleware functions", "domain": ["web-development", "backend", "apis", "developer-tools"], "enriched": true, "function": ["middleware", "graphql", "web-framework"], "health_score": 81, "homepage": null, "language": "TypeScript", "license": "MIT", "license_family": "permissive", "maturity": "stable", "member_repos": ["maticzav/graphql-middleware"], "name": "maticzav/graphql-middleware", "platform": [], "pushed_at": "2026-08-26T12:59:11+00:00", "repo": "maticzav/graphql-middleware", "stars": 1145, "tags": ["graphql-schema", "resolver-middleware", "onion-pattern", "schema-wrapper", "nodejs", "typescript"], "topics": [], "urls": [], "use_cases": ["add logging around graphql resolvers", "apply authentication middleware to graphql schema", "share logic across multiple graphql resolvers", "wrap graphql resolvers with error handling", "run code before and after resolver execution"], "what_it_is": "A TypeScript library that lets you split GraphQL resolvers into reusable middleware functions applied to any GraphQL schema. It follows the onion model, running code before and after resolver invocation for cross-cutting concerns like logging, auth, and error handling.", "when_to_avoid": ["you use GraphQL Yoga and need out-of-the-box support", "you want per-field resolver logic only within a single resolver", "your server framework already provides equivalent resolver middleware"], "when_to_choose": ["you want reusable cross-cutting logic across many resolvers", "you need middleware that works with any GraphQL schema", "you prefer the onion middleware pattern for resolver composition"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/graphql-middleware", "repo": "maticzav/graphql-middleware", "role": "main", "score": 67}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:03:45.566741+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T06:34:40.144524+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "cc0000caae10776d2ae34db9bcad6d609443db167f635b9ccc35f4206e743fdb", "fetched_at": "2026-08-28T04:03:45.566741+00:00", "kind": "readme", "missing": false, "url": "https://github.com/maticzav/graphql-middleware"}, {"content_hash": "fd0c5e39242b72378d1e147e25b475e9c9edf14100c41252b3b57dd6eb5c32da", "fetched_at": "2026-08-29T12:39:51.559421+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/graphql-middleware"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:03:45.566741+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T06:34:40.144524+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "cc0000caae10776d2ae34db9bcad6d609443db167f635b9ccc35f4206e743fdb", "fetched_at": "2026-08-28T04:03:45.566741+00:00", "kind": "readme", "missing": false, "url": "https://github.com/maticzav/graphql-middleware"}, {"content_hash": "fd0c5e39242b72378d1e147e25b475e9c9edf14100c41252b3b57dd6eb5c32da", "fetched_at": "2026-08-29T12:39:51.559421+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/graphql-middleware"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T06:34:40.144524+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "cc0000caae10776d2ae34db9bcad6d609443db167f635b9ccc35f4206e743fdb", "fetched_at": "2026-08-28T04:03:45.566741+00:00", "kind": "readme", "missing": false, "url": "https://github.com/maticzav/graphql-middleware"}, {"content_hash": "fd0c5e39242b72378d1e147e25b475e9c9edf14100c41252b3b57dd6eb5c32da", "fetched_at": "2026-08-29T12:39:51.559421+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/graphql-middleware"}], "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:03:45.566741+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:03:45.566741+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:03:45.566741+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T06:34:40.144524+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "cc0000caae10776d2ae34db9bcad6d609443db167f635b9ccc35f4206e743fdb", "fetched_at": "2026-08-28T04:03:45.566741+00:00", "kind": "readme", "missing": false, "url": "https://github.com/maticzav/graphql-middleware"}, {"content_hash": "fd0c5e39242b72378d1e147e25b475e9c9edf14100c41252b3b57dd6eb5c32da", "fetched_at": "2026-08-29T12:39:51.559421+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/graphql-middleware"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:03:45.566741+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:03:45.566741+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T06:34:40.144524+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "cc0000caae10776d2ae34db9bcad6d609443db167f635b9ccc35f4206e743fdb", "fetched_at": "2026-08-28T04:03:45.566741+00:00", "kind": "readme", "missing": false, "url": "https://github.com/maticzav/graphql-middleware"}, {"content_hash": "fd0c5e39242b72378d1e147e25b475e9c9edf14100c41252b3b57dd6eb5c32da", "fetched_at": "2026-08-29T12:39:51.559421+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/graphql-middleware"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:03:45.566741+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:03:45.566741+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:03:45.566741+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T06:34:40.144524+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "cc0000caae10776d2ae34db9bcad6d609443db167f635b9ccc35f4206e743fdb", "fetched_at": "2026-08-28T04:03:45.566741+00:00", "kind": "readme", "missing": false, "url": "https://github.com/maticzav/graphql-middleware"}, {"content_hash": "fd0c5e39242b72378d1e147e25b475e9c9edf14100c41252b3b57dd6eb5c32da", "fetched_at": "2026-08-29T12:39:51.559421+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/graphql-middleware"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:03:45.566741+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:03:45.566741+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T06:34:40.144524+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "cc0000caae10776d2ae34db9bcad6d609443db167f635b9ccc35f4206e743fdb", "fetched_at": "2026-08-28T04:03:45.566741+00:00", "kind": "readme", "missing": false, "url": "https://github.com/maticzav/graphql-middleware"}, {"content_hash": "fd0c5e39242b72378d1e147e25b475e9c9edf14100c41252b3b57dd6eb5c32da", "fetched_at": "2026-08-29T12:39:51.559421+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/graphql-middleware"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T06:34:40.144524+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "cc0000caae10776d2ae34db9bcad6d609443db167f635b9ccc35f4206e743fdb", "fetched_at": "2026-08-28T04:03:45.566741+00:00", "kind": "readme", "missing": false, "url": "https://github.com/maticzav/graphql-middleware"}, {"content_hash": "fd0c5e39242b72378d1e147e25b475e9c9edf14100c41252b3b57dd6eb5c32da", "fetched_at": "2026-08-29T12:39:51.559421+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/graphql-middleware"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T06:34:40.144524+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "cc0000caae10776d2ae34db9bcad6d609443db167f635b9ccc35f4206e743fdb", "fetched_at": "2026-08-28T04:03:45.566741+00:00", "kind": "readme", "missing": false, "url": "https://github.com/maticzav/graphql-middleware"}, {"content_hash": "fd0c5e39242b72378d1e147e25b475e9c9edf14100c41252b3b57dd6eb5c32da", "fetched_at": "2026-08-29T12:39:51.559421+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/graphql-middleware"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T06:34:40.144524+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "cc0000caae10776d2ae34db9bcad6d609443db167f635b9ccc35f4206e743fdb", "fetched_at": "2026-08-28T04:03:45.566741+00:00", "kind": "readme", "missing": false, "url": "https://github.com/maticzav/graphql-middleware"}, {"content_hash": "fd0c5e39242b72378d1e147e25b475e9c9edf14100c41252b3b57dd6eb5c32da", "fetched_at": "2026-08-29T12:39:51.559421+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/graphql-middleware"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 99, "longevity": 100, "rhythm": 8}, "computed_at": "2026-09-02T17:46:02.011165+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 3219, "days_push": 7, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 67, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}