A SQL connection management library for Node.js that wraps the mssql package, providing a simplified API for executing queries with input/output parameters and transaction support. Current stable version is 1.2.4. Release cadence is low (few updates). Key differentiator: it offers a thin convenience layer over mssql, but note the code appears to have a bug (require('devbox-box') instead of 'devbox-sql'). It supports both without-transaction and with-transaction request patterns and has a getOutput method to retrieve output parameters. Limited documentation and likely unstable for production use.
npm install devbox-sqlNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Initialize connection with config, execute a simple parameterized query using promise chain.
Use require('devbox-sql') correctly.Const sql = require('devbox-sql')(config);Use getOutput('paramName') to specify which output parameter to retrieve.const sql = require('devbox-sql')(config);npm install devbox-sql