sql-loader

JSON →
library 1.0.3 ·javascript
verified Jun 5, 2026

SQL file loader for Node.js that loads .sql files from a directory into a JavaScript object. Version 1.0.3 is the current stable release. It supports relative and absolute paths, and recursively loads files from subdirectories to create nested objects. Simple alternative to other SQL loaders, no external dependencies, works with both CommonJS and ESM.