{"meta":{"name":"FindSoftware","page":"https://findsoftware.frbit.cloud/slonik/","markdown":"https://findsoftware.frbit.cloud/slonik.md","license":"https://creativecommons.org/licenses/by/4.0/","attribution":"FindSoftware, CC BY 4.0","note":"Attributes are recorded, never scored. An absent field means unknown, never zero and never bad."},"record":{"id":"slonik","name":"Slonik","urls":{"repository":"https://github.com/gajus/slonik","docs":"https://github.com/gajus/slonik"},"category":["library"],"description":"Node.js PostgreSQL client with strict types, detailed logging and assertions, built on the node-postgres driver.","maintainer":"Gajus Kuizinas","maintainerType":"individual","firstRelease":2017,"hosting":["node"],"language":"javascript","runtime":["node"],"runtimeMin":"node 24","contentStore":null,"databases":["postgres"],"adminUi":null,"headlessApi":null,"templating":null,"i18n":null,"runsAs":null,"renderingModes":null,"installMethod":"npm","licenseModel":"open-source","license":"BSD-3-Clause","currentMajor":"49","latestReleaseDate":"2026-11-06T00:00:00.000Z","githubStargazers":4937,"contributors":58,"packagistDownloads":null,"npmWeeklyDownloads":283485,"dependentRepos":245,"dependentPackages":90,"social":{"x":"https://twitter.com/kuizinas"},"checkedAt":"2026-11-16T00:00:00.000Z","addedAt":"2026-11-16T00:00:00.000Z","sources":[{"field":"urls","url":"https://api.github.com/repos/gajus/slonik","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"urls","url":"https://raw.githubusercontent.com/gajus/slonik/main/packages/slonik/README.md","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"category","url":"https://raw.githubusercontent.com/gajus/slonik/main/README.md","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"language","url":"https://api.github.com/repos/gajus/slonik","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"runtime","url":"https://raw.githubusercontent.com/gajus/slonik/main/README.md","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"runtimeMin","url":"https://raw.githubusercontent.com/gajus/slonik/slonik@49.13.0/packages/slonik/package.json","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"databases","url":"https://raw.githubusercontent.com/gajus/slonik/main/README.md","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"license","url":"https://raw.githubusercontent.com/gajus/slonik/slonik@49.13.0/packages/slonik/package.json","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"installMethod","url":"https://registry.npmjs.org/slonik/latest","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"licenseModel","url":"https://raw.githubusercontent.com/gajus/slonik/main/LICENSE","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"maintainer","url":"https://raw.githubusercontent.com/gajus/slonik/main/LICENSE","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"firstRelease","url":"https://registry.npmjs.org/slonik","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"currentMajor","url":"https://api.github.com/repos/gajus/slonik/releases","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"latestReleaseDate","url":"https://api.github.com/repos/gajus/slonik/releases","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"githubStargazers","url":"https://api.github.com/repos/gajus/slonik","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"contributors","url":"https://api.github.com/repos/gajus/slonik/contributors?per_page=1","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"npmWeeklyDownloads","url":"https://api.npmjs.org/downloads/range/2026-11-01:2026-11-07/slonik","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"dependentPackages","url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/slonik","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"dependentRepos","url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/slonik","checkedAt":"2026-11-16T00:00:00.000Z"}],"status":"active","ai":"authored"},"prose":"Slonik is a PostgreSQL client for Node.js, written in TypeScript. It is built on top of pg, the node-postgres driver, and provides methods for building queries and querying data. The repository is a monorepo that holds the library's packages, and its [README](https://github.com/gajus/slonik) describes the API and compares Slonik with other PostgreSQL clients.\n\n## Worth knowing\n\nThe README says the library does not handle migrations, because a database client and migrations are separate problems. It names other tools for that job."}