{"library":"node-sql-template","type":"library","category":null,"description":"A simple SQL template engine and query runner for Node.js, version 0.2.3, low release cadence. It reads SQL files from a directory, renders them with escaped values, and executes queries using a connection pool via the mysql package. Key differentiators: simple API with forge/run, streaming results, and debug output. Alternatives like Squel or Knex are more feature-rich but heavier.","language":"javascript","status":"active","version":"0.2.3","tags":["javascript","sql","mysql","template","engine","query"],"last_verified":"Fri Jun 05","install":[{"cmd":"npm install node-sql-template","imports":["const SQLTemplate = require('node-sql-template');","const template = SQLTemplate.forge(options);","template.render('example-1', [1]);"]},{"cmd":"yarn add node-sql-template","imports":[]},{"cmd":"pnpm add node-sql-template","imports":[]}],"homepage":"https://github.com/adriano-di-giovanni/node-sql-template","github":"https://github.com/adriano-di-giovanni/node-sql-template","docs":null,"changelog":null,"pypi":null,"npm":"node-sql-template","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}