{"_id":"kysely-postgres-js","_rev":"8-71165453949174037b5f2ccca78627f7","name":"kysely-postgres-js","dist-tags":{"latest":"5.0.1"},"versions":{"1.0.0":{"name":"kysely-postgres-js","version":"1.0.0","keywords":["kysely","postgres","postgres.js","postgresql","dialect"],"author":{"name":"Igal Klebanov","email":"igalklebanov@gmail.com"},"license":"MIT","_id":"kysely-postgres-js@1.0.0","maintainers":[{"name":"igalklebanov","email":"igalklebanov@gmail.com"}],"homepage":"https://github.com/igalklebanov/kysely-postgres-js","bugs":{"url":"https://github.com/igalklebanov/kysely-postgres-js/issues"},"dist":{"shasum":"f00dfaced7f6edb097458f3ca088a8e00fd77381","tarball":"https://registry.npmjs.org/kysely-postgres-js/-/kysely-postgres-js-1.0.0.tgz","fileCount":12,"integrity":"sha512-Lg1hjYCQuOP79UuDIAencznsh33p1FZFjUJRvSknHMLuPGxL/fW20zq/YlufEQkK5jod7XdKOTj5RqxrUSJ6bQ==","signatures":[{"sig":"MEUCIFDjZTKwliy6HOrXnJegrcpI0AMGKW4Kvgxcr2E5xRrWAiEAoi32DQiYZ7YaIAMHWBKYp/l7TltKOBHPZLPBdfBv2TE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":38178,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkMyLdACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpweA//TPINRinyP400wXuMRXmpnaFLK2Yw9T2k9jj0rbysoUhjeQFd\r\n80jgWcOEjVRcVYNy22yi0dUAs7EBDH3kfAYiZgB3R7roA07qHojfpr/cqzVI\r\ni9V2+hTxzky7uZVDSeWqU9cYIk5X4CMKESPhx9Vtp5VBEHIJ8Ssy4ky6Phs7\r\nAU9k5W6R+ZlQDo3pfQvSNKz2E3KZ/+bkVd7KfK7FdRJ9tX5RUQ1MhtakzRrv\r\ny4acOLg1bKT71AApF9wHfqrUoMI0Uvl+7hs1xo80lr+8kWdKL5XfykMQO3HS\r\nR5jYOQz823/6GWaAEWkYhQjp9KeVXNL4wEkNnt6wOZuKTjZ2USWdHJU1tdpl\r\nHOzwe8hO3qgAT5b64G2khKIjU2WrtWNxHQSUNGErc7JVljK+W//7A5H9+RgY\r\nzTQh4XyEb9j+xnl5lQ1QGgrtQYWAzsRJVaFuDhlrBfUZvMYM6+5Gs6t6+dqd\r\nj3+Skyl9eQPXdpQyZijSZm48MQxdOJ7oqoNfQZAzj+p9GbDm7N/MxR6fgBzv\r\nCTU+kKe3dMAmnAdDLVrg5JO7xbvhqtZjoJX4TIpFBt9fGyn9/KeBJM1BODMm\r\nicRvSPCT20w5c5ooILoHwgowVQFKsh5jIDPTmtHaKovMAqm05S9V1jCPzgFo\r\nNV7VJJEXdjBgU1aT0HBy7FUJVcW3noZPoLs=\r\n=qTDG\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/cjs/index.js","_from":"file:kysely-postgres-js-1.0.0.tgz","types":"./dist/cjs/index.d.ts","module":"./dist/esm/index.js","exports":{".":{"import":"./dist/esm/index.js","require":"./dist/cjs/index.js"}},"scripts":{"fmt":"prettier --write .","lint":"eslint src --ext .ts","build":"tsup && node ./scripts/dist-fix.js","clean":"rm -rf dist","fmt:check":"prettier --check .","type-check":"tsc --noEmit","test:nodejs":"mocha ./tests/nodejs"},"_npmUser":{"name":"igalklebanov","email":"igalklebanov@gmail.com"},"_resolved":"/tmp/381215c89a239819120eba794c1a1bae/kysely-postgres-js-1.0.0.tgz","_integrity":"sha512-Lg1hjYCQuOP79UuDIAencznsh33p1FZFjUJRvSknHMLuPGxL/fW20zq/YlufEQkK5jod7XdKOTj5RqxrUSJ6bQ==","repository":{"url":"git+https://github.com/igalklebanov/kysely-postgres-js.git","type":"git"},"_npmVersion":"8.14.0","description":"Kysely dialect for PostgreSQL using the Postgres.js client","directories":{},"sideEffects":false,"_nodeVersion":"16.16.0","_hasShrinkwrap":false,"devDependencies":{"chai":"^4.3.7","tsup":"^6.7.0","mocha":"^10.2.0","eslint":"^8.38.0","kysely":"^0.24.2","esbuild":"^0.17.15","postgres":"^3.3.4","prettier":"^2.8.7","typescript":"^5.0.4","@types/chai":"^4.3.4","@types/node":"^18.15.11","chai-subset":"^1.6.0","@types/mocha":"^10.0.1","esbuild-runner":"^2.2.2","@tsconfig/node18":"^1.0.1","@types/chai-subset":"^1.3.3","prettier-plugin-pkg":"^0.17.1","eslint-plugin-import":"^2.27.5","eslint-config-prettier":"^8.8.0","eslint-plugin-prettier":"^4.2.1","@types/chai-as-promised":"^7.1.5","@typescript-eslint/parser":"^5.57.1","@typescript-eslint/eslint-plugin":"^5.57.1","prettier-plugin-organize-imports":"^3.2.2"},"peerDependencies":{"kysely":">= 0.24.0 < 1","postgres":">= 3.0.0 < 4"},"_npmOperationalInternal":{"tmp":"tmp/kysely-postgres-js_1.0.0_1681072861657_0.5249877153622649","host":"s3://npm-registry-packages"}},"1.1.0":{"name":"kysely-postgres-js","version":"1.1.0","keywords":["kysely","postgres","postgres.js","postgresql","dialect"],"author":{"name":"Igal Klebanov","email":"igalklebanov@gmail.com"},"license":"MIT","_id":"kysely-postgres-js@1.1.0","maintainers":[{"name":"igalklebanov","email":"igalklebanov@gmail.com"}],"homepage":"https://github.com/igalklebanov/kysely-postgres-js","bugs":{"url":"https://github.com/igalklebanov/kysely-postgres-js/issues"},"dist":{"shasum":"eb574fa0b4124b93361dacccbcf2d057ea410dda","tarball":"https://registry.npmjs.org/kysely-postgres-js/-/kysely-postgres-js-1.1.0.tgz","fileCount":12,"integrity":"sha512-m+bs0XRwSdy1paPsyX+L7kriT/WmCas8YV1vQVbAwZbRB3Uui7TeCx9c4AbdPIfOZXgkwIwVesjDNXAWDJK5JA==","signatures":[{"sig":"MEUCIQCDy6NgsAFy1kUJqfdBzgd6x/94bcI4+piTpinHjfa1QAIgfSNqmUakwIvSJOebQ+rlH0EiBAAuSPi35U44H+hkm/M=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":40104,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkQovXACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp4QRAAgycHdkyKIEsJtaT/ASNKAhfYjONIdqbIgGmDFCsVqYdxri/h\r\nsjzyMfg5xQFosCnkBX8WrXcjyolMAaxh4yiMNV3xgKnZZ3XiTykGsxtMDLQd\r\nTl6BRBpB4FGqXalK9GLnHypuJUvshdtUNLm+Eo0nxEhocFj0AserXxWls7Kx\r\ngoovLMz4jyoWkviHn2804jiw6Miku/KLYIAnuTmmG+Ocv9zXugTJbgPRVg+z\r\nPY51j0I5FWCCNkcucWY4HcR3ohuHFEyLMU+8FgDa/z+pQ0uqE6y6EQplIF20\r\nDRK7xkYxGunJqxkxEkLNYjyy7JpBimRHxkksho6lf2cJwVU19imKJ5xAHD10\r\nx/8NqDmxeg0fza+2mEJA7RJ46CgpfzEara9B4jNPH5ALGQMiElrGUxpKE5PB\r\nEZHNqEUR25uqcJdC7/USWUCK3h/YX59ISf4mzQz+ODGJlfk0/wy5ZYnRgdFw\r\ntcOTcQYtR20hAmBzKRhCc8hgXWr+Wq3smU8bK27Iz4dW4KQlcBDCoeAxOYDg\r\ntHi1/SaBjvU8FJ+ZVkfhEE1pZPnlcIcDskGP4c3RR7ExjLmGRWY6pC01BSu5\r\n+oCcW06RcCcTeNqTSrvV9THB+0b9sqNl5hmHAzcM8Zb1Y6vNx9qiAxd8fuQI\r\n6hAZWCJCQBysUjjrvrNTUJdiXR//z9crDOc=\r\n=Fjle\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/cjs/index.js","_from":"file:kysely-postgres-js-1.1.0.tgz","types":"./dist/cjs/index.d.ts","module":"./dist/esm/index.js","exports":{".":{"import":"./dist/esm/index.js","require":"./dist/cjs/index.js"}},"scripts":{"fmt":"prettier --write .","lint":"eslint src --ext .ts","build":"tsup && node ./scripts/dist-fix.js","clean":"rm -rf dist","fmt:check":"prettier --check .","type-check":"tsc --noEmit","test:nodejs":"mocha ./tests/nodejs"},"_npmUser":{"name":"igalklebanov","email":"igalklebanov@gmail.com"},"_resolved":"/tmp/4994d4f98825a398cab6eaf060eec2f9/kysely-postgres-js-1.1.0.tgz","_integrity":"sha512-m+bs0XRwSdy1paPsyX+L7kriT/WmCas8YV1vQVbAwZbRB3Uui7TeCx9c4AbdPIfOZXgkwIwVesjDNXAWDJK5JA==","repository":{"url":"git+https://github.com/igalklebanov/kysely-postgres-js.git","type":"git"},"_npmVersion":"8.14.0","description":"Kysely dialect for PostgreSQL using the Postgres.js client","directories":{},"sideEffects":false,"_nodeVersion":"16.16.0","_hasShrinkwrap":false,"devDependencies":{"chai":"^4.3.7","tsup":"^6.7.0","mocha":"^10.2.0","eslint":"^8.38.0","kysely":"^0.24.2","esbuild":"^0.17.15","postgres":"^3.3.4","prettier":"^2.8.7","mocha-each":"^2.0.1","typescript":"^5.0.4","@types/chai":"^4.3.4","@types/node":"^18.15.11","chai-subset":"^1.6.0","@types/mocha":"^10.0.1","esbuild-runner":"^2.2.2","@tsconfig/node18":"^1.0.1","@types/mocha-each":"^2.0.0","@types/chai-subset":"^1.3.3","prettier-plugin-pkg":"^0.17.1","eslint-plugin-import":"^2.27.5","eslint-config-prettier":"^8.8.0","eslint-plugin-prettier":"^4.2.1","@types/chai-as-promised":"^7.1.5","@typescript-eslint/parser":"^5.57.1","@typescript-eslint/eslint-plugin":"^5.57.1","prettier-plugin-organize-imports":"^3.2.2"},"peerDependencies":{"kysely":">= 0.24.0 < 1","postgres":">= 3.0.0 < 4"},"_npmOperationalInternal":{"tmp":"tmp/kysely-postgres-js_1.1.0_1682082775363_0.1664291410621579","host":"s3://npm-registry-packages"}},"1.1.1":{"name":"kysely-postgres-js","version":"1.1.1","keywords":["kysely","postgres","postgres.js","postgresql","dialect"],"author":{"name":"Igal Klebanov","email":"igalklebanov@gmail.com"},"license":"MIT","_id":"kysely-postgres-js@1.1.1","maintainers":[{"name":"igalklebanov","email":"igalklebanov@gmail.com"}],"homepage":"https://github.com/igalklebanov/kysely-postgres-js","bugs":{"url":"https://github.com/igalklebanov/kysely-postgres-js/issues"},"dist":{"shasum":"d53a738403632f03d3a00c115af01b62a5f8c9c1","tarball":"https://registry.npmjs.org/kysely-postgres-js/-/kysely-postgres-js-1.1.1.tgz","fileCount":12,"integrity":"sha512-4liHLEA1TfdGVixiW2wM4UFqv0r+F06pxpFng7xSdyl4p6lUp0099W+jotq4inovneTbVDBaFKwn+uOiORXKGQ==","signatures":[{"sig":"MEYCIQDmVfQ6ACw63fRYvUXzhnJi9t2IH3fh1R5C8SzU5YfyjAIhAPAw2AzpkbYgbbcXjeyJ+wr3dT2zH/p9nFQGhv/z5pav","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":41047,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkSahFACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr6VQ//QfuhuaHEy+/clYPSnxkC/3C8uzqwYzUrLcHFuJ/UmAAuSag9\r\nZLmh/ln+2bKs0hr1k6OnzaPikddX7Ed67AP0nAKGRng9qVZx1fnG/RoDHpZa\r\nNFNTDRhZK2p+uAc/mwagaJLvJ1GcrqM68Iazc9SsM30JBgYs+XDeVzyTNavJ\r\nqi350XqQd+Ys12nprPWnktlBRxJiuW44xLdlh9sS84ToFB5svJSKxgn5EW6+\r\nRMK3lVEpX/mhlkAH0oZaFUq2S3JQO/t3G3evgv4wFe0SWmhTxo+mRgRWfjfH\r\nao2jPXjb27cN8SQ5J2roeWe2oU2Az1JVUdOd7vcbXnykJ0FaA4oh7U4mlRwz\r\nZbFYKv/gJWSsgX5BxO4vHbC0PxaPfsvnzxYCoHd4lA4dSXFvJ4SUDbqwqVCD\r\nbzXWwcJQonFrdnDSrHcXbBhhcq5VfV8tc6cdGvwRbeD38CDkbeiqsNa03zon\r\nkTxeRAD3WN97FYywmLHRbHCTsYbfS04vNcPV+JU2f0om3zRapj+VwZn/VbZJ\r\nqCCKrerwxHbFva8JDx+/aKjGOUqDQDMmF5wA0Th8Jik/FmeXYEoJR8QVhBku\r\noZdXv1n651YgkwN6gGtyxOn8D+4PnDbP9Ldw4f5FuH6o57Bcr66vpxIVo4X1\r\n27GBJYDHiOJLWjwe7DKSy3YpSVNW3kmGQ4U=\r\n=F+dd\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/cjs/index.js","_from":"file:kysely-postgres-js-1.1.1.tgz","types":"./dist/cjs/index.d.ts","module":"./dist/esm/index.js","exports":{".":{"import":"./dist/esm/index.js","require":"./dist/cjs/index.js"}},"scripts":{"fmt":"prettier --write .","lint":"eslint src --ext .ts","build":"tsup && node ./scripts/dist-fix.js","clean":"rm -rf dist","fmt:check":"prettier --check .","type-check":"tsc --noEmit","test:nodejs":"mocha ./tests/nodejs"},"_npmUser":{"name":"igalklebanov","email":"igalklebanov@gmail.com"},"_resolved":"/tmp/262cc59bc990a57c97651a063230ecb1/kysely-postgres-js-1.1.1.tgz","_integrity":"sha512-4liHLEA1TfdGVixiW2wM4UFqv0r+F06pxpFng7xSdyl4p6lUp0099W+jotq4inovneTbVDBaFKwn+uOiORXKGQ==","repository":{"url":"git+https://github.com/igalklebanov/kysely-postgres-js.git","type":"git"},"_npmVersion":"8.14.0","description":"Kysely dialect for PostgreSQL using the Postgres.js client","directories":{},"sideEffects":false,"_nodeVersion":"16.16.0","_hasShrinkwrap":false,"devDependencies":{"chai":"^4.3.7","tsup":"^6.7.0","mocha":"^10.2.0","eslint":"^8.38.0","kysely":"^0.24.2","esbuild":"^0.17.15","postgres":"^3.3.4","prettier":"^2.8.7","mocha-each":"^2.0.1","typescript":"^5.0.4","@types/chai":"^4.3.4","@types/node":"^18.15.11","chai-subset":"^1.6.0","@types/mocha":"^10.0.1","esbuild-runner":"^2.2.2","@tsconfig/node18":"^1.0.1","@types/mocha-each":"^2.0.0","@types/chai-subset":"^1.3.3","prettier-plugin-pkg":"^0.17.1","eslint-plugin-import":"^2.27.5","eslint-config-prettier":"^8.8.0","eslint-plugin-prettier":"^4.2.1","@types/chai-as-promised":"^7.1.5","@typescript-eslint/parser":"^5.57.1","@typescript-eslint/eslint-plugin":"^5.57.1","prettier-plugin-organize-imports":"^3.2.2"},"peerDependencies":{"kysely":">= 0.24.0 < 1","postgres":">= 3.0.0 < 4"},"_npmOperationalInternal":{"tmp":"tmp/kysely-postgres-js_1.1.1_1682548804955_0.9497167350546787","host":"s3://npm-registry-packages"}},"2.0.0":{"name":"kysely-postgres-js","version":"2.0.0","keywords":["kysely","postgres","postgres.js","postgresql","dialect"],"author":{"name":"Igal Klebanov","email":"igalklebanov@gmail.com"},"license":"MIT","_id":"kysely-postgres-js@2.0.0","maintainers":[{"name":"igalklebanov","email":"igalklebanov@gmail.com"}],"homepage":"https://github.com/igalklebanov/kysely-postgres-js","bugs":{"url":"https://github.com/igalklebanov/kysely-postgres-js/issues"},"dist":{"shasum":"f2e79f2e14c2c3065052722bdc89014691080ceb","tarball":"https://registry.npmjs.org/kysely-postgres-js/-/kysely-postgres-js-2.0.0.tgz","fileCount":12,"integrity":"sha512-R1tWx6/x3tSatWvsmbHJxpBZYhNNxcnMw52QzZaHKg7ZOWtHib4iZyEaw4gb2hNKVctWQ3jfMxZT/ZaEMK6kBQ==","signatures":[{"sig":"MEYCIQDYlbHPwEvzcghVnrCe0xDlCFyuuRVTXd8FSqSSAx5dtAIhANLnLnT+Bs0B50HPC0CMBx3vcEHDRxEmakFxRz4TjNJF","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":34713},"main":"./dist/cjs/index.js","_from":"file:kysely-postgres-js-2.0.0.tgz","types":"./dist/cjs/index.d.ts","module":"./dist/esm/index.js","exports":{".":{"import":"./dist/esm/index.js","require":"./dist/cjs/index.js"}},"scripts":{"fmt":"prettier --write .","lint":"eslint src --ext .ts","build":"tsup && node ./scripts/dist-fix.js","clean":"rm -rf dist","fmt:check":"prettier --check .","type-check":"tsc --noEmit","test:nodejs":"mocha ./tests/nodejs"},"_npmUser":{"name":"igalklebanov","email":"igalklebanov@gmail.com"},"_resolved":"/tmp/21ed84047d5cd1aceea50a91d58a9106/kysely-postgres-js-2.0.0.tgz","_integrity":"sha512-R1tWx6/x3tSatWvsmbHJxpBZYhNNxcnMw52QzZaHKg7ZOWtHib4iZyEaw4gb2hNKVctWQ3jfMxZT/ZaEMK6kBQ==","repository":{"url":"git+https://github.com/igalklebanov/kysely-postgres-js.git","type":"git"},"_npmVersion":"9.5.1","description":"Kysely dialect for PostgreSQL using the Postgres.js client","directories":{},"sideEffects":false,"_nodeVersion":"18.16.1","_hasShrinkwrap":false,"devDependencies":{"chai":"^4.3.7","tsup":"^6.7.0","mocha":"^10.2.0","eslint":"^8.38.0","kysely":"^0.26.3","esbuild":"^0.17.15","postgres":"^3.4.1","prettier":"^2.8.7","mocha-each":"^2.0.1","typescript":"^5.0.4","@types/chai":"^4.3.4","@types/node":"^18.15.11","chai-subset":"^1.6.0","@types/mocha":"^10.0.1","esbuild-runner":"^2.2.2","@tsconfig/node18":"^1.0.1","@types/mocha-each":"^2.0.0","@types/chai-subset":"^1.3.3","prettier-plugin-pkg":"^0.17.1","eslint-plugin-import":"^2.27.5","eslint-config-prettier":"^8.8.0","eslint-plugin-prettier":"^4.2.1","@types/chai-as-promised":"^7.1.5","@typescript-eslint/parser":"^5.57.1","@typescript-eslint/eslint-plugin":"^5.57.1","prettier-plugin-organize-imports":"^3.2.2"},"peerDependencies":{"kysely":">= 0.24.0 < 1","postgres":">= 3.4.0 < 4"},"_npmOperationalInternal":{"tmp":"tmp/kysely-postgres-js_2.0.0_1698360267785_0.5610422738383247","host":"s3://npm-registry-packages"}},"3.0.0":{"name":"kysely-postgres-js","version":"3.0.0","keywords":["kysely","postgres","postgres.js","postgresql","dialect","query builder","query","sql","typescript","type-safe","type-safety","bun","node"],"author":{"url":"https://github.com/igalklebanov","name":"Igal Klebanov","email":"igalklebanov@gmail.com"},"license":"MIT","_id":"kysely-postgres-js@3.0.0","maintainers":[{"name":"igalklebanov","email":"igalklebanov@gmail.com"}],"homepage":"https://kysely.dev","bugs":{"url":"https://github.com/kysely-org/kysely-postgres-js/issues"},"dist":{"shasum":"3cf0f376f350750f087de34901174eac4f811ea0","tarball":"https://registry.npmjs.org/kysely-postgres-js/-/kysely-postgres-js-3.0.0.tgz","fileCount":7,"integrity":"sha512-o2t/xNSYJQDW6rVGGFPXKmZ0BEz2dGn66c2B+cO/k9ZNcU2qPWPycQPQ+B+P2MBXbKYq0xV9BZmFIvkUrmFWAQ==","signatures":[{"sig":"MEYCIQCIu+KBg28gC/56dmY/i3uyMR0Hqg8jUHzF2jek5TGYvgIhAP5sIIJlXJLaXCLXkmQPpP9vlz1jlHPst3eAd5Mdmx1V","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/kysely-postgres-js@3.0.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":18658},"main":"./dist/index.cjs","type":"module","_from":"file:kysely-postgres-js-3.0.0.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"bun":">=1.2","node":">=20"},"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}}},"scripts":{"test":"pnpm test:node --run && pnpm test:bun --run","biome":"biome","build":"tsup","test:bun":"bun --bun vitest","test:node":"vitest","check:types":"tsc --noEmit","check:exports":"attw . --pack"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:65e9ae53-a338-4446-878b-095304443b51"}},"_resolved":"/tmp/dfe4574c0b95df403debeae3c85be245/kysely-postgres-js-3.0.0.tgz","_integrity":"sha512-o2t/xNSYJQDW6rVGGFPXKmZ0BEz2dGn66c2B+cO/k9ZNcU2qPWPycQPQ+B+P2MBXbKYq0xV9BZmFIvkUrmFWAQ==","repository":{"url":"git://github.com/kysely-org/kysely-postgres-js.git","type":"git"},"_npmVersion":"11.5.2","description":"Kysely dialect for PostgreSQL using the Postgres.js client","directories":{},"sideEffects":false,"_nodeVersion":"22.19.0","_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.5.0","kysely":"^0.28.5","vitest":"^3.2.4","std-env":"^3.9.0","postgres":"^3.4.7","@types/bun":"^1.2.21","typescript":"^5.9.2","@types/node":"^24.3.0","@biomejs/biome":"^2.2.2","@tsconfig/node24":"^24.0.1","@arethetypeswrong/cli":"^0.18.2"},"peerDependencies":{"kysely":">= 0.24.0 < 1","postgres":"^3.4.0"},"peerDependenciesMeta":{"postgres":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/kysely-postgres-js_3.0.0_1756896141727_0.19262529946881402","host":"s3://npm-registry-packages-npm-production"}},"4.0.0":{"name":"kysely-postgres-js","version":"4.0.0","keywords":["kysely","postgres","postgres.js","postgresql","dialect","query builder","query","sql","typescript","type-safe","type-safety","bun","node"],"author":"Igal Klebanov <igalklebanov@gmail.com> (https://github.com/igalklebanov)","license":"MIT","_id":"kysely-postgres-js@4.0.0","maintainers":[{"name":"igalklebanov","email":"igalklebanov@gmail.com"}],"homepage":"https://kysely.dev","dist":{"shasum":"428a11ef3d27139cc62fefa23645c728a1187cc2","tarball":"https://registry.npmjs.org/kysely-postgres-js/-/kysely-postgres-js-4.0.0.tgz","fileCount":5,"integrity":"sha512-zIGYZ1TMduPZJAyeRMo9OodZYPxK4RI8OIKO8XShHiv5gzaY+KxmZnKcnYRvbfdmUH0kv+ZTlYrBZ5Uk+lI1QA==","signatures":[{"sig":"MEYCIQDAV6U6DFWsjBV3K4yPC04HB9kqtYAai2ruzASI7zaSRwIhAIY48zMJ6CogC+SVV0fgDlwLmt3Qpo54ZruJm/iPpxp1","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/kysely-postgres-js@4.0.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":20158},"type":"module","types":"./dist/index.d.mts","engines":{"bun":">=1.2","node":">=22"},"exports":{".":"./dist/index.mjs","./package.json":"./package.json"},"scripts":{"test":"pnpm test:node --run && pnpm test:bun --run","biome":"biome","build":"tsdown","version":"pnpm script:align-versions && biome format --write && git add .","test:bun":"bun --bun vitest","lint:deno":"deno lint --config=\"deno.lint.json\" ./src","test:node":"vitest","check:types":"tsc --noEmit","script:align-versions":"node --experimental-strip-types scripts/align-versions.ts"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","approver":{"name":"igalklebanov","email":"igalklebanov@gmail.com"},"trustedPublisher":{"id":"github","oidcConfigId":"oidc:43c5757e-757e-4353-9027-af606918829a"}},"repository":{"url":"git+https://github.com/kysely-org/kysely-postgres-js.git","type":"git"},"description":"Kysely dialect for PostgreSQL using the Postgres.js client","directories":{},"sideEffects":false,"_nodeVersion":"24.19.0","_hasShrinkwrap":false,"devDependencies":{"jsr":"0.14.3","kysely":"0.29.5","tsdown":"0.22.14","vitest":"4.1.11","publint":"0.3.24","std-env":"4.2.0","postgres":"3.4.9","@types/bun":"1.4.0","typescript":"7.0.2","@types/node":"26.2.0","@biomejs/biome":"2.5.9","@tsconfig/node24":"24.0.5","@arethetypeswrong/core":"0.18.5"},"peerDependencies":{"kysely":">= 0.29.0 < 1","postgres":"^3.4.0"},"peerDependenciesMeta":{"postgres":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/kysely-postgres-js_4.0.0_1787429619869_0.17968167344431474","host":"s3://npm-registry-packages-npm-production"}},"5.0.0":{"name":"kysely-postgres-js","version":"5.0.0","keywords":["kysely","postgres","postgres.js","postgresql","dialect","query builder","query","sql","typescript","type-safe","type-safety","bun","node"],"author":"Igal Klebanov <igalklebanov@gmail.com> (https://github.com/igalklebanov)","license":"MIT","_id":"kysely-postgres-js@5.0.0","maintainers":[{"name":"igalklebanov","email":"igalklebanov@gmail.com"}],"homepage":"https://kysely.dev","dist":{"shasum":"23416a93d70badde3647ab3e3d75cfcb5a93f32d","tarball":"https://registry.npmjs.org/kysely-postgres-js/-/kysely-postgres-js-5.0.0.tgz","fileCount":5,"integrity":"sha512-KD3Lzhzua5KlHFrtQdkxYH5tOpiJTz0e1OhJjEcJAmce7lfpXzZA07ZJYj1QQV1gKBoYnBBqM/621St6/X0YUA==","signatures":[{"sig":"MEUCIFIqLZMrC6FNRJrNqjMref8Odq5626qE/b6FwBrJcYxvAiEAvOv8lzToF9wwMEtPl1Fu5ELBYcH4P7LLOf0NZvy1DQs=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/kysely-postgres-js@5.0.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":20200},"type":"module","types":"./dist/index.d.mts","engines":{"bun":">=1.2","node":">=22"},"exports":{".":"./dist/index.mjs","./package.json":"./package.json"},"scripts":{"test":"pnpm test:node --run && pnpm test:bun --run","biome":"biome","build":"tsdown","version":"pnpm script:align-versions && biome format --write && git add .","test:bun":"bun --bun vitest","lint:deno":"deno lint --config=\"deno.lint.json\" ./src","test:node":"vitest","check:types":"tsc --noEmit","script:align-versions":"node --experimental-strip-types scripts/align-versions.ts"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","approver":{"name":"igalklebanov","email":"igalklebanov@gmail.com"},"trustedPublisher":{"id":"github","oidcConfigId":"oidc:43c5757e-757e-4353-9027-af606918829a"}},"repository":{"url":"git+https://github.com/kysely-org/kysely-postgres-js.git","type":"git"},"description":"Kysely dialect for PostgreSQL using the Postgres.js client","directories":{},"sideEffects":false,"_nodeVersion":"24.20.0","_hasShrinkwrap":false,"devDependencies":{"jsr":"0.14.3","kysely":"0.29.5","tsdown":"0.22.14","vitest":"4.1.11","publint":"0.3.24","std-env":"4.2.0","postgres":"3.4.9","@types/bun":"1.4.0","typescript":"7.0.2","@types/node":"26.2.0","@biomejs/biome":"2.5.9","@tsconfig/node24":"24.0.5","@arethetypeswrong/core":"0.18.5"},"peerDependencies":{"kysely":">= 0.29.0 < 1","postgres":"^3.4.0"},"peerDependenciesMeta":{"postgres":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/kysely-postgres-js_5.0.0_1789520352797_0.8291474234458069","host":"s3://npm-registry-packages-npm-production"}},"5.0.1":{"_id":"kysely-postgres-js@5.0.1","dist":{"shasum":"a873cd812f3ba54bdc7772a676e3acbbb4b41fe7","tarball":"https://registry.npmjs.org/kysely-postgres-js/-/kysely-postgres-js-5.0.1.tgz","integrity":"sha512-3qY2qzXJszS35CMuknpon79CE5G7MfcTMoIQHuFmGsaQQ2rau3rwx7eNaRJkO9nhli8yQedQroBZ/VehzNJy4w==","fileCount":5,"unpackedSize":20234,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/kysely-postgres-js@5.0.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIAmlW3dbrFLESgQ2Rs2kBb1TTAqPTpS/d0Lkm/wPUkRdAiBWjipvFB0S1OkMKFFH82YmjKV4Cq2q2ZP5sE87hJNy1A=="}]},"name":"kysely-postgres-js","type":"module","types":"./dist/index.d.mts","author":"Igal Klebanov <igalklebanov@gmail.com> (https://github.com/igalklebanov)","engines":{"bun":">=1.2","node":">=22"},"exports":{".":"./dist/index.mjs","./package.json":"./package.json"},"license":"MIT","scripts":{"test":"pnpm test:node --run && pnpm test:bun --run","biome":"biome","build":"tsdown","version":"pnpm script:align-versions && biome format --write && git add .","test:bun":"bun --bun vitest","lint:deno":"deno lint --config=\"deno.lint.json\" ./src","test:node":"vitest","check:types":"tsc --noEmit","script:align-versions":"node --experimental-strip-types scripts/align-versions.ts"},"version":"5.0.1","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:43c5757e-757e-4353-9027-af606918829a"},"approver":{"name":"igalklebanov","email":"igalklebanov@gmail.com"}},"homepage":"https://kysely.dev","keywords":["kysely","postgres","postgres.js","postgresql","dialect","query builder","query","sql","typescript","type-safe","type-safety","bun","node"],"repository":{"url":"git+https://github.com/kysely-org/kysely-postgres-js.git","type":"git"},"description":"Kysely dialect for PostgreSQL using the Postgres.js client","directories":{},"maintainers":[{"name":"igalklebanov","email":"igalklebanov@gmail.com"}],"sideEffects":false,"devDependencies":{"jsr":"0.14.3","kysely":"0.29.6","tsdown":"0.23.0","vitest":"5.0.1","publint":"0.3.24","std-env":"4.2.0","postgres":"3.4.9","@types/bun":"1.4.2","typescript":"7.0.2","@types/node":"26.6.2","@biomejs/biome":"2.5.14","@tsconfig/node24":"24.0.5","@arethetypeswrong/core":"0.18.5"},"peerDependencies":{"kysely":">= 0.29.0 < 1","postgres":"^3.4.0"},"peerDependenciesMeta":{"postgres":{"optional":true}},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/kysely-postgres-js_5.0.1_1790327383385_0.2513222279353102"},"_hasShrinkwrap":false}},"time":{"created":"2023-04-09T20:41:01.655Z","modified":"2026-09-25T09:09:43.750Z","1.0.0":"2023-04-09T20:41:01.873Z","1.1.0":"2023-04-21T13:12:55.519Z","1.1.1":"2023-04-26T22:40:05.126Z","2.0.0":"2023-10-26T22:44:28.006Z","3.0.0":"2025-09-03T10:42:21.892Z","4.0.0":"2026-08-22T20:13:39.951Z","5.0.0":"2026-09-16T00:59:12.901Z","5.0.1":"2026-09-25T09:09:43.509Z"},"author":"Igal Klebanov <igalklebanov@gmail.com> (https://github.com/igalklebanov)","license":"MIT","homepage":"https://kysely.dev","keywords":["kysely","postgres","postgres.js","postgresql","dialect","query builder","query","sql","typescript","type-safe","type-safety","bun","node"],"repository":{"url":"git+https://github.com/kysely-org/kysely-postgres-js.git","type":"git"},"description":"Kysely dialect for PostgreSQL using the Postgres.js client","maintainers":[{"name":"igalklebanov","email":"igalklebanov@gmail.com"}],"readme":"![A Kysely-branded yellow duck canoeing with a Postgres.js-branded grey elephant in the river](./assets/banner.png)\n\n[![NPM Version](https://img.shields.io/npm/v/kysely-postgres-js?style=flat&label=latest)](https://github.com/kysely-org/kysely-postgres-js/releases/latest)\n[![Tests](https://github.com/kysely-org/kysely-postgres-js/actions/workflows/test.yml/badge.svg)](https://github.com/kysely-org/kysely-postgres-js)\n[![License](https://img.shields.io/github/license/kysely-org/kysely-postgres-js?style=flat)](https://github.com/kysely-org/kysely-postgres-js/blob/main/LICENSE)\n[![Issues](https://img.shields.io/github/issues-closed/kysely-org/kysely-postgres-js?logo=github)](https://github.com/kysely-org/kysely-postgres-js/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc)\n[![Pull Requests](https://img.shields.io/github/issues-pr-closed/kysely-org/kysely-postgres-js?label=PRs&logo=github&style=flat)](https://github.com/kysely-org/kysely-postgres-js/pulls?q=is%3Apr+is%3Aopen+sort%3Aupdated-desc)\n![GitHub contributors](https://img.shields.io/github/contributors/kysely-org/kysely-postgres-js)\n[![Downloads](https://img.shields.io/npm/dw/kysely-postgres-js?logo=npm)](https://www.npmjs.com/package/kysely-postgres-js)\n\n###### Join the discussion ⠀⠀⠀⠀⠀⠀⠀\n\n[![Discord](https://img.shields.io/badge/Discord-%235865F2.svg?style=flat&logo=discord&logoColor=white)](https://discord.gg/xyBJ3GwvAm)\n[![Bluesky](https://img.shields.io/badge/Bluesky-0285FF?style=flat&logo=Bluesky&logoColor=white)](https://bsky.app/profile/kysely.dev)\n\n`kysely-postgres-js` offers a [Kysely](https://github.com/koskimas/kysely) dialect for [PostgreSQL](https://www.postgresql.org/) that supports the [Postgres.js](https://github.com/porsager/postgres) client library (version >= 3.4) and [Bun](https://bun.com/)'s (version >= 1.2) [SQL](https://bun.com/docs/api/sql) native binding.\n\nThis dialect should not be confused with [Kysely](https://github.com/koskimas/kysely)'s core [PostgreSQL](https://www.postgresql.org/) dialect, which supports the significantly more adopted [pg](https://github.com/brianc/node-postgres) client library and [Neon](https://neon.com)'s WebSockets [Pool](https://neon.com/docs/serverless/serverless-driver#use-the-driver-over-websockets) instead. Both of these dialects are maintained by members of the [Kysely](https://github.com/koskimas/kysely) core team and are production ready.\n\n## Installation\n\n### Node.js\n\n```bash\nnpm install kysely-postgres-js postgres kysely\n```\n\n```bash\npnpm add kysely-postgres-js postgres kysely\n```\n\n```bash\nyarn add kysely-postgres-js postgres kysely\n```\n\n### Other runtimes\n\n```bash\ndeno add npm:kysely-postgres-js npm:postgres npm:kysely\n```\n\n```bash\nbun add kysely-postgres-js kysely\n```\n\n## Usage\n\n### Node.js\n\n```ts\nimport { type GeneratedAlways, Kysely } from 'kysely'\nimport { PostgresJSDialect } from 'kysely-postgres-js'\nimport postgres from 'postgres'\n\ninterface Database {\n  person: {\n    id: GeneratedAlways<number>\n    first_name: string | null\n    last_name: string | null\n    age: number\n  }\n}\n\nconst db = new Kysely<Database>({\n  dialect: new PostgresJSDialect({\n    postgres: postgres({\n      database: 'test',\n      host: 'localhost',\n      max: 10,\n      port: 5434,\n      user: 'admin',\n    }),\n  }),\n})\n\nconst people = await db.selectFrom(\"person\").selectAll().execute();\n```\n\n### Bun\n\n```ts\nimport { SQL } from 'bun'\nimport { type GeneratedAlways, Kysely } from 'kysely'\nimport { PostgresJSDialect } from 'kysely-postgres-js'\n\ninterface Database {\n  person: {\n    id: GeneratedAlways<number>\n    first_name: string | null\n    last_name: string | null\n    age: number\n  }\n}\n\nconst db = new Kysely<Database>({\n  dialect: new PostgresJSDialect({\n    postgres: new SQL({\n      database: 'test',\n      host: 'localhost',\n      max: 10,\n      port: 5434,\n      user: 'admin',\n    }),\n  }),\n})\n\nconst people = await db.selectFrom(\"person\").selectAll().execute();\n```\n\n## Aborting queries\n\nThis dialect supports Kysely's `AbortSignal` integration, including the\n`'cancel query'` and `'kill session'` values of `inflightQueryAbortStrategy`,\nwhich stop the aborted query on the database side:\n\n```ts\nawait db\n  .selectFrom('person')\n  .selectAll()\n  .execute({\n    signal: AbortSignal.timeout(5_000),\n    inflightQueryAbortStrategy: 'kill session',\n  })\n```\n\nUnder the hood, `'cancel query'` uses [Postgres.js](https://github.com/porsager/postgres)'\nnative wire-protocol cancellation when running on [Postgres.js](https://github.com/porsager/postgres),\nand `pg_cancel_backend` on a control connection when running on [Bun](https://bun.com/)'s\n[SQL](https://bun.com/docs/api/sql) (whose `cancel()` doesn't cancel queries on\nthe database side). `'kill session'` executes `pg_terminate_backend` on a\ncontrol connection in both cases.\n\n### `controlPostgres`\n\nBy default, control queries (e.g. `pg_terminate_backend`) are executed on a\nconnection acquired from the `postgres` pool. This might mean waiting for an\nidle connection, and with a small, saturated pool (e.g. `max: 1`), it can wait\nforever - the aborted query's connection is only returned to the pool after\nthe control query runs.\n\nTo avoid this, provide `controlPostgres`. You can pass `postgres` or Bun's\n`SQL` directly - it is invoked with the main instance's resolved options, with\n`max` overridden to `1`. A custom factory receiving those options works too.\nBoth libraries' pools are lazy, so the control instance doesn't hold a\nconnection until the first control query runs.\n\n#### Node.js\n\n```ts\nimport { Kysely } from 'kysely'\nimport { PostgresJSDialect } from 'kysely-postgres-js'\nimport postgres from 'postgres'\n\nconst db = new Kysely<Database>({\n  dialect: new PostgresJSDialect({\n    controlPostgres: postgres,\n    postgres: postgres({\n      database: 'test',\n      host: 'localhost',\n      max: 10,\n      port: 5434,\n      user: 'admin',\n    }),\n  }),\n})\n```\n\n#### Bun\n\n```ts\nimport { SQL } from 'bun'\nimport { Kysely } from 'kysely'\nimport { PostgresJSDialect } from 'kysely-postgres-js'\n\nconst db = new Kysely<Database>({\n  dialect: new PostgresJSDialect({\n    controlPostgres: SQL,\n    postgres: new SQL({\n      database: 'test',\n      host: 'localhost',\n      max: 10,\n      port: 5434,\n      user: 'admin',\n    }),\n  }),\n})\n```","readmeFilename":""}