A blazing fast, lightweight Node.js CLI tool for parsing MySQL DDL scripts and extracting structured metadata as clean JSON, without requiring a running MySQL instance. Version 1.0.1 is current. Designed for developers, automation scripts, and LLM agents (Claude Code, Cursor IDE) to inspect, validate, and understand complex database schemas offline. Features include table existence checking, column listing, granular field inspection, relational map engine (primary keys, indexes, foreign keys), and AST dump. Released under MIT license with active maintenance.
npm install mysql-ddl-scoutNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Check existence of MySQL DDL files for given table names in current directory.
Always check the `exists` field in each result object, not just exit code.
Parse JSON output even when exit code is 1; handle partial results.
N/A
npm install mysql-ddl-scout (includes node-sql-parser as dependency)
npm install -g mysql-ddl-scout
Use `--exists` or `--fields` flags for JSON output
Verify folder path and DDL file names match table names exactly