{"library":"node-sql-reader","type":"library","category":null,"description":"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.","language":"javascript","status":"active","version":"0.1.3","tags":["javascript","sql","file","parser","reader","typescript"],"last_verified":"Fri Jun 05","install":[{"cmd":"npm install node-sql-reader","imports":["import { SqlReader } from 'node-sql-reader'","import { parseSqlString } from 'node-sql-reader'","import { runSqlFile } from 'node-sql-reader'","import { runSqlFileAsync } from 'node-sql-reader'"]},{"cmd":"yarn add node-sql-reader","imports":[]},{"cmd":"pnpm add node-sql-reader","imports":[]}],"homepage":"https://github.com/Halynsky/node-sql-reader#readme","github":"https://github.com/Halynsky/node-sql-reader","docs":null,"changelog":null,"pypi":null,"npm":"node-sql-reader","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}