A cross-platform Node.js module for Microsoft SQL Server based on node-mssql, providing connection pooling, transaction contexts, and straightforward query APIs. Current stable version is 5.0.0. Seriate wraps mssql to offer simplified configuration with named connection pools, automatic pooling per database, and shortcut methods like execute and executeTransaction. It emits connectivity events and supports SQL Server, Windows/NTLM authentication. Release cadence is low, primarily maintenance. Differentiator: opinionated pooling and context management reduces boilerplate for SQL Server operations in Node.js.
npm install seriateNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Configures a default connection pool using environment variables, executes a simple SELECT query, and listens for connectivity events.
Use import syntax instead of require().
Pass connection name as first argument or use setDefault first.
Use 'localhost' instead of '.' or '127.0.0.1'.
Ensure unique host/user/database combinations for separate pools.
npm install seriate; use ESM import syntax (import seriate from 'seriate')
import seriate from 'seriate' or import { execute } from 'seriate'Check server address, port (default 1433), and ensure TCP/IP is enabled.