{"adoption": {"forks": 47, "observed_at": "2026-08-28T04:07:41.164137+00:00", "stars": 3061}, "canonical_url": "https://ross.abutalabs.com/products/next-safe-action", "card": {"archived": false, "artifact_type": "library", "description": "Type safe and validated Server Actions in your Next.js project.", "domain": ["web-development", "frontend", "backend", "developer-tools"], "enriched": true, "function": ["api-framework", "middleware", "form-handling", "type-system"], "health_score": 99, "homepage": "https://next-safe-action.dev", "language": "TypeScript", "license": "MIT", "license_family": "permissive", "maturity": "active", "member_repos": ["next-safe-action/next-safe-action"], "name": "next-safe-action/next-safe-action", "platform": [], "pushed_at": "2026-08-20T23:07:17+00:00", "repo": "next-safe-action/next-safe-action", "stars": 3061, "tags": ["nextjs", "server-actions", "react-server-components", "zod", "standard-schema", "app-router", "type-safety", "nodejs", "typescript", "web-server"], "topics": ["actions", "app-dir", "mutations", "next", "nextjs", "react", "rsc", "server-components", "typesafe", "typescript", "react-server-components", "react-actions", "server-actions", "next-actions", "zod"], "urls": [], "use_cases": ["validate inputs for next.js server actions", "create type-safe mutations in next.js app router", "add middleware like auth to server actions", "handle errors in server actions with proper typing", "build end-to-end typesafe api with next.js", "use zod validation with react server components"], "what_it_is": "next-safe-action is a TypeScript library for defining type-safe, validated Next.js Server Actions with middleware support. It works with any Standard Schema validator (e.g., Zod, Valibot) and provides end-to-end type safety between server and client code.", "when_to_avoid": ["you don't use Next.js or its Server Actions", "you're on an older Next.js version without App Router support", "you prefer plain API routes or tRPC for client-server communication"], "when_to_choose": ["you use Next.js 14+ App Router with Server Actions and want type safety", "you need input validation and middleware (auth, logging) for mutations", "you want a well-maintained library with strong community adoption"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/next-safe-action", "repo": "next-safe-action/next-safe-action", "role": "main", "score": 92}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:07:41.164137+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T07:28:22.255968+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "5ca6180c67fc015a365410d706981e32d0c333187ed3cb9e29701541b12e5979", "fetched_at": "2026-08-28T04:07:41.164137+00:00", "kind": "readme", "missing": false, "url": "https://github.com/next-safe-action/next-safe-action"}, {"content_hash": "c2eebef07b846279435c95060caa4727c841cd3d033032742127ac96e260eb6a", "fetched_at": "2026-08-29T09:43:56.437297+00:00", "kind": "homepage", "missing": false, "url": "https://next-safe-action.dev"}, {"content_hash": "11621dd92244dd6a7df9e69bd7b2c0202b76ba2e8190c3744525bc7e9ae47372", "fetched_at": "2026-08-29T09:43:56.446867+00:00", "kind": "site_page", "missing": false, "url": "https://next-safe-action.dev/docs/getting-started"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:07:41.164137+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T07:28:22.255968+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "5ca6180c67fc015a365410d706981e32d0c333187ed3cb9e29701541b12e5979", "fetched_at": "2026-08-28T04:07:41.164137+00:00", "kind": "readme", "missing": false, "url": "https://github.com/next-safe-action/next-safe-action"}, {"content_hash": "c2eebef07b846279435c95060caa4727c841cd3d033032742127ac96e260eb6a", "fetched_at": "2026-08-29T09:43:56.437297+00:00", "kind": "homepage", "missing": false, "url": "https://next-safe-action.dev"}, {"content_hash": "11621dd92244dd6a7df9e69bd7b2c0202b76ba2e8190c3744525bc7e9ae47372", "fetched_at": "2026-08-29T09:43:56.446867+00:00", "kind": "site_page", "missing": false, "url": "https://next-safe-action.dev/docs/getting-started"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T07:28:22.255968+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "5ca6180c67fc015a365410d706981e32d0c333187ed3cb9e29701541b12e5979", "fetched_at": "2026-08-28T04:07:41.164137+00:00", "kind": "readme", "missing": false, "url": "https://github.com/next-safe-action/next-safe-action"}, {"content_hash": "c2eebef07b846279435c95060caa4727c841cd3d033032742127ac96e260eb6a", "fetched_at": "2026-08-29T09:43:56.437297+00:00", "kind": "homepage", "missing": false, "url": "https://next-safe-action.dev"}, {"content_hash": "11621dd92244dd6a7df9e69bd7b2c0202b76ba2e8190c3744525bc7e9ae47372", "fetched_at": "2026-08-29T09:43:56.446867+00:00", "kind": "site_page", "missing": false, "url": "https://next-safe-action.dev/docs/getting-started"}], "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:07:41.164137+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:07:41.164137+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:07:41.164137+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T07:28:22.255968+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "5ca6180c67fc015a365410d706981e32d0c333187ed3cb9e29701541b12e5979", "fetched_at": "2026-08-28T04:07:41.164137+00:00", "kind": "readme", "missing": false, "url": "https://github.com/next-safe-action/next-safe-action"}, {"content_hash": "c2eebef07b846279435c95060caa4727c841cd3d033032742127ac96e260eb6a", "fetched_at": "2026-08-29T09:43:56.437297+00:00", "kind": "homepage", "missing": false, "url": "https://next-safe-action.dev"}, {"content_hash": "11621dd92244dd6a7df9e69bd7b2c0202b76ba2e8190c3744525bc7e9ae47372", "fetched_at": "2026-08-29T09:43:56.446867+00:00", "kind": "site_page", "missing": false, "url": "https://next-safe-action.dev/docs/getting-started"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:07:41.164137+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:07:41.164137+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T07:28:22.255968+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "5ca6180c67fc015a365410d706981e32d0c333187ed3cb9e29701541b12e5979", "fetched_at": "2026-08-28T04:07:41.164137+00:00", "kind": "readme", "missing": false, "url": "https://github.com/next-safe-action/next-safe-action"}, {"content_hash": "c2eebef07b846279435c95060caa4727c841cd3d033032742127ac96e260eb6a", "fetched_at": "2026-08-29T09:43:56.437297+00:00", "kind": "homepage", "missing": false, "url": "https://next-safe-action.dev"}, {"content_hash": "11621dd92244dd6a7df9e69bd7b2c0202b76ba2e8190c3744525bc7e9ae47372", "fetched_at": "2026-08-29T09:43:56.446867+00:00", "kind": "site_page", "missing": false, "url": "https://next-safe-action.dev/docs/getting-started"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:07:41.164137+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:07:41.164137+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:07:41.164137+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T07:28:22.255968+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "5ca6180c67fc015a365410d706981e32d0c333187ed3cb9e29701541b12e5979", "fetched_at": "2026-08-28T04:07:41.164137+00:00", "kind": "readme", "missing": false, "url": "https://github.com/next-safe-action/next-safe-action"}, {"content_hash": "c2eebef07b846279435c95060caa4727c841cd3d033032742127ac96e260eb6a", "fetched_at": "2026-08-29T09:43:56.437297+00:00", "kind": "homepage", "missing": false, "url": "https://next-safe-action.dev"}, {"content_hash": "11621dd92244dd6a7df9e69bd7b2c0202b76ba2e8190c3744525bc7e9ae47372", "fetched_at": "2026-08-29T09:43:56.446867+00:00", "kind": "site_page", "missing": false, "url": "https://next-safe-action.dev/docs/getting-started"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:07:41.164137+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:07:41.164137+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T07:28:22.255968+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "5ca6180c67fc015a365410d706981e32d0c333187ed3cb9e29701541b12e5979", "fetched_at": "2026-08-28T04:07:41.164137+00:00", "kind": "readme", "missing": false, "url": "https://github.com/next-safe-action/next-safe-action"}, {"content_hash": "c2eebef07b846279435c95060caa4727c841cd3d033032742127ac96e260eb6a", "fetched_at": "2026-08-29T09:43:56.437297+00:00", "kind": "homepage", "missing": false, "url": "https://next-safe-action.dev"}, {"content_hash": "11621dd92244dd6a7df9e69bd7b2c0202b76ba2e8190c3744525bc7e9ae47372", "fetched_at": "2026-08-29T09:43:56.446867+00:00", "kind": "site_page", "missing": false, "url": "https://next-safe-action.dev/docs/getting-started"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T07:28:22.255968+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "5ca6180c67fc015a365410d706981e32d0c333187ed3cb9e29701541b12e5979", "fetched_at": "2026-08-28T04:07:41.164137+00:00", "kind": "readme", "missing": false, "url": "https://github.com/next-safe-action/next-safe-action"}, {"content_hash": "c2eebef07b846279435c95060caa4727c841cd3d033032742127ac96e260eb6a", "fetched_at": "2026-08-29T09:43:56.437297+00:00", "kind": "homepage", "missing": false, "url": "https://next-safe-action.dev"}, {"content_hash": "11621dd92244dd6a7df9e69bd7b2c0202b76ba2e8190c3744525bc7e9ae47372", "fetched_at": "2026-08-29T09:43:56.446867+00:00", "kind": "site_page", "missing": false, "url": "https://next-safe-action.dev/docs/getting-started"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T07:28:22.255968+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "5ca6180c67fc015a365410d706981e32d0c333187ed3cb9e29701541b12e5979", "fetched_at": "2026-08-28T04:07:41.164137+00:00", "kind": "readme", "missing": false, "url": "https://github.com/next-safe-action/next-safe-action"}, {"content_hash": "c2eebef07b846279435c95060caa4727c841cd3d033032742127ac96e260eb6a", "fetched_at": "2026-08-29T09:43:56.437297+00:00", "kind": "homepage", "missing": false, "url": "https://next-safe-action.dev"}, {"content_hash": "11621dd92244dd6a7df9e69bd7b2c0202b76ba2e8190c3744525bc7e9ae47372", "fetched_at": "2026-08-29T09:43:56.446867+00:00", "kind": "site_page", "missing": false, "url": "https://next-safe-action.dev/docs/getting-started"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T07:28:22.255968+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "5ca6180c67fc015a365410d706981e32d0c333187ed3cb9e29701541b12e5979", "fetched_at": "2026-08-28T04:07:41.164137+00:00", "kind": "readme", "missing": false, "url": "https://github.com/next-safe-action/next-safe-action"}, {"content_hash": "c2eebef07b846279435c95060caa4727c841cd3d033032742127ac96e260eb6a", "fetched_at": "2026-08-29T09:43:56.437297+00:00", "kind": "homepage", "missing": false, "url": "https://next-safe-action.dev"}, {"content_hash": "11621dd92244dd6a7df9e69bd7b2c0202b76ba2e8190c3744525bc7e9ae47372", "fetched_at": "2026-08-29T09:43:56.446867+00:00", "kind": "site_page", "missing": false, "url": "https://next-safe-action.dev/docs/getting-started"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 98, "longevity": 88, "rhythm": 86}, "computed_at": "2026-09-03T02:39:23.370411+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 1236, "days_push": 13, "days_rel": 13, "gap_med": 1.0, "n_releases_24m": 71}, "score": 92, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}