{"adoption": {"forks": 455, "observed_at": "2026-08-28T04:07:28.212547+00:00", "stars": 2886}, "canonical_url": "https://ross.abutalabs.com/products/sql-formatter-org-sql-formatter", "card": {"archived": false, "artifact_type": "library", "description": "A whitespace formatter for different query languages", "domain": ["developer-tools", "databases", "web-development"], "enriched": true, "function": ["formatter", "parser", "cli"], "health_score": 98, "homepage": "https://sql-formatter-org.github.io/sql-formatter/", "language": "TypeScript", "license": "MIT", "license_family": "permissive", "maturity": "active", "member_repos": ["sql-formatter-org/sql-formatter"], "name": "sql-formatter-org/sql-formatter", "platform": ["cli", "browser", "cross-platform"], "pushed_at": "2026-08-23T10:52:43+00:00", "repo": "sql-formatter-org/sql-formatter", "stars": 2886, "tags": ["sql", "pretty-printing", "sql-dialects", "typescript", "code-formatting", "nodejs"], "topics": ["sql", "formatter", "n1ql", "javascript"], "urls": [], "use_cases": ["format sql queries", "pretty print sql code", "format mysql queries in javascript", "sql formatter cli", "standardize sql formatting in codebase", "format bigquery or snowflake sql", "replace placeholders in prepared sql statements"], "what_it_is": "A JavaScript/TypeScript library that pretty-prints SQL queries across many dialects including PostgreSQL, MySQL, BigQuery, Snowflake, and PL/SQL. It can be used programmatically, via a CLI, or through a web demo, with options for keyword casing, indentation, and placeholder replacement.", "when_to_avoid": ["you need to format stored procedures or custom delimiters", "you need a full SQL parser or linter rather than a whitespace formatter", "you work outside the JavaScript ecosystem and prefer a native tool"], "when_to_choose": ["you need to format SQL across many dialects in a JS/TS project", "you want a CLI or browser-based SQL formatter", "you need configurable keyword casing and indentation styles"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/sql-formatter-org-sql-formatter", "repo": "sql-formatter-org/sql-formatter", "role": "main", "score": 96}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:07:28.212547+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T07:35:23.411374+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "ae82ec8e3979332a27a9e2d2cc22438072787329b5b1cb7fdfa0f37b79542824", "fetched_at": "2026-08-28T04:07:28.212547+00:00", "kind": "readme", "missing": false, "url": "https://github.com/sql-formatter-org/sql-formatter"}, {"content_hash": "31d9ffa2a75fc0620cc538f61d6126324c07ece8bf3df08f2bb7246b5322febd", "fetched_at": "2026-08-29T09:51:02.419091+00:00", "kind": "homepage", "missing": false, "url": "https://sql-formatter-org.github.io/sql-formatter/"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:07:28.212547+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T07:35:23.411374+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "ae82ec8e3979332a27a9e2d2cc22438072787329b5b1cb7fdfa0f37b79542824", "fetched_at": "2026-08-28T04:07:28.212547+00:00", "kind": "readme", "missing": false, "url": "https://github.com/sql-formatter-org/sql-formatter"}, {"content_hash": "31d9ffa2a75fc0620cc538f61d6126324c07ece8bf3df08f2bb7246b5322febd", "fetched_at": "2026-08-29T09:51:02.419091+00:00", "kind": "homepage", "missing": false, "url": "https://sql-formatter-org.github.io/sql-formatter/"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T07:35:23.411374+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "ae82ec8e3979332a27a9e2d2cc22438072787329b5b1cb7fdfa0f37b79542824", "fetched_at": "2026-08-28T04:07:28.212547+00:00", "kind": "readme", "missing": false, "url": "https://github.com/sql-formatter-org/sql-formatter"}, {"content_hash": "31d9ffa2a75fc0620cc538f61d6126324c07ece8bf3df08f2bb7246b5322febd", "fetched_at": "2026-08-29T09:51:02.419091+00:00", "kind": "homepage", "missing": false, "url": "https://sql-formatter-org.github.io/sql-formatter/"}], "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:28.212547+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:07:28.212547+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:07:28.212547+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T07:35:23.411374+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "ae82ec8e3979332a27a9e2d2cc22438072787329b5b1cb7fdfa0f37b79542824", "fetched_at": "2026-08-28T04:07:28.212547+00:00", "kind": "readme", "missing": false, "url": "https://github.com/sql-formatter-org/sql-formatter"}, {"content_hash": "31d9ffa2a75fc0620cc538f61d6126324c07ece8bf3df08f2bb7246b5322febd", "fetched_at": "2026-08-29T09:51:02.419091+00:00", "kind": "homepage", "missing": false, "url": "https://sql-formatter-org.github.io/sql-formatter/"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:07:28.212547+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:07:28.212547+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T07:35:23.411374+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "ae82ec8e3979332a27a9e2d2cc22438072787329b5b1cb7fdfa0f37b79542824", "fetched_at": "2026-08-28T04:07:28.212547+00:00", "kind": "readme", "missing": false, "url": "https://github.com/sql-formatter-org/sql-formatter"}, {"content_hash": "31d9ffa2a75fc0620cc538f61d6126324c07ece8bf3df08f2bb7246b5322febd", "fetched_at": "2026-08-29T09:51:02.419091+00:00", "kind": "homepage", "missing": false, "url": "https://sql-formatter-org.github.io/sql-formatter/"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:07:28.212547+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:07:28.212547+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:07:28.212547+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T07:35:23.411374+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "ae82ec8e3979332a27a9e2d2cc22438072787329b5b1cb7fdfa0f37b79542824", "fetched_at": "2026-08-28T04:07:28.212547+00:00", "kind": "readme", "missing": false, "url": "https://github.com/sql-formatter-org/sql-formatter"}, {"content_hash": "31d9ffa2a75fc0620cc538f61d6126324c07ece8bf3df08f2bb7246b5322febd", "fetched_at": "2026-08-29T09:51:02.419091+00:00", "kind": "homepage", "missing": false, "url": "https://sql-formatter-org.github.io/sql-formatter/"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:07:28.212547+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:07:28.212547+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T07:35:23.411374+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "ae82ec8e3979332a27a9e2d2cc22438072787329b5b1cb7fdfa0f37b79542824", "fetched_at": "2026-08-28T04:07:28.212547+00:00", "kind": "readme", "missing": false, "url": "https://github.com/sql-formatter-org/sql-formatter"}, {"content_hash": "31d9ffa2a75fc0620cc538f61d6126324c07ece8bf3df08f2bb7246b5322febd", "fetched_at": "2026-08-29T09:51:02.419091+00:00", "kind": "homepage", "missing": false, "url": "https://sql-formatter-org.github.io/sql-formatter/"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T07:35:23.411374+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "ae82ec8e3979332a27a9e2d2cc22438072787329b5b1cb7fdfa0f37b79542824", "fetched_at": "2026-08-28T04:07:28.212547+00:00", "kind": "readme", "missing": false, "url": "https://github.com/sql-formatter-org/sql-formatter"}, {"content_hash": "31d9ffa2a75fc0620cc538f61d6126324c07ece8bf3df08f2bb7246b5322febd", "fetched_at": "2026-08-29T09:51:02.419091+00:00", "kind": "homepage", "missing": false, "url": "https://sql-formatter-org.github.io/sql-formatter/"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T07:35:23.411374+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "ae82ec8e3979332a27a9e2d2cc22438072787329b5b1cb7fdfa0f37b79542824", "fetched_at": "2026-08-28T04:07:28.212547+00:00", "kind": "readme", "missing": false, "url": "https://github.com/sql-formatter-org/sql-formatter"}, {"content_hash": "31d9ffa2a75fc0620cc538f61d6126324c07ece8bf3df08f2bb7246b5322febd", "fetched_at": "2026-08-29T09:51:02.419091+00:00", "kind": "homepage", "missing": false, "url": "https://sql-formatter-org.github.io/sql-formatter/"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T07:35:23.411374+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "ae82ec8e3979332a27a9e2d2cc22438072787329b5b1cb7fdfa0f37b79542824", "fetched_at": "2026-08-28T04:07:28.212547+00:00", "kind": "readme", "missing": false, "url": "https://github.com/sql-formatter-org/sql-formatter"}, {"content_hash": "31d9ffa2a75fc0620cc538f61d6126324c07ece8bf3df08f2bb7246b5322febd", "fetched_at": "2026-08-29T09:51:02.419091+00:00", "kind": "homepage", "missing": false, "url": "https://sql-formatter-org.github.io/sql-formatter/"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 99, "longevity": 100, "rhythm": 89}, "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": 3642, "days_push": 10, "days_rel": 73, "gap_med": 16, "n_releases_24m": 34}, "score": 96, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}