node-sql-reader

JSON →
library 0.1.3 ·javascript
verified Jun 5, 2026

v0.1.3 — A lightweight SQL file reader that parses SQL files or strings into an array of individual queries. Created to address TypeORM's lack of direct SQL file execution for seed/test data. Supports synchronous and asynchronous execution of queries via a runner function. Ships TypeScript types, no dependencies. Simple API, suitable for database seeding scripts and test initializers. Release cadence: infrequent, as it's a small utility.