mysql-named-params-escape

JSON →
library 1.0.2 ·javascript
verified Jun 5, 2026

Custom query format for named parameters in node-mysql (mysql2 compatible). Version 1.0.2. Allows use of named placeholders prefixed with : for values and :: for identifiers (e.g., column names, table names) in MySQL queries. Integrates with mysql's connection.config.queryFormat. Lightweight, no dependencies. Alternatives: knex, squel, but this is a minimal escape-only solution.