{"adoption": {"forks": 102, "observed_at": "2026-08-28T04:03:25.951675+00:00", "stars": 1061}, "canonical_url": "https://ross.abutalabs.com/products/schemats", "card": {"archived": false, "artifact_type": "cli-tool", "description": " Generate typescript interface definitions from SQL database schema", "domain": ["databases", "developer-tools", "web-development"], "enriched": true, "function": ["database", "type-system", "cli"], "health_score": 20, "homepage": "https://www.npmjs.com/package/schemats", "language": "TypeScript", "license": "MIT", "license_family": "permissive", "maturity": "maintenance", "member_repos": ["SweetIQ/schemats"], "name": "SweetIQ/schemats", "platform": ["cli", "cross-platform"], "pushed_at": "2022-01-06T15:13:34+00:00", "repo": "SweetIQ/schemats", "stars": 1061, "tags": ["typescript", "postgresql", "mysql", "sql-schema", "code-generation", "schema-reflection", "nodejs"], "topics": ["typescript", "postgresql", "postgres", "schema", "automation", "mysql", "reflection"], "urls": [], "use_cases": ["generate typescript types from postgres schema", "create typescript interfaces from mysql database tables", "keep typescript types in sync with database schema", "statically type sql query results in typescript", "generate type definitions for all tables in a database schema", "avoid hand-writing typescript interfaces for database rows"], "what_it_is": "Schemats is a CLI tool that automatically generates TypeScript interface definitions from Postgres or MySQL database schemas. It introspects tables and columns to produce statically typed interfaces for use in TypeScript projects.", "when_to_avoid": ["you use a database other than Postgres or MySQL", "you want runtime query validation or a query builder, not just type definitions", "you need an actively developed tool with recent updates and broad database support"], "when_to_choose": ["you use Postgres or MySQL with TypeScript and want types derived directly from the live schema", "you want a simple CLI or config-file-driven code generation step in your build", "you prefer lightweight schema-to-interface generation over a full ORM"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/schemats", "repo": "SweetIQ/schemats", "role": "main", "score": 23}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:03:25.951675+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T06:56:48.736641+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "5ae8899f67e5424a08022b6f4b9d10b866149d0647989ab3a8db3c15bc52b2a1", "fetched_at": "2026-08-28T04:03:25.951675+00:00", "kind": "readme", "missing": false, "url": "https://github.com/SweetIQ/schemats"}, {"content_hash": "706bf26e02e5c638410d6dddbf7b9ff88cd2b06cf088560aa30ed3a4fa7be401", "fetched_at": "2026-08-29T12:58:32.208085+00:00", "kind": "homepage", "missing": false, "url": "https://www.npmjs.com/package/schemats"}, {"content_hash": "b4e4b75f4c34fdcbb398b37a3eb4d8f6108d016c928ca4742fe7bf837f63ba02", "fetched_at": "2026-08-29T12:58:32.210791+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/schemats"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:03:25.951675+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T06:56:48.736641+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "5ae8899f67e5424a08022b6f4b9d10b866149d0647989ab3a8db3c15bc52b2a1", "fetched_at": "2026-08-28T04:03:25.951675+00:00", "kind": "readme", "missing": false, "url": "https://github.com/SweetIQ/schemats"}, {"content_hash": "706bf26e02e5c638410d6dddbf7b9ff88cd2b06cf088560aa30ed3a4fa7be401", "fetched_at": "2026-08-29T12:58:32.208085+00:00", "kind": "homepage", "missing": false, "url": "https://www.npmjs.com/package/schemats"}, {"content_hash": "b4e4b75f4c34fdcbb398b37a3eb4d8f6108d016c928ca4742fe7bf837f63ba02", "fetched_at": "2026-08-29T12:58:32.210791+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/schemats"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T06:56:48.736641+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "5ae8899f67e5424a08022b6f4b9d10b866149d0647989ab3a8db3c15bc52b2a1", "fetched_at": "2026-08-28T04:03:25.951675+00:00", "kind": "readme", "missing": false, "url": "https://github.com/SweetIQ/schemats"}, {"content_hash": "706bf26e02e5c638410d6dddbf7b9ff88cd2b06cf088560aa30ed3a4fa7be401", "fetched_at": "2026-08-29T12:58:32.208085+00:00", "kind": "homepage", "missing": false, "url": "https://www.npmjs.com/package/schemats"}, {"content_hash": "b4e4b75f4c34fdcbb398b37a3eb4d8f6108d016c928ca4742fe7bf837f63ba02", "fetched_at": "2026-08-29T12:58:32.210791+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/schemats"}], "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:25.951675+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:03:25.951675+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:03:25.951675+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T06:56:48.736641+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "5ae8899f67e5424a08022b6f4b9d10b866149d0647989ab3a8db3c15bc52b2a1", "fetched_at": "2026-08-28T04:03:25.951675+00:00", "kind": "readme", "missing": false, "url": "https://github.com/SweetIQ/schemats"}, {"content_hash": "706bf26e02e5c638410d6dddbf7b9ff88cd2b06cf088560aa30ed3a4fa7be401", "fetched_at": "2026-08-29T12:58:32.208085+00:00", "kind": "homepage", "missing": false, "url": "https://www.npmjs.com/package/schemats"}, {"content_hash": "b4e4b75f4c34fdcbb398b37a3eb4d8f6108d016c928ca4742fe7bf837f63ba02", "fetched_at": "2026-08-29T12:58:32.210791+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/schemats"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:03:25.951675+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:03:25.951675+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T06:56:48.736641+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "5ae8899f67e5424a08022b6f4b9d10b866149d0647989ab3a8db3c15bc52b2a1", "fetched_at": "2026-08-28T04:03:25.951675+00:00", "kind": "readme", "missing": false, "url": "https://github.com/SweetIQ/schemats"}, {"content_hash": "706bf26e02e5c638410d6dddbf7b9ff88cd2b06cf088560aa30ed3a4fa7be401", "fetched_at": "2026-08-29T12:58:32.208085+00:00", "kind": "homepage", "missing": false, "url": "https://www.npmjs.com/package/schemats"}, {"content_hash": "b4e4b75f4c34fdcbb398b37a3eb4d8f6108d016c928ca4742fe7bf837f63ba02", "fetched_at": "2026-08-29T12:58:32.210791+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/schemats"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:03:25.951675+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:03:25.951675+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:03:25.951675+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T06:56:48.736641+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "5ae8899f67e5424a08022b6f4b9d10b866149d0647989ab3a8db3c15bc52b2a1", "fetched_at": "2026-08-28T04:03:25.951675+00:00", "kind": "readme", "missing": false, "url": "https://github.com/SweetIQ/schemats"}, {"content_hash": "706bf26e02e5c638410d6dddbf7b9ff88cd2b06cf088560aa30ed3a4fa7be401", "fetched_at": "2026-08-29T12:58:32.208085+00:00", "kind": "homepage", "missing": false, "url": "https://www.npmjs.com/package/schemats"}, {"content_hash": "b4e4b75f4c34fdcbb398b37a3eb4d8f6108d016c928ca4742fe7bf837f63ba02", "fetched_at": "2026-08-29T12:58:32.210791+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/schemats"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:03:25.951675+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:03:25.951675+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T06:56:48.736641+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "5ae8899f67e5424a08022b6f4b9d10b866149d0647989ab3a8db3c15bc52b2a1", "fetched_at": "2026-08-28T04:03:25.951675+00:00", "kind": "readme", "missing": false, "url": "https://github.com/SweetIQ/schemats"}, {"content_hash": "706bf26e02e5c638410d6dddbf7b9ff88cd2b06cf088560aa30ed3a4fa7be401", "fetched_at": "2026-08-29T12:58:32.208085+00:00", "kind": "homepage", "missing": false, "url": "https://www.npmjs.com/package/schemats"}, {"content_hash": "b4e4b75f4c34fdcbb398b37a3eb4d8f6108d016c928ca4742fe7bf837f63ba02", "fetched_at": "2026-08-29T12:58:32.210791+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/schemats"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T06:56:48.736641+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "5ae8899f67e5424a08022b6f4b9d10b866149d0647989ab3a8db3c15bc52b2a1", "fetched_at": "2026-08-28T04:03:25.951675+00:00", "kind": "readme", "missing": false, "url": "https://github.com/SweetIQ/schemats"}, {"content_hash": "706bf26e02e5c638410d6dddbf7b9ff88cd2b06cf088560aa30ed3a4fa7be401", "fetched_at": "2026-08-29T12:58:32.208085+00:00", "kind": "homepage", "missing": false, "url": "https://www.npmjs.com/package/schemats"}, {"content_hash": "b4e4b75f4c34fdcbb398b37a3eb4d8f6108d016c928ca4742fe7bf837f63ba02", "fetched_at": "2026-08-29T12:58:32.210791+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/schemats"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T06:56:48.736641+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "5ae8899f67e5424a08022b6f4b9d10b866149d0647989ab3a8db3c15bc52b2a1", "fetched_at": "2026-08-28T04:03:25.951675+00:00", "kind": "readme", "missing": false, "url": "https://github.com/SweetIQ/schemats"}, {"content_hash": "706bf26e02e5c638410d6dddbf7b9ff88cd2b06cf088560aa30ed3a4fa7be401", "fetched_at": "2026-08-29T12:58:32.208085+00:00", "kind": "homepage", "missing": false, "url": "https://www.npmjs.com/package/schemats"}, {"content_hash": "b4e4b75f4c34fdcbb398b37a3eb4d8f6108d016c928ca4742fe7bf837f63ba02", "fetched_at": "2026-08-29T12:58:32.210791+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/schemats"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T06:56:48.736641+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "5ae8899f67e5424a08022b6f4b9d10b866149d0647989ab3a8db3c15bc52b2a1", "fetched_at": "2026-08-28T04:03:25.951675+00:00", "kind": "readme", "missing": false, "url": "https://github.com/SweetIQ/schemats"}, {"content_hash": "706bf26e02e5c638410d6dddbf7b9ff88cd2b06cf088560aa30ed3a4fa7be401", "fetched_at": "2026-08-29T12:58:32.208085+00:00", "kind": "homepage", "missing": false, "url": "https://www.npmjs.com/package/schemats"}, {"content_hash": "b4e4b75f4c34fdcbb398b37a3eb4d8f6108d016c928ca4742fe7bf837f63ba02", "fetched_at": "2026-08-29T12:58:32.210791+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/schemats"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 0, "longevity": 100, "rhythm": 8}, "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": 3670, "days_push": 1700, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 23, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}