Small utility library (v0.3.3, low release cadence) for Postgres SQL generation: provides quoteId and quoteVal functions for safely quoting identifiers and values. Minimal dependencies, MIT license. Differentiator: simple, focused, but lacks polish and documentation.
npm install postgres-dump-writer-helpers-220524-pmbNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Demonstrates quoting a table name with space and a string with single quote.
Consider using more mature alternatives like 'pg-format' or 'sql-template-strings'.
Use dynamic import() or switch to ESM in your project.
Review source code on GitHub to understand exact behavior.
Use import statement or dynamic import() instead of require().
Check the source code for supported identifier characters.
Use import { quoteId, quoteVal } from '...' or import * as helpers from '...'.