Generates TypeScript interfaces, type aliases, and enums from SQL CREATE TABLE scripts (e.g., from phpMyAdmin). Version 1.0.14. Low maintenance; last release in 2020. Differentiator: simple CLI tool that converts SQL schema to TypeScript definitions automatically.
npm install sql-to-tsNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Installs the CLI globally, then generates TypeScript interfaces from a SQL schema file.
Use phpMyAdmin export or manually format SQL CREATE TABLE statements as expected.
Migrate to actively maintained tools for SQL-to-TypeScript generation.
Use --clean flag to clear output directory before generating new files.
Install with -g: npm install -g sql-to-ts, or use npx: npx sql-to-ts ...
Ensure SQL uses CREATE TABLE statements without MySQL-specific extensions not supported by parser.
No dependency data recorded yet.