Skip to content
JS
Package

slonik

A Node.js PostgreSQL client with strict types, detailed logging and assertions.

v49.10.10, 21 Sept 2026BSD-3-ClauseESM onlyTypes: BundledDatabase clients and driversTypeScript tooling
$ npm install slonik

Key numbers

As of 25 Sept 2026
Weekly downloads
112k
+13% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
14
Direct, from package.json
Last release
3 days ago
v49.10.10
GitHub stars
4.9k
156 forks
Open issues / PRs
1 / 0
Contributors
-
Commits, last 52 weeks
258

Downloads

Last week 2026-09-15 to 2026-09-21
050k100k150k200kSept 2025Mar 2026Sept 2026High 167.7k (9 Jun 2026)Low 28.4k (23 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

112,022 downloads last week, 472,190 in the last month. The 12-month change of +13% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
-
Latest version
49.10.10, 21 Sept 20263 days ago
First published
-
Last push to GitHub
21 Sept 20263 days before the snapshot
Repository archived
No
Open issues
1
Open pull requests
0
Commits, last 52 weeks
258
Dependents on npm
115

Major versions

-

Recent releases

-

Module format
ESM onlyFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
>=24
Runtimes
-
Unpacked size (npm)
994 kB
Dependencies (14)
zodroarrp-queue@slonik/driver@slonik/errors@slonik/sql-tagserialize-erroriso8601-duration@slonik/pg-driver@slonik/utilitiespostgres-interval@opentelemetry/api@standard-schema/specstrict-event-emitter-types
npm install slonik
  • jsDelivrhttps://cdn.jsdelivr.net/npm/slonik@49.10.10/
  • unpkghttps://unpkg.com/slonik@49.10.10/
  • esm.shhttps://esm.sh/slonik@49.10.10
PackageWeekly downloadsGzipLast releaseModuleComparison
prostgles-server5.7k-todayCommonJS-
@queuert/postgres5.7k-1 month agoESM only-
pg-logical-replication33.1k-3 months agoCommonJS-
@fedify/postgres6.3k-3 days agoESM + CommonJS-
libsql2.2m-6 months agoCommonJS-
oracledb568.6k-2 months agoCommonJSoracledb vs slonik
ts-postgres9.6k-2 years agoESM + CommonJS-
pg-introspection33.3k-5 months agoCommonJS-

Related

Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.