Utility library providing helper functions for generating common SQL commands programmatically. Current version 0.1.13. Lightweight, no dependencies, supports PostgreSQL-specific features like tsquery. Offers methods like createTable, createIndex, insertInto, and tableExists. Suitable for Node.js applications needing dynamic SQL generation. Not actively maintained; last update in 2021.
npm install sql-extraNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Demonstrates generating a CREATE TABLE statement with options.
Use only with PostgreSQL or replace with alternative.
Sanitize column names manually before passing.
Migrate to a more maintained library like 'sql-bricks' or 'knex'.
Run: npm install sql-extra
Use require('sql-extra') instead of import.No dependency data recorded yet.