Skwell is a promised-based SQL Server client for Node.js with built-in connection pooling. Version 12.1.0 is the latest stable release. It provides a simple API for executing queries, stored procedures, bulk loads, and streaming results. Key differentiators include automatic connection pooling, parameter expansion for arrays, and event-based error handling. Released under the MIT license.
npm install skwellNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Connects to SQL Server with environment variables, runs a simple SELECT, and disconnects.
Always provide a valid config object with at least username, password, server, and database.
Ensure you call .destroy() on the stream or use it within a 'for await...of' loop.
If you want pooling, omit 'pool' or set 'pool' to an object with min/max.
Check for empty arrays before passing to avoid unintended empty set logic.
Use 'import skwell from 'skwell'' then 'skwell.connect()'.
Use 'const skwell = require('skwell')' or set up Babel/TypeScript.Verify username/password and server configuration; consider using NTLM domain.