{"adoption": {"forks": 242, "observed_at": "2026-08-28T04:03:19.773195+00:00", "stars": 1038}, "canonical_url": "https://ross.abutalabs.com/products/node-sql-parser", "card": {"archived": false, "artifact_type": "library", "description": "Parse simple SQL statements into an abstract syntax tree (AST) with the visited tableList and convert it back to SQL", "domain": ["databases", "parsers", "developer-tools"], "enriched": true, "function": ["parser", "developer-tools"], "health_score": 93, "homepage": "https://taozhi8833998.github.io/node-sql-parser/", "language": "PEG.js", "license": "Apache-2.0", "license_family": "permissive", "maturity": "active", "member_repos": ["taozhi8833998/node-sql-parser"], "name": "taozhi8833998/node-sql-parser", "platform": ["browser"], "pushed_at": "2026-07-19T01:42:17+00:00", "repo": "taozhi8833998/node-sql-parser", "stars": 1038, "tags": ["sql-parser", "ast", "sql-generation", "pegjs", "multiple-dialects", "nodejs", "javascript"], "topics": [], "urls": [], "use_cases": ["parse sql queries into an ast in nodejs", "convert an sql ast back into a sql string", "extract tables and columns referenced by a sql query", "validate or lint sql statements for multiple database dialects", "analyze sql permissions by checking visited tables and columns", "parse sql in the browser with a lightweight umd bundle"], "what_it_is": "A Node.js and browser library that parses SQL statements into an abstract syntax tree (AST) and converts ASTs back to SQL. It supports multiple database dialects (MySQL, PostgreSQL, TransactSQL, BigQuery, Hive, and more) and reports visited table and column lists with corresponding authorities.", "when_to_avoid": ["you need a full-fidelity parser for complex or vendor-specific SQL beyond simple statements", "you are not working in the JavaScript ecosystem", "you need query execution rather than parsing and analysis"], "when_to_choose": ["you need to parse or generate SQL for multiple database engines in JavaScript", "you want to inspect which tables and columns a query touches, e.g. for access control", "you need a parser that runs in both Node.js and the browser"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/node-sql-parser", "repo": "taozhi8833998/node-sql-parser", "role": "main", "score": 80}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:03:19.773195+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T07:04:19.182612+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "f4fa02ef7c0c1a5bfb191ad510a5a5eaa21a2999dee328926fc39da25e44a867", "fetched_at": "2026-08-28T04:03:19.773195+00:00", "kind": "readme", "missing": false, "url": "https://github.com/taozhi8833998/node-sql-parser"}, {"content_hash": "35ba1b60863a6a49d36796c64ffd143e4a9632084de410a885bcca6e38d0dcfa", "fetched_at": "2026-08-29T13:05:00.704078+00:00", "kind": "homepage", "missing": false, "url": "https://taozhi8833998.github.io/node-sql-parser/"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:03:19.773195+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T07:04:19.182612+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "f4fa02ef7c0c1a5bfb191ad510a5a5eaa21a2999dee328926fc39da25e44a867", "fetched_at": "2026-08-28T04:03:19.773195+00:00", "kind": "readme", "missing": false, "url": "https://github.com/taozhi8833998/node-sql-parser"}, {"content_hash": "35ba1b60863a6a49d36796c64ffd143e4a9632084de410a885bcca6e38d0dcfa", "fetched_at": "2026-08-29T13:05:00.704078+00:00", "kind": "homepage", "missing": false, "url": "https://taozhi8833998.github.io/node-sql-parser/"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T07:04:19.182612+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "f4fa02ef7c0c1a5bfb191ad510a5a5eaa21a2999dee328926fc39da25e44a867", "fetched_at": "2026-08-28T04:03:19.773195+00:00", "kind": "readme", "missing": false, "url": "https://github.com/taozhi8833998/node-sql-parser"}, {"content_hash": "35ba1b60863a6a49d36796c64ffd143e4a9632084de410a885bcca6e38d0dcfa", "fetched_at": "2026-08-29T13:05:00.704078+00:00", "kind": "homepage", "missing": false, "url": "https://taozhi8833998.github.io/node-sql-parser/"}], "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:19.773195+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:03:19.773195+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:03:19.773195+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T07:04:19.182612+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "f4fa02ef7c0c1a5bfb191ad510a5a5eaa21a2999dee328926fc39da25e44a867", "fetched_at": "2026-08-28T04:03:19.773195+00:00", "kind": "readme", "missing": false, "url": "https://github.com/taozhi8833998/node-sql-parser"}, {"content_hash": "35ba1b60863a6a49d36796c64ffd143e4a9632084de410a885bcca6e38d0dcfa", "fetched_at": "2026-08-29T13:05:00.704078+00:00", "kind": "homepage", "missing": false, "url": "https://taozhi8833998.github.io/node-sql-parser/"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:03:19.773195+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:03:19.773195+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T07:04:19.182612+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "f4fa02ef7c0c1a5bfb191ad510a5a5eaa21a2999dee328926fc39da25e44a867", "fetched_at": "2026-08-28T04:03:19.773195+00:00", "kind": "readme", "missing": false, "url": "https://github.com/taozhi8833998/node-sql-parser"}, {"content_hash": "35ba1b60863a6a49d36796c64ffd143e4a9632084de410a885bcca6e38d0dcfa", "fetched_at": "2026-08-29T13:05:00.704078+00:00", "kind": "homepage", "missing": false, "url": "https://taozhi8833998.github.io/node-sql-parser/"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:03:19.773195+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:03:19.773195+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:03:19.773195+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T07:04:19.182612+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "f4fa02ef7c0c1a5bfb191ad510a5a5eaa21a2999dee328926fc39da25e44a867", "fetched_at": "2026-08-28T04:03:19.773195+00:00", "kind": "readme", "missing": false, "url": "https://github.com/taozhi8833998/node-sql-parser"}, {"content_hash": "35ba1b60863a6a49d36796c64ffd143e4a9632084de410a885bcca6e38d0dcfa", "fetched_at": "2026-08-29T13:05:00.704078+00:00", "kind": "homepage", "missing": false, "url": "https://taozhi8833998.github.io/node-sql-parser/"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:03:19.773195+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:03:19.773195+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T07:04:19.182612+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "f4fa02ef7c0c1a5bfb191ad510a5a5eaa21a2999dee328926fc39da25e44a867", "fetched_at": "2026-08-28T04:03:19.773195+00:00", "kind": "readme", "missing": false, "url": "https://github.com/taozhi8833998/node-sql-parser"}, {"content_hash": "35ba1b60863a6a49d36796c64ffd143e4a9632084de410a885bcca6e38d0dcfa", "fetched_at": "2026-08-29T13:05:00.704078+00:00", "kind": "homepage", "missing": false, "url": "https://taozhi8833998.github.io/node-sql-parser/"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T07:04:19.182612+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "f4fa02ef7c0c1a5bfb191ad510a5a5eaa21a2999dee328926fc39da25e44a867", "fetched_at": "2026-08-28T04:03:19.773195+00:00", "kind": "readme", "missing": false, "url": "https://github.com/taozhi8833998/node-sql-parser"}, {"content_hash": "35ba1b60863a6a49d36796c64ffd143e4a9632084de410a885bcca6e38d0dcfa", "fetched_at": "2026-08-29T13:05:00.704078+00:00", "kind": "homepage", "missing": false, "url": "https://taozhi8833998.github.io/node-sql-parser/"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T07:04:19.182612+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "f4fa02ef7c0c1a5bfb191ad510a5a5eaa21a2999dee328926fc39da25e44a867", "fetched_at": "2026-08-28T04:03:19.773195+00:00", "kind": "readme", "missing": false, "url": "https://github.com/taozhi8833998/node-sql-parser"}, {"content_hash": "35ba1b60863a6a49d36796c64ffd143e4a9632084de410a885bcca6e38d0dcfa", "fetched_at": "2026-08-29T13:05:00.704078+00:00", "kind": "homepage", "missing": false, "url": "https://taozhi8833998.github.io/node-sql-parser/"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T07:04:19.182612+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "f4fa02ef7c0c1a5bfb191ad510a5a5eaa21a2999dee328926fc39da25e44a867", "fetched_at": "2026-08-28T04:03:19.773195+00:00", "kind": "readme", "missing": false, "url": "https://github.com/taozhi8833998/node-sql-parser"}, {"content_hash": "35ba1b60863a6a49d36796c64ffd143e4a9632084de410a885bcca6e38d0dcfa", "fetched_at": "2026-08-29T13:05:00.704078+00:00", "kind": "homepage", "missing": false, "url": "https://taozhi8833998.github.io/node-sql-parser/"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 93, "longevity": 100, "rhythm": 53}, "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": 2815, "days_push": 46, "days_rel": 233, "gap_med": 38, "n_releases_24m": 12}, "score": 80, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}