{"library":"sql-tag","type":"library","category":null,"description":"A template tag for writing elegant parameterized SQL queries using ES2015 tagged template literals. Current stable version is 1.0.1, with a maintenance-only release cadence. It outputs a structured object with the SQL query string and its values, directly compatible with pg, mysql, mysql2, and sequelize (via sequelize-sql-tag). Key differentiators: lightweight, zero dependencies, framework-agnostic, but does not provide escaping safety. Last released in 2018.","language":"javascript","status":"active","version":"1.0.1","tags":["javascript","es6","es2015","multiline","sql","sql-tag","string","strings","tagged"],"last_verified":"Fri Jun 05","install":[{"cmd":"npm install sql-tag","imports":["const sql = require('sql-tag');","import sql from 'sql-tag';"]},{"cmd":"yarn add sql-tag","imports":[]},{"cmd":"pnpm add sql-tag","imports":[]}],"homepage":"https://github.com/seegno/sql-tag","github":"https://github.com/seegno/sql-tag","docs":null,"changelog":null,"pypi":null,"npm":"sql-tag","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}