{"_id":"ts-postgres","_rev":"49-7d3da2ef46b41254013ec7afef58183f","name":"ts-postgres","description":"PostgreSQL client in TypeScript","dist-tags":{"latest":"2.0.4"},"versions":{"1.0.0-alpha1":{"name":"ts-postgres","version":"1.0.0-alpha1","keywords":["database","postgres","postgresql","rdbms"],"author":{"name":"Malthe Borch","email":"mborch@gmail.com"},"license":"MIT","_id":"ts-postgres@1.0.0-alpha1","maintainers":[{"name":"malthe","email":"mborch@gmail.com"}],"homepage":"https://github.com/malthe/ts-postgres","bugs":{"url":"https://github.com/malthe/ts-postgres/issues"},"dist":{"shasum":"937b6d8f5c37f6afef9c0b85a2d3fde41c82be3a","tarball":"https://registry.npmjs.org/ts-postgres/-/ts-postgres-1.0.0-alpha1.tgz","fileCount":70,"integrity":"sha512-pCohgEFVVWoXfnrotH/fRBldBtnx50jo9tH4uuN7cnxqUBArtci5zdpDDcKc7Y6keaH2AmnwXAlGWp1Kuy0GEQ==","signatures":[{"sig":"MEQCIGEH4ms1Z/2Zar/Cje1DkRH6m142YBkkf6/CQ+2lBLUIAiBn4DrjlO1wofXMR3x20ghZtqMXJT+fUIBnyy2q3VIkjw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":241912,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbwdFJCRA9TVsSAnZWagAANhwP/3gGL48QkOP/tAJtAVRl\n1gi8+4Pk0sV89I/ndsMciq9gBGCHz1GUX+VX/JscCxFnE644SMTjgk0EdECM\nXNiT4pUZlFQ1EyVVIH1GPmxXxsrdF81OLd6RhiTRFc44r5Ob0unvq5wXP9sT\n5UFjDv4q9IXavFUy7bbKx3DOK3jiAlzERNMKZ+NM+rqg7C7lXkH+ExT8RKSy\nXnbGIJY4WR+pbqKVHcI88iFc9vH8YJ33mJjs7vLuAwkmbu8aYjIoTjUL5m1U\n47J8KDdnAGH4f3cURUYyJ3m4yggL6IoQBdv7aVzXH5lYHeJuAeUeesAvIiYf\ni69DSOfF2vZdAshv+i/a7xNL4bLRMuwYaVyuigOqYkhiPeJWJCj6H0PXZB1c\nUmuyhLOZFhdglxkzeZ0yaRNOlU9vCDU4M3Hf6vBjNurU1oPtnzlG3Iof+jeX\nrlJuEit2Vbahdfvqr/AWIJZQ2FyYiVqhYjhcHY3BmkfKc0/SqaAl9DGLvopI\nav9eLFpDcnoXzGIgXauVqGhGb2QnHmbbfhRU3MgdTYNni4HyS9YMOFqTP5IJ\noNDYTiPmZjlDdwE7cl9jceJHxUb6XiDGfzIIE5xb628Aj/qsD4osLIpBEfEE\nsUxPc2Swjo4yxi5kPGYX95io8GKgOKil0Mmeuge7uSV+ZzgnCsAJ72tfQegb\nVxKF\r\n=JAeB\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"testRegex":"(/__tests__/.*|\\.(test|spec))\\.ts$","transform":{"^.+\\.ts$":"ts-jest"},"collectCoverage":true,"testEnvironment":"node","coverageThreshold":{"global":{"lines":85,"branches":70,"functions":85,"statements":85}},"moduleFileExtensions":["ts","js"],"coveragePathIgnorePatterns":["/node_modules/","/test/"]},"main":"dist/src/index.js","types":"dist/src/index.d.ts","engines":{"node":">=10.7.0"},"gitHead":"ea4a8bbd5c5fdaee62c1d44a048d56ede1282050","scripts":{"lint":"tslint  --project tsconfig.json -t codeFrame 'src/**/*.ts' 'test/**/*.ts'","test":"jest --verbose","build":"tsc","prebuild":"rimraf dist","test:prod":"npm run lint && npm run test -- --coverage --no-cache","test:watch":"jest --watch"},"_npmUser":{"name":"malthe","email":"mborch@gmail.com"},"prettier":{"semi":true,"singleQuote":true},"repository":{"url":"git://github.com/malthe/ts-postgres.git","type":"git"},"_npmVersion":"6.4.1","declaration":true,"description":"PostgreSQL client in TypeScript","directories":{},"_nodeVersion":"10.11.0","dependencies":{"ts-typed-events":"^1.1.1"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^22.0.2","colors":"^1.1.2","prompt":"^1.0.0","rimraf":"^2.6.1","tslint":"^5.8.0","ts-jest":"^23.10.2","ts-node":"^6.0.0","prettier":"^1.13.4","typescript":"^3.1.1","@types/jest":"^22.0.0","@types/node":"^10.11.0","lint-staged":"^7.1.3","tslint-config-prettier":"^1.1.0","tslint-config-standard":"^7.0.0"},"minNativeVersion":"2.3.0","_npmOperationalInternal":{"tmp":"tmp/ts-postgres_1.0.0-alpha1_1539428680232_0.5380240435262831","host":"s3://npm-registry-packages"}},"1.0.0-alpha2":{"name":"ts-postgres","version":"1.0.0-alpha2","keywords":["database","postgres","postgresql","rdbms"],"author":{"name":"Malthe Borch","email":"mborch@gmail.com"},"license":"MIT","_id":"ts-postgres@1.0.0-alpha2","maintainers":[{"name":"malthe","email":"mborch@gmail.com"}],"homepage":"https://github.com/malthe/ts-postgres","bugs":{"url":"https://github.com/malthe/ts-postgres/issues"},"dist":{"shasum":"616a0d8a2da6f9426957415521646d6c71dc5ec0","tarball":"https://registry.npmjs.org/ts-postgres/-/ts-postgres-1.0.0-alpha2.tgz","fileCount":70,"integrity":"sha512-rWYCqzOgYQ+TS+YhrM20vP+U9XKDmhsXs/HXfAzleICknidUJVthSDct9uyHmPChGjmR4Fc9/5kBFXTYkg/6PQ==","signatures":[{"sig":"MEYCIQCqH8bB2qEu10HVr81ad+s0tzljT/aOYoewEvicH3cRAAIhAMxPiTAwUVykDsdzK0/yWVM6r9eS3pNymT4KccRJiInN","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":247851,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbxFcbCRA9TVsSAnZWagAA1ekP/1psUoad9Qp0hlmtFBsq\n2LHU1iuNcgutoKchN+WKp555tWfDrvY4XTR0NgzNuCvbd24R4aavcG04s8Jm\nY+FIQClWvVh4cKBBO5tt6BXVfkcupH57qhDp0cILLQhyKaylxy7t+aIAftPJ\naFeFzBHb1oI8KQL8K6xnxIfVxMO3mZgorfhYOrq0OHOh6Au5wyxmyh+o/rQ/\nH1uDA91CjgEl3csux1xon8j17o0N2TcW4e5HFS3+P+xxMY7D5G0ycgEoxVEy\nsILAZYcE4KBp88abYWz6/reCVC7QkYkEVhoLb70LiKx4CoDef1FhUfcPUJrp\niiiDWKit72b53puo33o5dPfDbl1J+CK/YJ90vt+rRzlcMXer65XdDYhDlY5T\nCR0wdSjFHrlQi+OBTrEY/9CAz68Rd81XJs1R6oqFDtkD9xjAHeHkIvWyGqNO\nq/DfnomxQVgoPBCvZlkuthPSlCiocEBtJdgClcNdL/uaWsqntYJfz9mEBMN4\nU07fdADmaUbp9Lhy0oCG9D78liiZED+NjiTXULyVzQGdTGQFNDBfj32sjjLn\nKea6qjv9+KDku5whFZbwnzIMWdo+lsYTrPArJ04GmsI6+S7sFLdXRnIjsRmP\n4t+6up0vaDDME+zVoXnV2bS5+vd7zU+R7PT5YMHcnERXfTkWHHuV2c4N1Clp\nHIgr\r\n=cZdp\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"testRegex":"(/__tests__/.*|\\.(test|spec))\\.ts$","transform":{"^.+\\.ts$":"ts-jest"},"collectCoverage":true,"testEnvironment":"node","coverageThreshold":{"global":{"lines":85,"branches":70,"functions":85,"statements":85}},"moduleFileExtensions":["ts","js"],"coveragePathIgnorePatterns":["/node_modules/","/test/"]},"main":"dist/src/index.js","types":"dist/src/index.d.ts","readme":"# ts-postgres\n\n[![Build Status](https://secure.travis-ci.org/malthe/ts-postgres.svg?branch=master)](http://travis-ci.org/malthe/ts-postgres)\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/ts-postgres\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/ts-postgres.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/ts-postgres\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/ts-postgres.svg\" alt=\"NPM downloads\" /></a></span>\n\nNon-blocking PostgreSQL client for Node.js written in TypeScript.\n\n### Install\n\nThis library does not yet have a stable release. The following command installs the latest pre-release.\n\n```sh\n$ npm install ts-postgres@next\n```\n\n### Features\n\n* Binary protocol\n* Pipelined queries\n* Extensible value model\n* Flexible query result\n  * Asynchronous iteration or all-at-once\n  * Result data is available in either array or map form\n\n---\n\n## Usage\n\nThe client uses an async/await-based programming model.\n\nThe default result value is simply \"arrays of arrays\" (rows and columns). To get each row as a map from column names to values use the ``asMapArray()`` method as illustrated in the following example.\n\n```typescript\nimport { Client } from 'ts-postgres';\nconst client = new Client();\n\nawait client.connect()\n\nconst query = client.query('SELECT $1::text as message', ['Hello world!']);\nconst result = await query.asMapArray();\nconsole.log(result[0].get('message'));\n\nawait client.end()\n```\n\n## Notes\n\nQueries are sent using the prepared statement variant of the extended query protocol. In this variant, the type of each parameter is determined prior to parameter binding, ensuring that values are encoded in the correct format.\n\nMultiple queries can be sent at once, without waiting for results. The client automatically manages the pipeline and maps the result data to the corresponding promise. Note that each client opens exactly one connection to the database and thus, concurrent queries ultimately execute \"first in, first out\" on the database side.\n\n## Benchmarking\n\nUse the following environment variable to run tests in \"benchmark\" mode.\n\n```bash\n$ NODE_ENV=benchmark npm run test\n```\n\n## Support\n\nts-postgres is free software.  If you encounter a bug with the library please open an issue on the [GitHub repo](https://github.com/malthe/ts-postgres).\n\n## License\n\nCopyright (c) 2018 Malthe Borch (mborch@gmail.com)\n\n Permission is hereby granted, free of charge, to any person obtaining a copy\n of this software and associated documentation files (the \"Software\"), to deal\n in the Software without restriction, including without limitation the rights\n to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n copies of the Software, and to permit persons to whom the Software is\n furnished to do so, subject to the following conditions:\n\n The above copyright notice and this permission notice shall be included in\n all copies or substantial portions of the Software.\n\n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n THE SOFTWARE.\n","engines":{"node":">=10.7.0"},"gitHead":"6bb259f6b0303ceab79cb3fdc587eed0d818d05b","scripts":{"lint":"tslint  --project tsconfig.json -t codeFrame 'src/**/*.ts' 'test/**/*.ts'","test":"jest --verbose","build":"tsc","prebuild":"rimraf dist","test:prod":"npm run lint && npm run test -- --coverage --no-cache","test:watch":"jest --watch"},"_npmUser":{"name":"malthe","email":"mborch@gmail.com"},"prettier":{"semi":true,"singleQuote":true},"repository":{"url":"git://github.com/malthe/ts-postgres.git","type":"git"},"_npmVersion":"6.4.1","declaration":true,"description":"PostgreSQL client in TypeScript","directories":{},"_nodeVersion":"10.11.0","dependencies":{"ts-typed-events":"^1.1.1"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^22.0.2","colors":"^1.1.2","prompt":"^1.0.0","rimraf":"^2.6.1","tslint":"^5.8.0","ts-jest":"^23.10.2","ts-node":"^6.0.0","prettier":"^1.13.4","typescript":"^3.1.1","@types/jest":"^22.0.0","@types/node":"^10.11.0","lint-staged":"^7.1.3","tslint-config-prettier":"^1.1.0","tslint-config-standard":"^7.0.0"},"minNativeVersion":"2.3.0","_npmOperationalInternal":{"tmp":"tmp/ts-postgres_1.0.0-alpha2_1539594010730_0.39286992560886036","host":"s3://npm-registry-packages"}},"1.0.0-alpha3":{"name":"ts-postgres","version":"1.0.0-alpha3","keywords":["database","postgres","postgresql","rdbms"],"author":{"name":"Malthe Borch","email":"mborch@gmail.com"},"license":"MIT","_id":"ts-postgres@1.0.0-alpha3","maintainers":[{"name":"malthe","email":"mborch@gmail.com"}],"homepage":"https://github.com/malthe/ts-postgres","bugs":{"url":"https://github.com/malthe/ts-postgres/issues"},"dist":{"shasum":"6796ccde8c9b28a54d445bbba278974db3e9607f","tarball":"https://registry.npmjs.org/ts-postgres/-/ts-postgres-1.0.0-alpha3.tgz","fileCount":70,"integrity":"sha512-xsbQSr28ue7SY3OqgjL+6hyiAemNSer7O33Cpq/tvw4jFa8i6XJa9z1ub27s5FnJ41TfrGgB1EHbU/b+Dx65mw==","signatures":[{"sig":"MEUCIQDljmuMcqtG5kuWC+og5k2VbkY9wJaUeiVWWyGUgXQKQwIgaGbjeUoNFMjcpUCrQQel5OmwZAKA0+mtsA5zTGzZTpY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":249666,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbyPzRCRA9TVsSAnZWagAAr7sP/1S3eH4ZJecIbn/KboZG\n2B9yF4q8myCYEksgDV0o97My0249GyQzdjF1UbqTy7oNCUqMJHBa0KFT/AvX\nsSe6Z4vi4cvwdUnbjlpy92sRg/oa0xkldyRQWUODlSF/+LTTh79QkzibQcU0\nbXiBBbHTAoMZC3i0lhsSpivdfit8Als3Iiw/Z76EICP7Fu0BcZlLVi8ZN579\nGB3uUAvDwnyaHAgmG8xCH98RVMpjlrXM3LPa6VVkxsf3n558eo4TJDm2awFm\n48VQTGPk/YnrwFjkiKX+h2YNv9WfsOkrThgrwlQoooqSOkpApVPVHYt0X37P\nVSQEI/3dFdCvOOfbs7aaGZ7oyEGK9JxF/clHSaU6bug5S0u33/6YfMZgSA8K\nJ/svYbcAxgziFxM1jHy5cjjEVTwLV9qEByP2dPqcut0JGDAO+RC5tfMc87M1\ne51o5PO2aqbMlN3BSFXnpjclpcl5DMUm4fcXOns5eeoWIJrkS7yYrIfeBHHU\ncQyspDVQNQ2ASKzON25HF7geMgEHA8Lk1XxOu22qsQyPq/q8+9QwavT4r9kx\nKH4r+NJ9B3QAH+C4BTyEt7y7fce84Q7BvBAiPfo+AFq31cChzHe2wSpyJa+L\nNS065WwUagfKCLfK/HGIPbd4aIUrTF4RQTu7X8gg8/I8KizAEWlIIWDRPwnt\nHl2U\r\n=KYtd\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"testRegex":"(/__tests__/.*|\\.(test|spec))\\.ts$","transform":{"^.+\\.ts$":"ts-jest"},"collectCoverage":true,"testEnvironment":"node","coverageThreshold":{"global":{"lines":85,"branches":70,"functions":85,"statements":85}},"moduleFileExtensions":["ts","js"],"coveragePathIgnorePatterns":["/node_modules/","/test/"]},"main":"dist/src/index.js","types":"dist/src/index.d.ts","engines":{"node":">=10.7.0"},"gitHead":"bfc2843c62a57dfed0802194ed186023f761534d","scripts":{"lint":"tslint  --project tsconfig.json -t codeFrame 'src/**/*.ts' 'test/**/*.ts'","test":"jest --verbose","build":"tsc","prebuild":"rimraf dist","test:prod":"npm run lint && npm run test -- --coverage --no-cache","test:watch":"jest --watch"},"_npmUser":{"name":"malthe","email":"mborch@gmail.com"},"prettier":{"semi":true,"singleQuote":true},"repository":{"url":"git://github.com/malthe/ts-postgres.git","type":"git"},"_npmVersion":"6.4.1","declaration":true,"description":"PostgreSQL client in TypeScript","directories":{},"_nodeVersion":"10.11.0","dependencies":{"ts-typed-events":"^1.1.1"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^22.0.2","colors":"^1.1.2","prompt":"^1.0.0","rimraf":"^2.6.1","tslint":"^5.8.0","ts-jest":"^23.10.2","ts-node":"^6.0.0","prettier":"^1.13.4","typescript":"^3.1.1","@types/jest":"^22.0.0","@types/node":"^10.11.0","lint-staged":"^7.1.3","tslint-config-prettier":"^1.1.0","tslint-config-standard":"^7.0.0"},"minNativeVersion":"2.3.0","_npmOperationalInternal":{"tmp":"tmp/ts-postgres_1.0.0-alpha3_1539898576653_0.39447625137201126","host":"s3://npm-registry-packages"}},"1.0.0-beta1":{"name":"ts-postgres","version":"1.0.0-beta1","keywords":["database","postgres","postgresql","rdbms"],"author":{"name":"Malthe Borch","email":"mborch@gmail.com"},"license":"MIT","_id":"ts-postgres@1.0.0-beta1","maintainers":[{"name":"malthe","email":"mborch@gmail.com"}],"homepage":"https://github.com/malthe/ts-postgres","bugs":{"url":"https://github.com/malthe/ts-postgres/issues"},"dist":{"shasum":"21653164f1ab34ffe7c4c84ce3c09b8428d06e2f","tarball":"https://registry.npmjs.org/ts-postgres/-/ts-postgres-1.0.0-beta1.tgz","fileCount":70,"integrity":"sha512-hR944iyADDZZkmrQvoBymQ1NvJe//LtrwDN/04F6Kedp7Oz9xGdp0YXNj3dSmojRCLu+St+girfojp/LdKQ6lQ==","signatures":[{"sig":"MEUCIQCsliIMEDqXkBB5iKQrGysj1EcWTESm4KIwPrplQWQ5WQIgOImappteVt7wuhOt2bpnZkpWi0qbbBA9MH+r0Lyzei4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":266432,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbyc8sCRA9TVsSAnZWagAAeJUP/RyjnLNIuZY2es0HV1aM\ncK71mEqynlfGkXl3qyfUF4whLS/J7m7Hyzphi8wqrSJgsqtYP9hRFm7MBEJb\nLYMk62x8+e38hdTAiRsherfXKmVbfUI8rMUHmY674HTPYPGVJ7PR3AqhYbLT\nNnAmDLzbtC4Z+GkM3qC9IkXrTa87XqZKsgQ8N2/APMXU50Sp66WcAciJnwQl\nkgjUxgPUBJDEvTimfqzNpzlo3pzqoGHUCUV2fPDRDYC2lUBCbv0YzIFPvgwl\n2CbRKtSeuIfU/3vCabQFVdQms8xN5ayQ7D0tl3SsveVV6WsDJl7nxqp0GXFe\nDqlTSSe2SBpLtsHb6gfhLCzcEJNEy6OFdw8pV3QlMuhRUBDaYCc61KRMOcc4\nogrMMoKn9lp91CtnL5PPD1LyorQkuNiXmHIG+/pMBZlTQTl+lEKMJN6Xfgec\nG5Go8kFIdcy+fY1aj/kvgcbhkzGH7zRCRCD5Qrpbc0BQNTHLvan4AwtgY8Bo\nnLW1nJLgrFKfB3G5f73KMW9x8aBXkOhR4EaL0n0SRo4LZClYGmmDcnfKKqwR\nyDE6LM2JNPOVryNLodSBegzdayalZ8A6IigrUzNNSohp4WcqCjH00jmbCNdq\n+qh1wYw613IkrMb8J5qizit2CEyMo35kvHXnIdNdc0OeGNzJYQprZamixRkG\nVgmv\r\n=BO9M\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"testRegex":"(/__tests__/.*|\\.(test|spec))\\.ts$","transform":{"^.+\\.ts$":"ts-jest"},"collectCoverage":true,"testEnvironment":"node","coverageThreshold":{"global":{"lines":85,"branches":70,"functions":85,"statements":85}},"moduleFileExtensions":["ts","js"],"coveragePathIgnorePatterns":["/node_modules/","/test/"]},"main":"dist/src/index.js","types":"dist/src/index.d.ts","engines":{"node":">=10.7.0"},"gitHead":"7afb30eb6a1f4e8b91745a28f8afb472e1391521","scripts":{"lint":"tslint  --project tsconfig.json -t codeFrame 'src/**/*.ts' 'test/**/*.ts'","test":"jest --verbose","build":"tsc","prebuild":"rimraf dist","test:prod":"npm run lint && npm run test -- --coverage --no-cache","test:watch":"jest --watch"},"_npmUser":{"name":"malthe","email":"mborch@gmail.com"},"prettier":{"semi":true,"singleQuote":true},"repository":{"url":"git://github.com/malthe/ts-postgres.git","type":"git"},"_npmVersion":"6.4.1","declaration":true,"description":"PostgreSQL client in TypeScript","directories":{},"_nodeVersion":"10.11.0","dependencies":{"ts-typed-events":"^1.1.1"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^22.0.2","colors":"^1.1.2","prompt":"^1.0.0","rimraf":"^2.6.1","tslint":"^5.8.0","ts-jest":"^23.10.2","ts-node":"^6.0.0","prettier":"^1.13.4","typescript":"^3.1.1","@types/jest":"^22.0.0","@types/node":"^10.11.0","lint-staged":"^7.1.3","tslint-config-prettier":"^1.1.0","tslint-config-standard":"^7.0.0"},"minNativeVersion":"2.3.0","_npmOperationalInternal":{"tmp":"tmp/ts-postgres_1.0.0-beta1_1539952427671_0.5974163162463775","host":"s3://npm-registry-packages"}},"1.0.0-beta2":{"name":"ts-postgres","version":"1.0.0-beta2","keywords":["database","postgres","postgresql","rdbms"],"author":{"name":"Malthe Borch","email":"mborch@gmail.com"},"license":"MIT","_id":"ts-postgres@1.0.0-beta2","maintainers":[{"name":"malthe","email":"mborch@gmail.com"}],"homepage":"https://github.com/malthe/ts-postgres","bugs":{"url":"https://github.com/malthe/ts-postgres/issues"},"dist":{"shasum":"48a8688d55b4e721dea65ab92b5ff622e4b581b5","tarball":"https://registry.npmjs.org/ts-postgres/-/ts-postgres-1.0.0-beta2.tgz","fileCount":70,"integrity":"sha512-xyR9TVpMHfLgew1ZkXklsxO9JchYAGvdXiyxl1+tG+q1QzNLvCS0aATdKt5CfbyAofgjSyORxo5V++ZJ+ynfFw==","signatures":[{"sig":"MEUCIE5a2Y6U0PiZF6mfObtambbmMHfzJ1CWy8X5qevxprGgAiEA/3IVljPOflHGTLKBmv51JM5twqDqQ3BhnXa2KSwp4fQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":266981,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbyuh0CRA9TVsSAnZWagAAy88QAJNerFheYRsM4GIksaVw\npyJxBN7FYlKXwydlPWGxzWH6rx14qMjz69CWmH881zcP55pwd3OLxUNHQMDm\nbTGEcH/tR6gk0ICnaFK9TQtCLDfiKXfMNDRdO434R3ICLJUYdLJvSPdJsp/j\nELE6IOUY0KFkcw58ZhU3pjNkiWtfHmdW2glZowq391XFhk+ZjTDk/CARsvLm\nhW8XUoOgtovr7N7DveAts9rAqVvdaFHmQgz49xc5rddUa7I8iAyNSjZ+CVSa\nbAq0EjJ2n6xzEXa9hLDViJ46Zi+Tv4tF5/0O5uhmaZUc4+25cvacX6pAxv3U\nf0RlLggy4IWUZh1NVkJXHxQSbVGKFQje2fuSfi3gkurp5uDbmDL8ifJhVH8K\nqHW7gCRIO6pjeWe9Y1nfdyzf0TebCmCCM0DVYBYtPRvxQbocGhn4LpCsmkmW\noOCBLZ37c5Fc1Hv3g42fwGAg+1GbJa7+3rxlIC6op26B9BzywaZGf1HNK5Am\ncJy4GrJ7YnpA60bEiXMeG8Skr+ON0F1ZbBq6j5U7dryyqsJmq6oZFYj/rX2W\nyoAIUPV1cbwL8TWGMoFWnHBNopOyK4yw0cKIu2Ho4hXiV7sxLsacu8kFPeKz\npv/f+r0Ja2HXYXOxtVZKeVzpKqH05zcBkQt8pYnE68Aukf6vVhn9hXRW5YwQ\n+FGU\r\n=UhuH\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"testRegex":"(/__tests__/.*|\\.(test|spec))\\.ts$","transform":{"^.+\\.ts$":"ts-jest"},"collectCoverage":true,"testEnvironment":"node","coverageThreshold":{"global":{"lines":85,"branches":70,"functions":85,"statements":85}},"moduleFileExtensions":["ts","js"],"coveragePathIgnorePatterns":["/node_modules/","/test/"]},"main":"dist/src/index.js","types":"dist/src/index.d.ts","engines":{"node":">=10.7.0"},"gitHead":"c1fa2efe9f85e665879183c60886df94e8db9179","scripts":{"lint":"tslint  --project tsconfig.json -t codeFrame 'src/**/*.ts' 'test/**/*.ts'","test":"jest --verbose","build":"tsc","prebuild":"rimraf dist","test:prod":"npm run lint && npm run test -- --coverage --no-cache","test:watch":"jest --watch"},"_npmUser":{"name":"malthe","email":"mborch@gmail.com"},"prettier":{"semi":true,"singleQuote":true},"repository":{"url":"git://github.com/malthe/ts-postgres.git","type":"git"},"_npmVersion":"6.4.1","declaration":true,"description":"PostgreSQL client in TypeScript","directories":{},"_nodeVersion":"10.12.0","dependencies":{"ts-typed-events":"^1.1.1"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^22.0.2","colors":"^1.1.2","prompt":"^1.0.0","rimraf":"^2.6.1","tslint":"^5.8.0","ts-jest":"^23.10.2","ts-node":"^6.0.0","prettier":"^1.13.4","typescript":"^3.1.1","@types/jest":"^22.0.0","@types/node":"^10.11.0","lint-staged":"^7.1.3","tslint-config-prettier":"^1.1.0","tslint-config-standard":"^7.0.0"},"minNativeVersion":"2.3.0","_npmOperationalInternal":{"tmp":"tmp/ts-postgres_1.0.0-beta2_1540024436098_0.11115109582753835","host":"s3://npm-registry-packages"}},"1.0.0-beta3":{"name":"ts-postgres","version":"1.0.0-beta3","keywords":["database","postgres","postgresql","rdbms"],"author":{"name":"Malthe Borch","email":"mborch@gmail.com"},"license":"MIT","_id":"ts-postgres@1.0.0-beta3","maintainers":[{"name":"malthe","email":"mborch@gmail.com"}],"homepage":"https://github.com/malthe/ts-postgres","bugs":{"url":"https://github.com/malthe/ts-postgres/issues"},"dist":{"shasum":"769ccc97b1b2a7e0a2c0b200ff8cad778262da5f","tarball":"https://registry.npmjs.org/ts-postgres/-/ts-postgres-1.0.0-beta3.tgz","fileCount":70,"integrity":"sha512-2IE68M07ZIRxnLn0Iae7YS/ucIEvMdS+8ndkTKC8zkkD3dnRxl14ZcTvwahbmP89dbDB63cAKvmxdp43AY6k9g==","signatures":[{"sig":"MEUCIAvplF7e9cvzyvcRPZlUrEsL62betUnfZcZ28DvKYNqQAiEA9TWbHalAlrHBSX/OqPA+SL5GyTBe5IAJ+DLjZp5nmdI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":268118,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbzMoACRA9TVsSAnZWagAAGFUP/AuPxD6I1bPAfu6kAJtL\ngxp5hqMxxNp7oFnWZcTuG/mAXNKo5squldIKabKKWuK+ikxA0ijs7LkHIJRS\n+x6Y4aUYVEvzAZskIOkpX2n0Azis7zuV84fn9iPOEJnqGdJg7RGiqRbNWtuX\n2LlHJ+dGzKTRyMIrRf+Cbba200dgQVfMfgyKEqKAv9vQ2HEO3oIKr/4uQC6W\nlsxiRe+pLt6eV5BQCifyrv8AF9IWTimTriljrdDeA2md4zA1AR48TyTTWohw\nNysf6M2m/zm0k0Bvi4Eob5sH0KXigRAYq7jEnoJ43JqdikHg5rON/fwYE4BZ\nYORu18o7LY8ONesVDZa2J5pQUpSVbcTy3wMMHdHVaqCPgyScirTr1f5hgPtO\nxMAnMTXvXBnb0t9n4FxrMgu3Vb7sLvJvif/f+IKCX0T+s+MJThTEUby6TQOs\nWL19bbvdI23NJ/zwGaBPT3Rpd7H/rQ2tamBFV/A6ZPRRxFZcAzyX9sSROujd\n6AeNM3Wajy7EQCAm8lQGjNfV0Qp2vbgy4iSgLw4JNQREfqs4AvY6Y65zZlOO\nIROg0h0OOzyEGF6efrMn9I51CCN1NlaGdcddXFa4V95hy4sf2VHxGnjCVoqt\nUPZ6DBVlCKkKNp3lqoAdmndx+DbcI/1EsQfgjGv0DAZ3j1AP3/ou3XbNtquQ\n2zxb\r\n=aYDB\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"testRegex":"(/__tests__/.*|\\.(test|spec))\\.ts$","transform":{"^.+\\.ts$":"ts-jest"},"collectCoverage":true,"testEnvironment":"node","coverageThreshold":{"global":{"lines":85,"branches":70,"functions":85,"statements":85}},"moduleFileExtensions":["ts","js"],"coveragePathIgnorePatterns":["/node_modules/","/test/"]},"main":"dist/src/index.js","types":"dist/src/index.d.ts","engines":{"node":">=10.7.0"},"gitHead":"8900a0febedbd34cba18ada74aaf17addfbd4da8","scripts":{"lint":"tslint  --project tsconfig.json -t codeFrame 'src/**/*.ts' 'test/**/*.ts'","test":"jest --verbose","build":"tsc","prebuild":"rimraf dist","test:prod":"npm run lint && npm run test -- --coverage --no-cache","test:watch":"jest --watch"},"_npmUser":{"name":"malthe","email":"mborch@gmail.com"},"prettier":{"semi":true,"singleQuote":true},"repository":{"url":"git://github.com/malthe/ts-postgres.git","type":"git"},"_npmVersion":"6.4.1","declaration":true,"description":"PostgreSQL client in TypeScript","directories":{},"_nodeVersion":"10.12.0","dependencies":{"ts-typed-events":"^1.1.1"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^22.0.2","colors":"^1.1.2","prompt":"^1.0.0","rimraf":"^2.6.1","tslint":"^5.8.0","ts-jest":"^23.10.2","ts-node":"^6.0.0","prettier":"^1.13.4","typescript":"^3.1.1","@types/jest":"^22.0.0","@types/node":"^10.11.0","lint-staged":"^7.1.3","tslint-config-prettier":"^1.1.0","tslint-config-standard":"^7.0.0"},"minNativeVersion":"2.3.0","_npmOperationalInternal":{"tmp":"tmp/ts-postgres_1.0.0-beta3_1540147711933_0.47174645734047926","host":"s3://npm-registry-packages"}},"1.0.0-beta4":{"name":"ts-postgres","version":"1.0.0-beta4","keywords":["database","postgres","postgresql","rdbms"],"author":{"name":"Malthe Borch","email":"mborch@gmail.com"},"license":"MIT","_id":"ts-postgres@1.0.0-beta4","maintainers":[{"name":"malthe","email":"mborch@gmail.com"}],"homepage":"https://github.com/malthe/ts-postgres","bugs":{"url":"https://github.com/malthe/ts-postgres/issues"},"dist":{"shasum":"7b52f6491ece8c411343d5dc80be14e9515979bc","tarball":"https://registry.npmjs.org/ts-postgres/-/ts-postgres-1.0.0-beta4.tgz","fileCount":70,"integrity":"sha512-LYzygujTYAttFM2olnFyeCbb3lsZv6lrzroOwbSoYlt1b5ljVle1OxGIhHu5A3RWBVKH8xVx/4OWTihAtYW4GA==","signatures":[{"sig":"MEUCIFSkq5Z40jVyuG3oEIXqk8WMP+bxZ5louglJHIvHKZH1AiEA3QMbiCMeDbMW/pXoKTYR5nFrRY4VZxFcFMpBKskVF2o=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":294108,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb0YzSCRA9TVsSAnZWagAAfDgQAJRG4VDF9SsNbLvOk3fB\n29608M40PkbVyRNeKz7SpJCrjGC7NcQlQ9RI9hv0prsoyfZVDTk2S3b7rTuC\nA4EFlbY23mb4778zS2edMr+OmtiAxhVHpxGzFYvx1uSLLML7hxXFaHDElcJR\nREqwqZl/CtWXFNTxQUA4shX2zl3APosLmIrSyH0RER0oh94W4kLZeSblr61I\n3IVKFOBO3S6CtA7PWPKAE5xDZO3RnVRO9dOft2dkD5JSxykBc1OcICnC5q4R\nVyPCY+V12mC2JrkUHdodjF7lhFudRcV78JF7cjRYebHP4swuphTF5tTQsSvr\nWOeiIFALOueLwYZpH8QmG3HIeNQugcoNXIaQwRbc0JL2Y4ua1RLvjgjiRzjS\nBAlTYLVuFn5TG6igch1FbwjrV/4GxE3wtg8QzI1TEj5ZJS3omNz0ECvrKvWi\nhyWqQvZEjigDjOGdSPsKHqdxppTadQFi4HWs3VgxxUeteYURWBu5LGDPpUTg\nZeENaByzPB+EczDXoUpBj4cgEnVNzatv9ntGDFGjfPHt3JX2bDAeXw3pn3r2\ndwcGeju1FWkoLNRUUNMNanMtGA12OtWdsgp5PuJFS6/Or8tjgOFKSSnYZaex\nYlMVK9Kd6s+qvtSjZiIIpH40MP1g1xCERhpFqXgHl2SCo3cC3fvirg3TMCwh\n/YjW\r\n=zpkf\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"testRegex":"(/__tests__/.*|\\.(test|spec))\\.ts$","transform":{"^.+\\.ts$":"ts-jest"},"collectCoverage":true,"testEnvironment":"node","coverageThreshold":{"global":{"lines":85,"branches":70,"functions":85,"statements":85}},"moduleFileExtensions":["ts","js"],"coveragePathIgnorePatterns":["/node_modules/","/test/"]},"main":"dist/src/index.js","types":"dist/src/index.d.ts","readme":"# ts-postgres\n\n[![Build Status](https://secure.travis-ci.org/malthe/ts-postgres.svg?branch=master)](http://travis-ci.org/malthe/ts-postgres)\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/ts-postgres\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/ts-postgres.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/ts-postgres\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/ts-postgres.svg\" alt=\"NPM downloads\" /></a></span>\n\nNon-blocking PostgreSQL client for Node.js written in TypeScript.\n\n### Install\n\nThis library does not yet have a stable release. The following command installs the latest pre-release.\n\n```sh\n$ npm install ts-postgres@next\n```\n\n### Features\n\n* Fast!\n* Supports both binary and text value formats\n  * Result data is currently sent in binary format only\n* Multiple queries can be sent at once (pipeline)\n* Extensible value model\n* Hybrid query result object\n  * Iterable (synchronous or asynchronous; one row at a time)\n  * Promise-based\n\n---\n\n## Usage\n\nThe client uses an async/await-based programming model.\n\n```typescript\nimport { Client } from 'ts-postgres';\n\nasync function main() {\n    const client = new Client();\n    await client.connect();\n\n    const stream = client.query(\n        `SELECT 'Hello ' || $1 || '!' AS message`,\n        ['world']\n    );\n\n    for await (const row of stream) {\n        console.log(row.get('message')); // 'Hello world!'\n    }\n\n    await client.end();\n}\n\nmain()\n```\nThe example above uses the variable ``stream`` to indicate that the result set is made available as it arrives on the connection. But we'll often want to just wait for the entire result set to arrive before starting to process the data.\n\n```typescript\nconst result = await client.query('select generate_series(1, 10)');\n```\nIf the query fails, waiting for the result will throw an exception.\n\n### Iterator interface\n\nWhether we're operating on a stream or an already waited for result set, the iterator interface provides the most high-level row interface. This also applies when using the _spread_ operator:\n\n```typescript\nconst rows = [...result];\n```\n\nEach row provides direct access to values through its ``data`` attribute, but we can also get a value by name using the ``get(name)`` method.\n\n```typescript\nfor (let row of rows) {\n  console.log('The number is: ' + row.get('i')); // 1, 2, 3, ...\n}\n```\nNote that values are polymorphic and need to be explicitly cast to a concrete type such as ``number`` or ``string``.\n\n### Result interface\n\nThis interface is available on the already waited for result object. It makes data available in the ``rows`` attribute as an array of arrays (of values).\n```typescript\nfor (let row of result.rows) {\n  console.log('The number is: ' + row[0]); // 1, 2, 3, ...\n}\n```\nThis is the most efficient way to work with result data. Column names are available as the ``names`` attribute of a result.\n\n### Multiple queries\n\nThe query command accepts a single query only. If you need to send multiple queries, just call the method multiple times. For example, to send an update command in a transaction:\n```typescript\nclient.query('begin');\nclient.query('update ...');\nawait client.query('commit');\n```\nThe queries are sent back to back over the wire, but PostgreSQL still processes them one at a time, in the order they were sent (first in, first out).\n\n## Notes\n\nQueries are sent using the prepared statement variant of the extended query protocol. In this variant, the type of each parameter is determined prior to parameter binding, ensuring that values are encoded in the correct format.\n\nThe copy commands are not supported.\n\n## Benchmarking\n\nUse the following environment variable to run tests in \"benchmark\" mode.\n\n```bash\n$ NODE_ENV=benchmark npm run test\n```\n\n## Support\n\nts-postgres is free software.  If you encounter a bug with the library please open an issue on the [GitHub repo](https://github.com/malthe/ts-postgres).\n\n## License\n\nCopyright (c) 2018 Malthe Borch (mborch@gmail.com)\n\n Permission is hereby granted, free of charge, to any person obtaining a copy\n of this software and associated documentation files (the \"Software\"), to deal\n in the Software without restriction, including without limitation the rights\n to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n copies of the Software, and to permit persons to whom the Software is\n furnished to do so, subject to the following conditions:\n\n The above copyright notice and this permission notice shall be included in\n all copies or substantial portions of the Software.\n\n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n THE SOFTWARE.\n","engines":{"node":">=10.7.0"},"gitHead":"8d75e2f749ec0cdf0521de0e55690923eebdbf27","scripts":{"lint":"tslint  --project tsconfig.json -t codeFrame 'src/**/*.ts' 'test/**/*.ts'","test":"jest --verbose","build":"tsc","prebuild":"rimraf dist","test:prod":"npm run lint && npm run test -- --coverage --no-cache","test:watch":"jest --watch"},"_npmUser":{"name":"malthe","email":"mborch@gmail.com"},"prettier":{"semi":true,"singleQuote":true},"repository":{"url":"git://github.com/malthe/ts-postgres.git","type":"git"},"_npmVersion":"6.4.1","declaration":true,"description":"PostgreSQL client in TypeScript","directories":{},"_nodeVersion":"10.12.0","dependencies":{"ts-typed-events":"^1.1.1"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^22.0.2","colors":"^1.1.2","prompt":"^1.0.0","rimraf":"^2.6.1","tslint":"^5.8.0","ts-jest":"^23.10.2","ts-node":"^6.0.0","prettier":"^1.13.4","typescript":"^3.1.1","@types/jest":"^22.0.0","@types/node":"^10.11.0","lint-staged":"^7.1.3","tslint-config-prettier":"^1.1.0","tslint-config-standard":"^7.0.0"},"minNativeVersion":"2.3.0","_npmOperationalInternal":{"tmp":"tmp/ts-postgres_1.0.0-beta4_1540459729293_0.311921124424239","host":"s3://npm-registry-packages"}},"1.0.0-rc1":{"name":"ts-postgres","version":"1.0.0-rc1","keywords":["database","postgres","postgresql","rdbms"],"author":{"name":"Malthe Borch","email":"mborch@gmail.com"},"license":"MIT","_id":"ts-postgres@1.0.0-rc1","maintainers":[{"name":"malthe","email":"mborch@gmail.com"}],"homepage":"https://github.com/malthe/ts-postgres","bugs":{"url":"https://github.com/malthe/ts-postgres/issues"},"dist":{"shasum":"46abd8d24d410915ea255c70b80cc1aa40d3fb16","tarball":"https://registry.npmjs.org/ts-postgres/-/ts-postgres-1.0.0-rc1.tgz","fileCount":70,"integrity":"sha512-Ni5g/OvN6U52a4stV8B0fWmqDN0f8MAuRegbsJ3LebMrjej/ef33/0mIb2poa/HIyNSxVUQafRI/52Vdd54TDw==","signatures":[{"sig":"MEYCIQCdYHW27blI3VB2/kE+DgqTfYZDMH4cYQ+Iy5WTMl0Z1wIhAI+q99e1GPHzIUFZTAKmadPW4o33AxJw4EvdhfFt8Viw","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":308402,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb0hCuCRA9TVsSAnZWagAAqxYP/3PMMlmyvF4zsaa5QDfK\nLMV9J7vL2U/63cenRut9HOoyYE9I1Y+vZTXvspWk4VwayjL2tGeHtR0tg8kw\nvXl2/e7OEs5Y2cvQwSuWyiacI1+p7PTRhJhM0uxzMo7b7wEPEPb0e0bmK5V4\nwGFvJyM56bfli3sjAn6Nzl9luC9lomcTiZbaUwJBV7aemDFJX0AlbdLZEsIC\nY0joPkQsUjJHzvdNLgvwWvj3uWh6UNNmv4mLE10JqzkRhjY+tUt2MnoEbM61\n+yAGwUDxoHumv9yC+VMzuLLaWcO1egxRWXRdnMgMNoK6auv9+gUz1gk70Ukn\nusnNmqv4+ZYKc0UJVJINA79kt7dY/6z/95iZKINtmw7OX4fiNUUzgtMJ577j\nPWWTv27LTel6U0EWhLnTTyibWpT/GdKfMDoJofLgtgbDgv4qiUeDC/4mvjyI\nc9EMQhwaS/oN4Dnb2XJ2kbg4T/okUvpxb+SAcopwxxoevawW0lkt1k7rHbQb\nd9mQ996MaasdNf17bNnrBmM85UaMBo/Tiy8Qlz/ki+WOS6coypEAP6umDrlS\nILgbDjIbLr/TX0Kds7ZFtH1Cz4Z3th/MFvXgVGxvgz+IFwpKsEPCDiCiBhv9\nUx0VKSD2nuScLWxhGcJVMYPFagcnE7brUNBmCxkaG3i1BcUVZ90zhD0HVdMU\nvyrO\r\n=TdWC\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"testRegex":"(/__tests__/.*|\\.(test|spec))\\.ts$","transform":{"^.+\\.ts$":"ts-jest"},"collectCoverage":true,"testEnvironment":"node","coverageThreshold":{"global":{"lines":85,"branches":70,"functions":85,"statements":85}},"moduleFileExtensions":["ts","js"],"coveragePathIgnorePatterns":["/node_modules/","/test/"]},"main":"dist/src/index.js","types":"dist/src/index.d.ts","readme":"# ts-postgres\n\n[![Build Status](https://secure.travis-ci.org/malthe/ts-postgres.svg?branch=master)](http://travis-ci.org/malthe/ts-postgres)\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/ts-postgres\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/ts-postgres.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/ts-postgres\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/ts-postgres.svg\" alt=\"NPM downloads\" /></a></span>\n\nNon-blocking PostgreSQL client for Node.js written in TypeScript.\n\n### Install\n\nThis library does not yet have a stable release. The following command installs the latest pre-release.\n\n```sh\n$ npm install ts-postgres@next\n```\n\n### Features\n\n* Fast!\n* Supports both binary and text value formats\n  * Result data is currently sent in binary format only\n* Multiple queries can be sent at once (pipeline)\n* Extensible value model\n* Hybrid query result object\n  * Iterable (synchronous or asynchronous; one row at a time)\n  * Promise-based\n\n---\n\n## Usage\n\nThe client uses an async/await-based programming model.\n\n```typescript\nimport { Client } from 'ts-postgres';\n\nasync function main() {\n    const client = new Client();\n    await client.connect();\n\n    const stream = client.query(\n        `SELECT 'Hello ' || $1 || '!' AS message`,\n        ['world']\n    );\n\n    for await (const row of stream) {\n        console.log(row.get('message')); // 'Hello world!'\n    }\n\n    await client.end();\n}\n\nmain()\n```\nThe example above uses the variable ``stream`` to indicate that the result set is made available as it arrives on the connection. But we'll often want to just wait for the entire result set to arrive before starting to process the data.\n\n```typescript\nconst result = await client.query('select generate_series(1, 10)');\n```\nIf the query fails, waiting for the result will throw an exception.\n\n### Iterator interface\n\nWhether we're operating on a stream or an already waited for result set, the iterator interface provides the most high-level row interface. This also applies when using the _spread_ operator:\n\n```typescript\nconst rows = [...result];\n```\n\nEach row provides direct access to values through its ``data`` attribute, but we can also get a value by name using the ``get(name)`` method.\n\n```typescript\nfor (const row of rows) {\n  console.log('The number is: ' + row.get('i')); // 1, 2, 3, ...\n}\n```\nNote that values are polymorphic and need to be explicitly cast to a concrete type such as ``number`` or ``string``.\n\n### Result interface\n\nThis interface is available on the already waited for result object. It makes data available in the ``rows`` attribute as an array of arrays (of values).\n```typescript\nfor (const row of result.rows) {\n  console.log('The number is: ' + row[0]); // 1, 2, 3, ...\n}\n```\nThis is the most efficient way to work with result data. Column names are available as the ``names`` attribute of a result.\n\n### Multiple queries\n\nThe query command accepts a single query only. If you need to send multiple queries, just call the method multiple times. For example, to send an update command in a transaction:\n```typescript\nclient.query('begin');\nclient.query('update ...');\nawait client.query('commit');\n```\nThe queries are sent back to back over the wire, but PostgreSQL still processes them one at a time, in the order they were sent (first in, first out).\n\n### Prepared statements\n\nYou can prepare a query and subsequently execute it multiple times. This is also known as a \"prepared statement\".\n```typescript\nconst statement = await client.prepare(\n    `SELECT 'Hello ' || $1 || '!' AS message`\n);\nfor await (const row of statement.execute(['world'])) {\n    console.log(row.get('message')); // 'Hello world!'\n}\n```\nWhen the prepared statement is no longer needed, it should be closed to release the resource.\n```typescript\nawait statement.close();\n```\nPrepared statements can be used (executed) multiple times, even concurrently.\n\n## Notes\n\nQueries with parameters are sent using the prepared statement variant of the extended query protocol. In this variant, the type of each parameter is determined prior to parameter binding, ensuring that values are encoded in the correct format.\n\nIf a query has no parameters, it uses the portal variant which saves a round trip.\n\nThe copy commands are not supported.\n\n## Benchmarking\n\nUse the following environment variable to run tests in \"benchmark\" mode.\n\n```bash\n$ NODE_ENV=benchmark npm run test\n```\n\n## Support\n\nts-postgres is free software.  If you encounter a bug with the library please open an issue on the [GitHub repo](https://github.com/malthe/ts-postgres).\n\n## License\n\nCopyright (c) 2018 Malthe Borch (mborch@gmail.com)\n\n Permission is hereby granted, free of charge, to any person obtaining a copy\n of this software and associated documentation files (the \"Software\"), to deal\n in the Software without restriction, including without limitation the rights\n to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n copies of the Software, and to permit persons to whom the Software is\n furnished to do so, subject to the following conditions:\n\n The above copyright notice and this permission notice shall be included in\n all copies or substantial portions of the Software.\n\n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n THE SOFTWARE.\n","engines":{"node":">=10.7.0"},"gitHead":"ef378bda5d8c2d3b70c5da018ae5bfda7f947857","scripts":{"lint":"tslint  --project tsconfig.json -t codeFrame 'src/**/*.ts' 'test/**/*.ts'","test":"jest --verbose","build":"tsc","prebuild":"rimraf dist","test:prod":"npm run lint && npm run test -- --coverage --no-cache","test:watch":"jest --watch"},"_npmUser":{"name":"malthe","email":"mborch@gmail.com"},"prettier":{"semi":true,"singleQuote":true},"repository":{"url":"git://github.com/malthe/ts-postgres.git","type":"git"},"_npmVersion":"6.4.1","declaration":true,"description":"PostgreSQL client in TypeScript","directories":{},"_nodeVersion":"10.12.0","dependencies":{"ts-typed-events":"^1.1.1"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^22.0.2","colors":"^1.1.2","prompt":"^1.0.0","rimraf":"^2.6.1","tslint":"^5.8.0","ts-jest":"^23.10.2","ts-node":"^6.0.0","prettier":"^1.13.4","typescript":"^3.1.1","@types/jest":"^22.0.0","@types/node":"^10.11.0","lint-staged":"^7.1.3","tslint-config-prettier":"^1.1.0","tslint-config-standard":"^7.0.0"},"minNativeVersion":"2.3.0","_npmOperationalInternal":{"tmp":"tmp/ts-postgres_1.0.0-rc1_1540493485245_0.9172100571387385","host":"s3://npm-registry-packages"}},"1.0.0-rc2":{"name":"ts-postgres","version":"1.0.0-rc2","keywords":["database","postgres","postgresql","rdbms"],"author":{"name":"Malthe Borch","email":"mborch@gmail.com"},"license":"MIT","_id":"ts-postgres@1.0.0-rc2","maintainers":[{"name":"malthe","email":"mborch@gmail.com"}],"homepage":"https://github.com/malthe/ts-postgres","bugs":{"url":"https://github.com/malthe/ts-postgres/issues"},"dist":{"shasum":"342726de543bb1e9369b8237d6f8ad29c461aead","tarball":"https://registry.npmjs.org/ts-postgres/-/ts-postgres-1.0.0-rc2.tgz","fileCount":70,"integrity":"sha512-+s1prFl4TcUhPm3x1fg2KbS//3/oadhiL8wQQBY+FqNRt4q4AsW2XqaXh/JKcD7vcoJJFhybB7CFzIE/VOWjJg==","signatures":[{"sig":"MEYCIQD+hH4tU0r147HrT2gDud1Nf2Q0WV34HTwX6a+PEL7SGgIhAI/vfa8cZl9faw+QNeVyKteUxHofRKTKdGZKTJdaSFDk","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":308842,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb0qJxCRA9TVsSAnZWagAA/FEP/joe4DylgW9uqqkwL26r\nfwnnTkIc5ifqXBJ9cOKsK5E+zgkJ70Kg6JXH+6rNTHO25JsiuLm+Rruj+kUX\nPGLjprpMZ1vLxVAzT0N6Cdbm8HYlXowMKQVoz7bGVemjxvJn/UF51Tmadbfv\nhzm+o/PHDrefB+pdVI18HFefVkwAjsS7q2wKTdGVQTxbeyBRx/YPTr3I/LGF\nszDL8ZMXq+BzikRDv6f1Fy2hkyBf20MSo/FnLPLB55rY+ylk5mvyJPshg4k+\n8RWpKHKe+VAH6gNi46fpF9boTqNxIxu7ZWMwA3aKnKTQ36HAlfh/tCGvEeSI\naY4a6HFt4V5HRunZ0QzZ9j3Zv4ZAVrDAryJJ/RdNBmTHAvYZSBCGHDCAc2V1\nCh6mwjOd9tqkUcYtu3or5FgwiWf7DK1A/kaWr70MoRj0Dih/Z5lzq8kcGtSu\nQJXtPIxdUVwvHy04RmaobVOtzPHCptG8250+f91G4xj2SNRKTCZ4YNYddKbo\nDhgSdowfyNN9B86LhCsgiXJ7psIwjgJflKKFXO6OS5rX4rH64Ao7nznV677c\ndzKYN2KKW/DjV5A+jivUmsFPcGMLEXY0DFzexQRhOwj4TXXXe+5K6aDfwaKY\nU2iJNWP/LT2sfv0McOm3+6cE+UHKmNMB5dQa4OHISp1f+0iOJDCPjYBa+2K+\n4dG2\r\n=ehg6\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"testRegex":"(/__tests__/.*|\\.(test|spec))\\.ts$","transform":{"^.+\\.ts$":"ts-jest"},"collectCoverage":true,"testEnvironment":"node","coverageThreshold":{"global":{"lines":85,"branches":70,"functions":85,"statements":85}},"moduleFileExtensions":["ts","js"],"coveragePathIgnorePatterns":["/node_modules/","/test/","/src/logging.ts"]},"main":"dist/src/index.js","types":"dist/src/index.d.ts","engines":{"node":">=10.7.0"},"gitHead":"8719e77bee222a2b47c915e3988fe951be263460","scripts":{"lint":"tslint  --project tsconfig.json -t codeFrame 'src/**/*.ts' 'test/**/*.ts'","test":"jest --verbose","build":"tsc","prebuild":"rimraf dist","test:prod":"npm run lint && npm run test -- --coverage --no-cache","test:watch":"jest --watch"},"_npmUser":{"name":"malthe","email":"mborch@gmail.com"},"prettier":{"semi":true,"singleQuote":true},"repository":{"url":"git://github.com/malthe/ts-postgres.git","type":"git"},"_npmVersion":"6.4.1","declaration":true,"description":"PostgreSQL client in TypeScript","directories":{},"_nodeVersion":"10.12.0","dependencies":{"ts-typed-events":"^1.1.1"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^22.0.2","colors":"^1.1.2","prompt":"^1.0.0","rimraf":"^2.6.1","tslint":"^5.8.0","ts-jest":"^23.10.2","ts-node":"^6.0.0","prettier":"^1.13.4","typescript":"^3.1.1","@types/jest":"^22.0.0","@types/node":"^10.11.0","lint-staged":"^7.1.3","tslint-config-prettier":"^1.1.0","tslint-config-standard":"^7.0.0"},"minNativeVersion":"2.3.0","_npmOperationalInternal":{"tmp":"tmp/ts-postgres_1.0.0-rc2_1540530800238_0.405590019458133","host":"s3://npm-registry-packages"}},"1.0.0-rc4":{"name":"ts-postgres","version":"1.0.0-rc4","keywords":["database","postgres","postgresql","rdbms"],"author":{"name":"Malthe Borch","email":"mborch@gmail.com"},"license":"MIT","_id":"ts-postgres@1.0.0-rc4","maintainers":[{"name":"malthe","email":"mborch@gmail.com"}],"homepage":"https://github.com/malthe/ts-postgres","bugs":{"url":"https://github.com/malthe/ts-postgres/issues"},"dist":{"shasum":"466a057224396aa9d910d61cf434cfa6090a5b6a","tarball":"https://registry.npmjs.org/ts-postgres/-/ts-postgres-1.0.0-rc4.tgz","fileCount":70,"integrity":"sha512-Q8gCHOAixFQ9dWYp71Og0BBUixWofBeJf6Cg9fgemrx8CFBDubfqeXLBJxtfGCqCsCkEGQUlsRTTvOrWj11FWQ==","signatures":[{"sig":"MEUCIQDk25Xhfb5TgCi07XfnS6KlPAaypKdnVA70k7QXwG9ekQIgX6+O3Zuf599Kv+0vLh79HNYVBAVxgYje8uoGZRqFlNw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":308983,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcEttHCRA9TVsSAnZWagAAAyQQAJbKVzgaGeQgZdjopnyS\nA8U3RSsdcf9UgCth6UnvjLgsE7cJLhSRWYxThIH8RRi8kwmxPIgDnm9xgjl9\npfO+IT2FQaqiKQ5JlaHIZr21hM7EXh7mOFrIZ9hIeqAU0c2e57PBFvRNZg1B\nSeWTcfO42OLoPjcoWAM/980Od2tib/YoGt41+WLj6DQpH8X0zXfVOxmzWVuz\nWbRatDi3dMzZsLByT8vcljtCQki5o1mT5RbUHK3mYsjuazbwVVNLNQ6CBBEk\nsr0SK16XTNIrA/TS2sb+Gtu11xxOnByHcBqAax5E7LrAcgqzZTU5hRFdACP6\ni0yyewPNC72GpdVKUYAI2j0VrQndxpRD3zdMP+edPBYvs2TAxY2ChFYch+ue\n5pxGQ3x3EvEreNrBUTJhAy6fAO6LBpHywrqmt5Xi7Pf++Ppj36qPR4yjpvQM\nLyMm5onEQ+knbeRo+DxkGNWaRbYAJov9kXEnyBRg/jjFZauahQ3zgKe1DWZd\nyVkniRy5QpABFH7/h1XrE/qlyr2z3TyvnTkDzTeAxLwFM7UuH3x8w2dKCRyZ\nyq+zntVrZZChGJaxhGMf6Di/h5YkGqwLaRRjxRUIlNpkvXvBVPJYLSSuVFsp\nyDxvEZTXYwZA/Whfz+pN5rK+cPJZmAj4waI9b+ZxuezC3jO92ojstpQw73li\n/wWX\r\n=tltJ\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"testRegex":"(/__tests__/.*|\\.(test|spec))\\.ts$","transform":{"^.+\\.ts$":"ts-jest"},"collectCoverage":true,"testEnvironment":"node","coverageThreshold":{"global":{"lines":85,"branches":70,"functions":85,"statements":85}},"moduleFileExtensions":["ts","js"],"coveragePathIgnorePatterns":["/node_modules/","/test/","/src/logging.ts"]},"main":"dist/src/index.js","types":"dist/src/index.d.ts","engines":{"node":">=10.7.0"},"scripts":{"lint":"tslint  --project tsconfig.json -t codeFrame 'src/**/*.ts' 'test/**/*.ts'","test":"jest --verbose","build":"tsc","prebuild":"rimraf dist","test:prod":"npm run lint && npm run test -- --coverage --no-cache","test:watch":"jest --watch"},"_npmUser":{"name":"malthe","email":"mborch@gmail.com"},"prettier":{"semi":true,"singleQuote":true},"repository":{"url":"git://github.com/malthe/ts-postgres.git","type":"git"},"_npmVersion":"6.4.1","declaration":true,"description":"PostgreSQL client in TypeScript","directories":{},"_nodeVersion":"11.4.0","dependencies":{"ts-typed-events":"^1.1.1"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^23.6.0","colors":"^1.3.3","prompt":"^1.0.0","rimraf":"^2.6.1","tslint":"^5.11.0","ts-jest":"^23.10.5","ts-node":"^7.0.1","prettier":"^1.13.4","typescript":"^3.2.2","@types/jest":"^22.0.0","@types/node":"^10.11.0","lint-staged":"^7.1.3","tslint-config-prettier":"^1.1.0","tslint-config-standard":"^7.0.0"},"minNativeVersion":"2.3.0","_npmOperationalInternal":{"tmp":"tmp/ts-postgres_1.0.0-rc4_1544739654877_0.16410317398411145","host":"s3://npm-registry-packages"}},"1.0.0-rc5":{"name":"ts-postgres","version":"1.0.0-rc5","keywords":["database","postgres","postgresql","rdbms"],"author":{"name":"Malthe Borch","email":"mborch@gmail.com"},"license":"MIT","_id":"ts-postgres@1.0.0-rc5","maintainers":[{"name":"malthe","email":"mborch@gmail.com"}],"homepage":"https://github.com/malthe/ts-postgres","bugs":{"url":"https://github.com/malthe/ts-postgres/issues"},"dist":{"shasum":"689512f7061dc5356e648d97c3ae83499b29f1a8","tarball":"https://registry.npmjs.org/ts-postgres/-/ts-postgres-1.0.0-rc5.tgz","fileCount":70,"integrity":"sha512-nUyRtLYYSQR4rMto+OVUpuqfPwmdKz1RpvY0EUaedw4CvLydGYDK/RCdf0bJzuYbwQDT919fomLPly+NuZEsOQ==","signatures":[{"sig":"MEQCIDJZecULeGaU+SFV1zQOBin4ChHtEOJPbh+beExifBGiAiBrv/h9jjfxejKPCozImolEDAeN6bJUlxj51D0Wv8mZUg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":313263,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcGX9xCRA9TVsSAnZWagAAnAUP/3OVcZQGAiS9a0vGpNr6\nLGN3iGKsIzB8zS94MLws/gxgmLyj5SxEOu5XhQkvEC3Icmio9gZv9MoU8I5B\n3n6ypiqnGdusYiMNA9z8yLhgp9DZYlioXB3NJ9GVMYbUfOEJ0pHrXIS9PIhk\n+1f3UJFC0KZbZP1m7I/HlNLA8b7w/FDYYp87iTltD9IM4VeQ8pWaZajMovLS\nR/2xIqvHHV8fOYAFQnov3g64XG6MOxkUIofwy78TWkMvIYujgDUOznus7o9i\nSALge0gcYSBeUnjpoEjjevQu1C99/AZgpfXj9rlSGCGBdUHv2giE1gOYZaHH\n1zRH9f2pd4YtgrZA62P7WMF0bZeQ5/Q/5Vmlb6P8ePH9mWs84FVWBR2noVdG\nggyvDvb//OT73Hbv2xvCbs+xUX7J4oSh1wWPzU3PnmQ3np70I+77O+sAEgEz\njbasX6i5pQwqg5kiC/5MIFM7s9dtE3bsrWRmyI0s5jUIRII+TrUleojOO06i\nYkZgrc6HkNLqFIYpPqS75Xo+foZ5ICEoT0PM5dqnal2Bs9fAmNdmQMrd1b59\nw0Sje7hYjMUXtAptHBGDZNyehsvEjvEYPA/OOPJC2L3IC5Rvq7dPiVC4YG3H\nf+Z8GU/M2+7LpqlCDwN0iGHAd+usPE9A+MiF5pCugsg9THJRbrYiMWdljZFK\neo1K\r\n=7hlK\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"testRegex":"(/__tests__/.*|\\.(test|spec))\\.ts$","transform":{"^.+\\.ts$":"ts-jest"},"collectCoverage":true,"testEnvironment":"node","coverageThreshold":{"global":{"lines":85,"branches":70,"functions":85,"statements":85}},"moduleFileExtensions":["ts","js"],"coveragePathIgnorePatterns":["/node_modules/","/test/","/src/logging.ts"]},"main":"dist/src/index.js","types":"dist/src/index.d.ts","engines":{"node":">=10.7.0"},"scripts":{"lint":"tslint  --project tsconfig.json -t codeFrame 'src/**/*.ts' 'test/**/*.ts'","test":"jest --verbose","build":"tsc","prebuild":"rimraf dist","test:prod":"npm run lint && npm run test -- --coverage --no-cache","test:watch":"jest --watch"},"_npmUser":{"name":"malthe","email":"mborch@gmail.com"},"prettier":{"semi":true,"singleQuote":true},"repository":{"url":"git://github.com/malthe/ts-postgres.git","type":"git"},"_npmVersion":"6.4.1","declaration":true,"description":"PostgreSQL client in TypeScript","directories":{},"_nodeVersion":"11.4.0","dependencies":{"ts-typed-events":"^1.1.1"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^23.6.0","colors":"^1.3.3","prompt":"^1.0.0","rimraf":"^2.6.1","tslint":"^5.11.0","ts-jest":"^23.10.5","ts-node":"^7.0.1","prettier":"^1.13.4","typescript":"^3.2.2","@types/jest":"^22.0.0","@types/node":"^10.11.0","lint-staged":"^7.1.3","tslint-config-prettier":"^1.1.0","tslint-config-standard":"^7.0.0"},"minNativeVersion":"2.3.0","_npmOperationalInternal":{"tmp":"tmp/ts-postgres_1.0.0-rc5_1545174896484_0.3342280632960044","host":"s3://npm-registry-packages"}},"1.0.0":{"name":"ts-postgres","version":"1.0.0","keywords":["database","postgres","postgresql","rdbms"],"author":{"name":"Malthe Borch","email":"mborch@gmail.com"},"license":"MIT","_id":"ts-postgres@1.0.0","maintainers":[{"name":"malthe","email":"mborch@gmail.com"}],"homepage":"https://github.com/malthe/ts-postgres","bugs":{"url":"https://github.com/malthe/ts-postgres/issues"},"dist":{"shasum":"75abe91f6e7e94ddd2e13979704c7ea205c3dde9","tarball":"https://registry.npmjs.org/ts-postgres/-/ts-postgres-1.0.0.tgz","fileCount":71,"integrity":"sha512-PDonTgdkksRqxOae4gyNZ4q19EUjQSbdpx0Bfhdzo4N6JVTp7/9o7oMlvKEjIgdyk9w+/itLZbdwgMPRoIkqvQ==","signatures":[{"sig":"MEYCIQC1sUBQUkZCSverXNlR6DJLlt+N4BZzEs0cl6UBPN4B3wIhAM3K24Is0dEsWeUEiM0u32uoYZvow/d5UjvVfG/YMxg4","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":316441,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcNJjiCRA9TVsSAnZWagAAkx8P/iDhDhXsxxkZtsC8nvRr\n3yfpMfb1chXjzcUxmCi9H7/htxfTf+4p5Ld5///zN9p/m6ZBi5htW13aVXB+\nOAVzbcSAPGyAP3sCoxs/eO86ZegdC32ohgNulN+jb82KFMkgqW6QcqeQ5UV2\nCSMfvJfgK6TEFpWdachgXUPXaJMnC8opdvoAyRKtTfjAYQDAGiOqaHsIAGGF\nlK8G0sjyX4o7fQrWQcpq730Y4W9HxPcis1qoQQboarTYD3171nI6sST7wN32\nvBWKCH8bYGlqWWpjWoeCpJ9s+Vy6Vo88BZA7CYvwk3+UZZ8UEHZ7wZOgCpOa\nRLvxR43KZ3bDiLor7a/lLEc/3Ya7P0cMND8X5byX12yphsNrVzJgw2dZb4g2\nl7to92LB13YsvOc9mvLIMqv9qLvs7bs88sZinWKm2iHBUItz+X8G6Wt92j9b\nFrsE2U1B5hJFs8uIOorkeOwXie5vENiUXBnyq963k+cw9vxGlw9eH5L0iOlQ\n5RCky28RUJuqgawFKKo2DNxnrXED0l+fBC1hzihaBcce24Oc5oatEf1NHnh5\nhaKyRqxbXCFA7y/iZJ6HcoGItFEPDIfXl2fQzd2Fxw93SH0Jg7clyQWMFqmy\nU/ysitpTaDCef3M8qZMeus0TDORmbLDGHTpn+2kcuTrCpQ++LMwhOBBgKm0y\nUp97\r\n=HHyP\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"ts-jest","collectCoverage":true,"testEnvironment":"node","coverageThreshold":{"global":{"lines":85,"branches":70,"functions":85,"statements":85}},"coveragePathIgnorePatterns":["/node_modules/","/test/","/src/logging.ts"]},"main":"dist/src/index.js","types":"dist/src/index.d.ts","engines":{"node":">=10.7.0"},"scripts":{"lint":"tslint  --project tsconfig.json -t codeFrame 'src/**/*.ts' 'test/**/*.ts'","test":"jest --verbose","build":"tsc","prebuild":"rimraf dist","test:prod":"npm run lint && npm run test -- --coverage --no-cache","test:watch":"jest --watch"},"_npmUser":{"name":"malthe","email":"mborch@gmail.com"},"prettier":{"semi":true,"singleQuote":true},"repository":{"url":"git://github.com/malthe/ts-postgres.git","type":"git"},"_npmVersion":"6.5.0","declaration":true,"description":"PostgreSQL client in TypeScript","directories":{},"_nodeVersion":"11.6.0","dependencies":{"ts-typed-events":"^1.1.1"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^23.6.0","colors":"^1.3.3","prompt":"^1.0.0","rimraf":"^2.6.1","tslint":"^5.11.0","ts-jest":"^23.10.5","ts-node":"^7.0.1","prettier":"^1.13.4","typescript":"^3.2.2","@types/jest":"^22.0.0","@types/node":"^10.11.0","lint-staged":"^7.1.3","tslint-config-prettier":"^1.1.0","tslint-config-standard":"^7.0.0"},"minNativeVersion":"2.3.0","_npmOperationalInternal":{"tmp":"tmp/ts-postgres_1.0.0_1546950881518_0.3092118062377194","host":"s3://npm-registry-packages"}},"1.0.1":{"name":"ts-postgres","version":"1.0.1","keywords":["database","postgres","postgresql","rdbms"],"author":{"name":"Malthe Borch","email":"mborch@gmail.com"},"license":"MIT","_id":"ts-postgres@1.0.1","maintainers":[{"name":"malthe","email":"mborch@gmail.com"}],"homepage":"https://github.com/malthe/ts-postgres","bugs":{"url":"https://github.com/malthe/ts-postgres/issues"},"dist":{"shasum":"806581bd53d44e4de5326ef4340f2a6ca23ce939","tarball":"https://registry.npmjs.org/ts-postgres/-/ts-postgres-1.0.1.tgz","fileCount":64,"integrity":"sha512-XuHoikQZsSnBzNzEvCxLgD7KxwZeQyh01hBo5tABKpQBSCUyB2FNmmEGf5LXXGYxUImy+89P1633P600I7owSA==","signatures":[{"sig":"MEYCIQDfPYIlYbd4UEq6R0tscCXvgw6cHzupIHjlTDN9J5qM+wIhAJIzP2ZvThI2yA9+SaR2JnEbdB0Z0lQkasQrsXOt55Hj","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":295629,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcOw7ACRA9TVsSAnZWagAAJsUP/RlR/s+Kg8HXvjoyNKny\nelKRAY0MZ25auwZbKJ1yGQs7drKaAnLz/2wxIUwA94EEmoitFm8IN0c4mPe0\ngdCEWjHoEKbcIG4kDbTld/xnvU9kjt+S0Ttl6ptthAOfzEvLqCR0I86s7X3t\nLhnfCC0lHd9GDFI1923iypwtfO9Z3p7DjF2xTiin8lz2tg6rKxWnfNkw7mxC\n+o4vgtwmP/WvgJkR6zjj179Ei0ZUXqM+B80/S2wP7N0hP3lq05JGgssH1txc\nGq34Zj+0aWKpU2IbMRgsrunw8a73lD73pyVQahohRPTLKGrAClY49aUqGJk4\npupKy26DlQEndRQP7huWKPG6qi1FkYPjHEGVNwNlTvpUB2dYTmf/L3Lb/3WR\n/KOc7MdLtNr5Q3eeghKfDePRwWS2mC4TwH8sQsWJn2H++f7L9UMAFnkH2B57\n8HGgjOM8XyJ60M/x7qDlJpkpaLmaxegeqiLpfXGBUETtTY/rdyWWPlRBxg0z\nzUZx1POaYNnE6uP3J+N6CSduqxyx6rGtQ1vrd5gwJiN0ks83zwsB/q8QNZcP\n+BkJrMtSMsWzgZArreX2vx0J3fJPBUMrejKvQA25MX0xuAnnaUrhhIR+BBGu\n0vvV2vuJ/QwfKBeew1FcQrJZuAnC7GiGgkXS0PjoL8NrC7nvd4l8QVh5R0Jj\nnM9V\r\n=PfRv\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"ts-jest","collectCoverage":true,"testEnvironment":"node","coverageThreshold":{"global":{"lines":85,"branches":70,"functions":85,"statements":85}},"coveragePathIgnorePatterns":["/node_modules/","/test/","/src/logging.ts"]},"main":"dist/src/index.js","types":"dist/src/index.d.ts","engines":{"node":">=10.7.0"},"gitHead":"d6ad6f8b87524383cc98495c4f6badbea78dced1","scripts":{"lint":"tslint  --project tsconfig.json -t codeFrame 'src/**/*.ts' 'test/**/*.ts'","test":"jest --verbose","build":"tsc","prebuild":"rimraf dist","test:prod":"npm run lint && npm run test -- --coverage --no-cache","test:watch":"jest --watch"},"_npmUser":{"name":"malthe","email":"mborch@gmail.com"},"prettier":{"semi":true,"singleQuote":true},"repository":{"url":"git://github.com/malthe/ts-postgres.git","type":"git"},"_npmVersion":"6.5.0","declaration":true,"description":"PostgreSQL client in TypeScript","directories":{},"_nodeVersion":"11.6.0","dependencies":{"ts-typed-events":"^1.1.1"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^23.6.0","colors":"^1.3.3","prompt":"^1.0.0","rimraf":"^2.6.1","tslint":"^5.11.0","ts-jest":"^23.10.5","ts-node":"^7.0.1","prettier":"^1.13.4","typescript":"^3.2.2","@types/jest":"^22.0.0","@types/node":"^10.11.0","lint-staged":"^7.1.3","tslint-config-prettier":"^1.1.0","tslint-config-standard":"^7.0.0"},"minNativeVersion":"2.3.0","_npmOperationalInternal":{"tmp":"tmp/ts-postgres_1.0.1_1547374271440_0.6069882591226268","host":"s3://npm-registry-packages"}},"1.0.2":{"name":"ts-postgres","version":"1.0.2","keywords":["database","postgres","postgresql","rdbms"],"author":{"name":"Malthe Borch","email":"mborch@gmail.com"},"license":"MIT","_id":"ts-postgres@1.0.2","maintainers":[{"name":"malthe","email":"mborch@gmail.com"}],"homepage":"https://github.com/malthe/ts-postgres","bugs":{"url":"https://github.com/malthe/ts-postgres/issues"},"dist":{"shasum":"e1410ad75181ef95967bdacef6aaa0e61a3aecdd","tarball":"https://registry.npmjs.org/ts-postgres/-/ts-postgres-1.0.2.tgz","fileCount":64,"integrity":"sha512-WdCth7Q00KrcL2FwxiQq5FM2aUFa2fXqrcOssd537zb8RPa1omhtIZ6Jpi2oL2GjqXEADqar3YPQ4OUbIzjESA==","signatures":[{"sig":"MEYCIQD8gEUsHNXzRO5EQLZDlX97x4qTAc19y8v1Nfoqmk0LNgIhAIARKv/OWLEG5VTAXCk73CViXyistwveJTKJgOrvANH/","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":299344,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcXW37CRA9TVsSAnZWagAAgOMP+wfEtzzn1UdtHqvKYYpG\n1pq0gK4uw5xkvsbUrmfoh2kcvS/b1V9Fw5IxQNJlieso3/bYVYlp9/CfXwzy\nAxu8/uZ/juJ2vbKKI5koRCWeRBXGl9GnmH/RT+bgHW/8eRYf7lsrBIBNmcne\n3U8Z73GcipD8xndLub1HcD6bMj4mzjSb7E++DZor/wG5alw/eXQleoGGq3G5\neMBndFQcAKX2jVHkSjCUhoQLK1XuO/gnjeGZ9vpWFsgdw6E5cg4B5prhgjsC\nxFX4bwW4mU4HHe0Y5NNsu2YFUlGXzM5SePlIWKAZigzsrJi6Du4HrQEv+cSC\n1vfb6SF/1Vjv4fgomws2MPStqqb2+NARvBA0/0KXpxrRYHMScKVvJFPOfEEi\n2LyEa+EXs0yIBY/+rfq2/+TQ/VhWguyHka8GDLGzFejhzsBUHkGDFFilYuWC\nsq1Kno2lB6OaN39iaKEyVAhCeOL+TiVUY4VD79E+E1TVicJaip8xH4kH/JXF\n05Ed1UIVPsa8aHHl16LA0XrSA76Gs7W5SCMtB2G89L6atjl5B8C2rrPffoRN\naIgRSYKXVR2F4QeF1Z21k7oR1+WLslf22JCbm9YE0ZpmT4Dt9LxiNqeYgqS+\nZdWEWiVaxGwYYG2HQdDJ8l+cCj87dTD0tzh3s4ZU0Wvu/IKaXiBA0g6jwLum\nDvDN\r\n=3qVa\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"ts-jest","collectCoverage":true,"testEnvironment":"node","coverageThreshold":{"global":{"lines":85,"branches":70,"functions":85,"statements":85}},"coveragePathIgnorePatterns":["/node_modules/","/test/","/src/logging.ts"]},"main":"dist/src/index.js","types":"dist/src/index.d.ts","engines":{"node":">=10.7.0"},"scripts":{"lint":"tslint  --project tsconfig.json -t codeFrame 'src/**/*.ts' 'test/**/*.ts'","test":"jest --verbose","build":"tsc","prebuild":"rimraf dist","test:prod":"npm run lint && npm run test -- --coverage --no-cache","test:watch":"jest --watch"},"_npmUser":{"name":"malthe","email":"mborch@gmail.com"},"prettier":{"semi":true,"singleQuote":true},"repository":{"url":"git://github.com/malthe/ts-postgres.git","type":"git"},"_npmVersion":"6.5.0","declaration":true,"description":"PostgreSQL client in TypeScript","directories":{},"_nodeVersion":"11.9.0","dependencies":{"ts-typed-events":"^1.1.1"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^23.6.0","colors":"^1.3.3","prompt":"^1.0.0","rimraf":"^2.6.1","tslint":"^5.11.0","ts-jest":"^23.10.5","ts-node":"^7.0.1","prettier":"^1.13.4","typescript":"^3.2.2","@types/jest":"^22.0.0","@types/node":"^10.11.0","lint-staged":"^7.1.3","tslint-config-prettier":"^1.1.0","tslint-config-standard":"^7.0.0"},"minNativeVersion":"2.3.0","_npmOperationalInternal":{"tmp":"tmp/ts-postgres_1.0.2_1549626875046_0.3925562540485914","host":"s3://npm-registry-packages"}},"1.1.0":{"name":"ts-postgres","version":"1.1.0","keywords":["database","postgres","postgresql","rdbms"],"author":{"name":"Malthe Borch","email":"mborch@gmail.com"},"license":"MIT","_id":"ts-postgres@1.1.0","maintainers":[{"name":"malthe","email":"mborch@gmail.com"}],"homepage":"https://github.com/malthe/ts-postgres","bugs":{"url":"https://github.com/malthe/ts-postgres/issues"},"dist":{"shasum":"03a6391980f55f65aa3448e8f0fb0a03893edb1c","tarball":"https://registry.npmjs.org/ts-postgres/-/ts-postgres-1.1.0.tgz","fileCount":64,"integrity":"sha512-POEX+ovAPWyvGqXwBV/xFBJ0Km7sOyfCHjxDMkFIEN3XyzLmEEwPeJM+84SH9kkcDY4Use3senRa7+kkAuDaNQ==","signatures":[{"sig":"MEUCIQCoJThH158FFPg22T8iSgpa3JWxuXKUD3GnvHmykQ24vgIgEnQjgkfeU6ZmyHRo16BK8Od4Y29FUe6TvhaDCcAP9t0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":306994,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdEGgHCRA9TVsSAnZWagAAVEEP/A6VATXTDebI+wYn3fPT\n2jVH017OaQp3bUK4Ubj/MQ8CAJUWXHKrlvkZuLYRLpzRuj2xZaIQqW2arM26\n3PgpUkogFA/rJ1tcGc597R6WHgi0BFjVELZa2YkjpqDdmlCcgMfVEfrN2XUe\nKWKqwQ0KyRVIlQfDBjRl4THsPUel+Th7jwbX55kzHXbeEJ0mwzCjHdVaBdjB\n9kABSQbHikeN+m4eaO0Vo4UF6gNiQ8sNA04epCr28+Ni92J915s8A0o3j2DR\n0TiftpsBZxfTBuCZ7WCMC7mQ5E51AaE0E7HCgfZYGEyDvFpmu+2fqdoPylEJ\nv27PV1xvwStq+lokACpnLLmt5YkvemANdCltd5VhaWnjvGN8A4kMVOVH1ipB\niyJQk8o9NAH42/1TXYUC3gt0xgU/FyPAwIqTlM9k8sacCa9wWajTjrBqgAks\njwfjUA/h5Ck24H2zGyaZptw4i7wgi5mcIneo2xEzkm9E0/vhvyuvIPRk+BWh\nm7N6djKEQESG0svJNPhE25sKJiH5pwpBBMFrcL58LEJeWmLgz4BWswJJDUUa\nuoqHwrAewHg6zKJXMM8DCVbjYHRfcS53zq1CQdouZT6h97kcLLLOEBgzYjq6\nrEK6LQf4D1HmQWrOPM5CjxZhN+p6lRYeAqLHtv+hvVrloly5kUq5266jl85s\n6H37\r\n=y/13\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"ts-jest","collectCoverage":true,"testEnvironment":"node","coverageThreshold":{"global":{"lines":85,"branches":70,"functions":85,"statements":85}},"coveragePathIgnorePatterns":["/node_modules/","/test/","/src/logging.ts"]},"main":"dist/src/index.js","types":"dist/src/index.d.ts","engines":{"node":">=10.7.0"},"gitHead":"f3eec2ba03f30337348f7eb3d5caac1cf54a269e","scripts":{"lint":"tslint  --project tsconfig.json -t codeFrame 'src/**/*.ts' 'test/**/*.ts'","test":"jest --verbose","build":"tsc","prebuild":"rimraf dist","test:prod":"npm run lint && npm run test -- --coverage --no-cache","test:watch":"jest --watch"},"_npmUser":{"name":"malthe","email":"mborch@gmail.com"},"prettier":{"semi":true,"singleQuote":true},"repository":{"url":"git://github.com/malthe/ts-postgres.git","type":"git"},"_npmVersion":"6.9.0","declaration":true,"description":"PostgreSQL client in TypeScript","directories":{},"_nodeVersion":"12.4.0","dependencies":{"ts-typed-events":"^1.1.1"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^23.6.0","colors":"^1.3.3","prompt":"^1.0.0","rimraf":"^2.6.1","tslint":"^5.11.0","ts-jest":"^23.10.5","ts-node":"^7.0.1","prettier":"^1.13.4","typescript":"^3.2.2","@types/jest":"^22.0.0","@types/node":"^10.11.0","lint-staged":"^7.1.3","tslint-config-prettier":"^1.1.0","tslint-config-standard":"^7.0.0"},"minNativeVersion":"2.3.0","_npmOperationalInternal":{"tmp":"tmp/ts-postgres_1.1.0_1561356295154_0.35071178398638403","host":"s3://npm-registry-packages"}},"1.1.1":{"name":"ts-postgres","version":"1.1.1","keywords":["database","postgres","postgresql","rdbms"],"author":{"name":"Malthe Borch","email":"mborch@gmail.com"},"license":"MIT","_id":"ts-postgres@1.1.1","maintainers":[{"name":"malthe","email":"mborch@gmail.com"}],"homepage":"https://github.com/malthe/ts-postgres","bugs":{"url":"https://github.com/malthe/ts-postgres/issues"},"dist":{"shasum":"088cd9f3d3c8c9554303958123760476668275a5","tarball":"https://registry.npmjs.org/ts-postgres/-/ts-postgres-1.1.1.tgz","fileCount":64,"integrity":"sha512-M8LXP6o55cXzWhyZBw7pZCCGn4j6Bk1ejgN35lxf2IPIJAm21lusiC6v43T6TfGrsJWg6h59y9AGkfz10GLRTQ==","signatures":[{"sig":"MEYCIQDam83OzKlHN88jgNe0YKChqYeuO34ImAX+yr202Iez3AIhANvFEfDxFAWOFNijgD1Sq9HcL4VIIBWHoxxez6V1MH5X","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":309804,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd6s5jCRA9TVsSAnZWagAA+k8P/0engwmr2zR2pXG4e+fp\n7BJT5DTUTpTeXR7V+jHkpVVd1jQgLD1UEwP9ibXDz2vcphMHVP6Amw1s5WQ9\nwNUNm4JmSV54Fwo//s5NBgq0eUjgrjqRSU77EFxgGlKtaXuNlG25CBBaNtyK\nkZiJi80bVlGVEOi/2psUGm5dDBE+8S2on5BKNKynhnXGUXFS1CcQ6GQssL/M\n/SpLYjQP0p/KLzs/TrP75KX//vpxP5XsEBspmmiFZYliJ26yNu9ad1gXgVGt\nRDluRfT4q2H+qAkTNAxRxoVjZicBJ33I3Gqn0PESdMpmPYUMG6x0UfAXYspc\nzbwdS6uv12Y1/0u8/nFDcjiyBBuk329gMu1ilFezb8DBqEAvyUinZUxI3vgR\nDmEaJ6TWRumDfkQsJNwsj+E+zzdd+gya3JogfvfsQF36JxFDelpHknT4IXgd\nBJnKZIDBMj4g5PfM4r+WnjAnzgV6clS+2Iu7z/pGhtoiJYibj6Y9YHAWbDC3\n6FVKPappGUwnyMHgP+hOekZ4pLQnShoJ/MyYGaV+rNITeUcZYHKe+IOiZ6lt\n410NJdHlLZ8tnbOsH8aKmuBvfAEe5ErlxJ2Y6iiwMUjcje7jh//QSmxsjg4k\nYsgwumAfeP7tkZnrHel4NPPTQh0M2mAVNvnI/spQ4/rnr8RrTnibUnxlAAgW\n8BFH\r\n=IlIy\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"ts-jest","collectCoverage":true,"testEnvironment":"node","coverageThreshold":{"global":{"lines":85,"branches":70,"functions":85,"statements":85}},"coveragePathIgnorePatterns":["/node_modules/","/test/","/src/logging.ts"]},"main":"dist/src/index.js","types":"dist/src/index.d.ts","engines":{"node":">=10.7.0"},"gitHead":"d9bd931d1727ecaf8839385982a9d4163a78d3c3","scripts":{"lint":"tslint  --project tsconfig.json -t codeFrame 'src/**/*.ts' 'test/**/*.ts'","test":"jest --verbose","build":"tsc","prebuild":"rimraf dist","test:prod":"npm run lint && npm run test -- --coverage --no-cache","test:watch":"jest --watch"},"_npmUser":{"name":"malthe","email":"mborch@gmail.com"},"prettier":{"semi":true,"singleQuote":true},"repository":{"url":"git://github.com/malthe/ts-postgres.git","type":"git"},"_npmVersion":"6.12.1","declaration":true,"description":"PostgreSQL client in TypeScript","directories":{},"_nodeVersion":"13.1.0","dependencies":{"ts-typed-events":"^1.1.1"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^24.9.0","colors":"^1.4.0","prompt":"^1.0.0","rimraf":"^2.7.1","tslint":"^5.20.1","ts-jest":"^24.2.0","ts-node":"^8.5.4","prettier":"^1.19.1","typescript":"^3.6.3","@types/jest":"^24.0.23","@types/node":"^12.12.14","lint-staged":"^9.5.0","tslint-config-prettier":"^1.18.0","tslint-config-standard":"^8.0.1"},"minNativeVersion":"2.3.0","_npmOperationalInternal":{"tmp":"tmp/ts-postgres_1.1.1_1575669346858_0.934491378315615","host":"s3://npm-registry-packages"}},"1.1.2":{"name":"ts-postgres","version":"1.1.2","keywords":["database","postgres","postgresql","rdbms"],"author":{"name":"Malthe Borch","email":"mborch@gmail.com"},"license":"MIT","_id":"ts-postgres@1.1.2","maintainers":[{"name":"malthe","email":"mborch@gmail.com"}],"homepage":"https://github.com/malthe/ts-postgres","bugs":{"url":"https://github.com/malthe/ts-postgres/issues"},"dist":{"shasum":"da5addc2a47f9aa359950573aa092bffb5d57b30","tarball":"https://registry.npmjs.org/ts-postgres/-/ts-postgres-1.1.2.tgz","fileCount":64,"integrity":"sha512-jRhvUUsQHvh6dpNUfEYD23hNSK2C++sG7gwndrwjleBQ3fBQZKhM0PIi0lfUeUD4y087gYeWKE3i00L++2FFdw==","signatures":[{"sig":"MEUCIQDvRi+pn4+Ph05EMnlFbKJHO8lGedASCxOg/hpmaokJVgIgalIpSwdoVkvEhaQrP6EleNQAy/GyDmcTLfC/+TDduHg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":314082,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeBw0PCRA9TVsSAnZWagAAfNkP/R7lWjJgEX3gLI0Hit2c\nSMsblGmthTanyGx/ApMBkQpOLsZaPFDcXYWFfeUnKwNPw3t0MLbSwlfjxMdg\ny/ZxaWfgI5U08mxIl0sOWWUr/MEH/iqJlly5TXfMtcK/AxhKyoRn2TOY4by9\nxnJ1zx5/a3/iwJtUps5i27tqrwvjf/+Dez+rhpag9ZWfCyZnPeZGqOoiJNRW\nKctISnDT1SWoxTxzHBFuZqRSKBX6Kl2781ddYhLw/LKWAqOFHypSf4KvwXxE\ncZf8iW9La0cqlviEOj15huyTki0upeijq4L6eGrByVk1/k4DUC3gibq/rF8r\nIVvjP13zZ+xdlwNDCtkTUw1RyCE65RJdjEvfveqVlMEzqjhFgPHADuKUHkcp\nJbKHGX+Gi9K30wegWcjATVPeZ8ECy1Nl2E58tdFB6wmDVBcofdRts7DVdSg+\nugELF3RASjRcrjXY0pcO7TmsE6lENC8dFs3ET2nV0IYcKXD2KXdevGeRTfXQ\nsfwReDOLLPVIxSLSeqB2rsVXsfyUTbGctyvnaNnDxyNVnxsoVofpplqcK9D4\nj0cmgODYhJnSWk6h0JZmG7uEGucY/MhKqAUSp8jPAs8dKI20SbMoen1GTZGx\nm7xvATgBd0vuTaYqk59uFr3I5nXyWO5ZWBcINqk4K4f2UtOYzNKUNiXPjwh5\no1RP\r\n=2fnv\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"ts-jest","collectCoverage":true,"testEnvironment":"node","coverageThreshold":{"global":{"lines":85,"branches":70,"functions":80,"statements":85}},"coveragePathIgnorePatterns":["/node_modules/","/test/","/src/logging.ts"]},"main":"dist/src/index.js","types":"dist/src/index.d.ts","engines":{"node":">=10.7.0"},"gitHead":"6710393518d622e5a90224797770aa61a9a9edfc","scripts":{"lint":"tslint  --project tsconfig.json -t codeFrame 'src/**/*.ts' 'test/**/*.ts'","test":"jest --verbose","build":"tsc","prebuild":"rimraf dist","test:prod":"npm run lint && npm run test -- --coverage --no-cache","test:watch":"jest --watch"},"_npmUser":{"name":"malthe","email":"mborch@gmail.com"},"prettier":{"semi":true,"singleQuote":true},"repository":{"url":"git://github.com/malthe/ts-postgres.git","type":"git"},"_npmVersion":"6.13.1","declaration":true,"description":"PostgreSQL client in TypeScript","directories":{},"_nodeVersion":"13.2.0","dependencies":{"ts-typed-events":"^1.1.1"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^24.9.0","colors":"^1.4.0","prompt":"^1.0.0","rimraf":"^2.7.1","tslint":"^5.20.1","ts-jest":"^24.2.0","ts-node":"^8.5.4","prettier":"^1.19.1","typescript":"^3.6.3","@types/jest":"^24.0.23","@types/node":"^12.12.14","lint-staged":"^9.5.0","tslint-config-prettier":"^1.18.0","tslint-config-standard":"^8.0.1"},"minNativeVersion":"2.3.0","_npmOperationalInternal":{"tmp":"tmp/ts-postgres_1.1.2_1577520399075_0.3692022958689001","host":"s3://npm-registry-packages"}},"1.1.3":{"name":"ts-postgres","version":"1.1.3","keywords":["database","postgres","postgresql","rdbms"],"author":{"name":"Malthe Borch","email":"mborch@gmail.com"},"license":"MIT","_id":"ts-postgres@1.1.3","maintainers":[{"name":"malthe","email":"mborch@gmail.com"}],"homepage":"https://github.com/malthe/ts-postgres","bugs":{"url":"https://github.com/malthe/ts-postgres/issues"},"dist":{"shasum":"d848d843a9c61445cdc553af5ef8974d13bebd84","tarball":"https://registry.npmjs.org/ts-postgres/-/ts-postgres-1.1.3.tgz","fileCount":64,"integrity":"sha512-T7Ibw5bZ5Bpf2dH3h44Xp0tigSYnZbgl6DdvJuwQKEOxqFPiTXPZGal+KyCLCNmOgcGOP15iYdbu7J6siMdm8w==","signatures":[{"sig":"MEUCIGs54ONmhxINcxEnXM5+KXCMniIwKMweqky/h3Bfoga2AiEAggfUimoHg26Y9679V475yWrzk8G3QKLEG62ZvOeMz0g=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":319721,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeUkzaCRA9TVsSAnZWagAAGIQP/RJX1HJYRvtEEaRs9bYx\n0vg4Jj/pIi9/4liNBWdlbM4m1JKq9CRMslh1YZA2u8NErQGzVmOs8p97Wmjt\nwdHBeEBLTvpE0lYPzTiJEuv06wa3Sh9NogOHAV3ffhTRd96LANfyyoD7Tahh\nntuKlzpyauu5ICqK7EGoXyzGdsPvmQ1AIpBOEa56uTlbVWHnxmYB+GrVegSU\nXTyxyh5WBvXMdrXZIeZ1x0UmBsGof2HLzOuNawASClQDZJiYKWaZcVb6JyxB\nQLZBr0Vl/KE6XxsB7yIJp1ZgzzL+t0vGEJI4UucIUYfu5sZUtH2DGfnnIUJ7\nk2fHUBBEsAE1aU7x9bYU/ds6+J2h6flQofqCGwF+tvjsjG3u+mbtQoedSpU/\nWGgUivrJ/GHMVtfZTRdTRBHQegI8hu6CYaKZDxqJ4XD21DAz4unvkNv/4ia/\nRoT9/iVcKgr7B+dvM6dX539L0uO729orlJ0EpgZZ/Iat9hngN15RW4yBnJiR\nye8oF45FPxEbM2TNZvXMDKuS8TAGN41RELkiQJ1HF/LJR1I/Oa9U3F3U72yU\njWYp3WD6CUwUL9LRdSxvMJTqIiGvenoAPWu05SYq2c3iiMHYSjL8EF5wnA9+\nXNHbSr4Jb6ZiC6x8X/aNqm7MbwABilzX3SyfOnqmnuPTpTtDS8Wr66lM+Y7E\n5uiT\r\n=YR6K\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"ts-jest","collectCoverage":true,"testEnvironment":"node","coverageThreshold":{"global":{"lines":85,"branches":70,"functions":80,"statements":85}},"coveragePathIgnorePatterns":["/node_modules/","/test/","/src/logging.ts"]},"main":"dist/src/index.js","types":"dist/src/index.d.ts","engines":{"node":">=10.7.0"},"gitHead":"72e3d025831ac72736fc5df5d79fa229cdd40a30","scripts":{"lint":"tslint  --project tsconfig.json -t codeFrame 'src/**/*.ts' 'test/**/*.ts'","test":"jest --verbose","build":"tsc","prebuild":"rimraf dist","test:prod":"npm run lint && npm run test -- --coverage --no-cache","test:watch":"jest --watch"},"_npmUser":{"name":"malthe","email":"mborch@gmail.com"},"prettier":{"semi":true,"singleQuote":true},"repository":{"url":"git://github.com/malthe/ts-postgres.git","type":"git"},"_npmVersion":"6.13.1","declaration":true,"description":"PostgreSQL client in TypeScript","directories":{},"_nodeVersion":"13.2.0","dependencies":{"ts-typed-events":"^1.1.1"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^24.9.0","colors":"^1.4.0","prompt":"^1.0.0","rimraf":"^2.7.1","tslint":"^5.20.1","ts-jest":"^24.2.0","ts-node":"^8.5.4","prettier":"^1.19.1","typescript":"^3.6.3","@types/jest":"^24.0.23","@types/node":"^12.12.14","lint-staged":"^9.5.0","tslint-config-prettier":"^1.18.0","tslint-config-standard":"^8.0.1"},"minNativeVersion":"2.3.0","_npmOperationalInternal":{"tmp":"tmp/ts-postgres_1.1.3_1582451930065_0.6201201146673723","host":"s3://npm-registry-packages"}},"1.2.0":{"name":"ts-postgres","version":"1.2.0","keywords":["database","postgres","postgresql","rdbms"],"author":{"name":"Malthe Borch","email":"mborch@gmail.com"},"license":"MIT","_id":"ts-postgres@1.2.0","maintainers":[{"name":"malthe","email":"mborch@gmail.com"}],"homepage":"https://github.com/malthe/ts-postgres","bugs":{"url":"https://github.com/malthe/ts-postgres/issues"},"dist":{"shasum":"893797e70b0ce73730bffa8bba2556b144aae69f","tarball":"https://registry.npmjs.org/ts-postgres/-/ts-postgres-1.2.0.tgz","fileCount":51,"integrity":"sha512-Z09EkStjlzJ601dVffXa0ZP5Sc5NUOsBKR8BfCZjOyxSHEbBy99kzIXWvF7VaLcmtrSORLS15ZSeCrd+5lTfYQ==","signatures":[{"sig":"MEQCIHCd4taq47h/8zucqpb+nwRNEh23erfI5XMGnp8r0g4yAiBo2mbRDgJrr5w2se5hdeMf8gU22rlTTzgbYRGrh26aOw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":302966,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhl8Z+CRA9TVsSAnZWagAAgTcP+wdfai63aFPvw6UoZEG1\nVhSTbGkHoSyy5LIfQn+wMA13kqVBK5mJnlm9oHTJ+K96LnmMdO53lGt/J8J0\npbvhnVqson0Bjz1lEBEbgtiu4fxPVrY9NWg5KxED3VpYl0tKpOrvNed10T/a\nNWHkho5894VASdhbFGCtNfNnWr6MUoeiGXKyFhooA6yN/Gj4ATgvuddYlqFP\n7h43WDF7qqS0+Wta51BkF4POt5V7Qn3as5+3RZg844AhCpbdiqLopBC+MDem\nFlWUBcem9ZkNV4PCoMD4yOhx4wUUZr5s8N6z98kOVtGFxc3R78seZw+uHCMy\n4L27imotHHZFkh1dgcxHUS9PkbQqXN+mgHRFbbG+awXqEPQhdz9uYldRExf1\n82f2D7q8k1MOSEHiqeKPlwLKGkGmLcxEnXMnTJDyLQV5lY+kddLcH44Cm3rU\nPeFm3L3N2XjV8cDWF3ZK4S00PeJo5Gjye4GS3GAt094jOwUiw30ydK5c8VRq\nxyYDfW2y6BQKoYJRr+b9OIKWD1mVewX7tSp07AExZIk20L5Fwem4G25BHIaW\nF1rmDlb67XTL+Yip3rVTj3iTyiCClkO/xl1EvvoegPCv+lOuliJho2wXtcZG\n/UjODJH3KzhhRRjTadwrje8LZq+zvVW6RAh27rGYN9xdM7l7niuQsyIz76KC\nbNIn\r\n=SQpH\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"ts-jest","collectCoverage":true,"testEnvironment":"node","coverageThreshold":{"global":{"lines":85,"branches":70,"functions":80,"statements":85}},"coveragePathIgnorePatterns":["/node_modules/","/test/","/src/logging.ts"]},"main":"dist/src/index.js","types":"dist/src/index.d.ts","engines":{"node":">=10.7.0"},"gitHead":"0ec86fbb4757b59fa44298c3fd2286619245a78e","scripts":{"lint":"eslint -c .eslintrc.json --ext .ts src test","test":"jest --verbose --unhandled-rejections=strict --detectOpenHandles --silent false","build":"tsc","prebuild":"rimraf dist","test:prod":"npm run lint && npm run test -- --coverage --no-cache --testTimeout=5000","test:watch":"jest --watch"},"_npmUser":{"name":"malthe","email":"mborch@gmail.com"},"prettier":{"semi":true,"singleQuote":true},"repository":{"url":"git://github.com/malthe/ts-postgres.git","type":"git"},"_npmVersion":"7.19.1","declaration":true,"description":"PostgreSQL client in TypeScript","directories":{},"_nodeVersion":"16.5.0","dependencies":{"ts-typed-events":"^2.0.1"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.3.1","colors":"^1.4.0","eslint":"^7.32.0","rimraf":"^3.0.2","ts-jest":"^27.0.7","ts-node":"^10.0.4","typescript":"^3.9.7","@types/jest":"^27.0.2","@types/node":"^16.11.6","lint-staged":"^11.2.6","eslint-plugin-node":"^11.1.0","eslint-plugin-import":"^2.25.2","eslint-plugin-promise":"^5.1.1","eslint-config-standard":"^16.0.3","eslint-plugin-prettier":"^4.0.0","@typescript-eslint/parser":"^5.3.0","@typescript-eslint/eslint-plugin":"^5.3.0"},"minNativeVersion":"2.3.0","_npmOperationalInternal":{"tmp":"tmp/ts-postgres_1.2.0_1637336702590_0.8979149602824554","host":"s3://npm-registry-packages"}},"1.2.1":{"name":"ts-postgres","version":"1.2.1","keywords":["database","postgres","postgresql","rdbms"],"author":{"name":"Malthe Borch","email":"mborch@gmail.com"},"license":"MIT","_id":"ts-postgres@1.2.1","maintainers":[{"name":"malthe","email":"mborch@gmail.com"}],"homepage":"https://github.com/malthe/ts-postgres","bugs":{"url":"https://github.com/malthe/ts-postgres/issues"},"dist":{"shasum":"c49f6802c04e1ed6cdbe9cc03c96b83cbd2c045b","tarball":"https://registry.npmjs.org/ts-postgres/-/ts-postgres-1.2.1.tgz","fileCount":55,"integrity":"sha512-5cCIdGMMlX8g+cFs0DFykLKyTmPvJ9gCv5TR13R90Azz8gzEtugYq6gKm5glBXF66gtvsP/lUashU5akfQsFaA==","signatures":[{"sig":"MEYCIQC/ifOJIJTD5zmuggFPh5SIaOIXkYhcum8vtTGVcTwGLQIhAPNwRL+OTuj0UDCulGPuSWy79HFMQTjd669AbZNos1uc","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":318205,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhxG+VCRA9TVsSAnZWagAA86MP+wWP61H2c0eSfxXrqwjj\nnSaOkowxS7ApR/7/NtP8JfahBSo6x1BQ1msu+zVKv52RrEq83vrwmaYI3plV\nzBL8IwDx11mwlE1+4wuhkKraPShktiJYG0L5eFfVUPdcw2od1MIolsnSM8x1\ncfNS4i2HBcbXuddz68DeRxqD19xtmUEhjKOsF2QHmtKGVjvBaUxHiSwCd6q+\njfNxzlAQ+lfIraI6t700rrBN2WZKwAjKD4X2ARLTQDEWkld8gEN8EHZ8iXJq\n6cl11rKrrwRSNEaRJB4NP6Ggt3PquNgfC4aWAnW1yzaZ7cPyz2/qdl3BAxva\nMHQ+QmrgN87e4H4JSbB4MGuWCSNqhhsFcAWD51DMpCVGrtbg9jyQkFHZxHTl\nYSaK1GwyT1i6KR7zPAzwBuaLAS8Ngh2SL4JZT6P0NvCi+L47H4599me9zz6Y\nKq7xlQ5P/JzHUn2jehnlX+vykTI+EK0UArXxT7kwtqSM30vX4lKH0TFOg3Ba\nqSsw8nedPWKRvr18zXAMqM9EyRBGAYaqhS9camCXSp2Bw8cdBVlGjhabw3oe\nNUitlnKJcBMLX+SZM1yJHhg/V1aZKMABaR3ib/LNwA0Oy2SwkLBjyfHLWi2U\nYqd1+mLavDfMECB/tTq7YqhKJDlHHpNbwPIkF5Jh32CS5NWa7koWcY5ien9E\n6BJH\r\n=dpbN\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"ts-jest","collectCoverage":true,"testEnvironment":"node","coverageThreshold":{"global":{"lines":85,"branches":70,"functions":80,"statements":85}},"coveragePathIgnorePatterns":["/node_modules/","/test/","/src/logging.ts","/src/queue.ts","/src/utils.ts"]},"main":"dist/src/index.js","types":"dist/src/index.d.ts","engines":{"node":">=10.7.0"},"gitHead":"8b008e86e769ac7411c94d392aa6e05efa55d13e","scripts":{"lint":"eslint -c .eslintrc.json --ext .ts src test","test":"jest --verbose --unhandled-rejections=strict --detectOpenHandles --silent false","build":"tsc","prebuild":"rimraf dist","test:prod":"npm run lint && npm run test -- --coverage --no-cache --testTimeout=5000","test:watch":"jest --watch"},"_npmUser":{"name":"malthe","email":"mborch@gmail.com"},"prettier":{"semi":true,"singleQuote":true},"repository":{"url":"git://github.com/malthe/ts-postgres.git","type":"git"},"_npmVersion":"7.19.1","declaration":true,"description":"PostgreSQL client in TypeScript","directories":{},"_nodeVersion":"16.5.0","dependencies":{"ts-typed-events":"^2.0.1"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.3.1","colors":"^1.4.0","eslint":"^7.32.0","rimraf":"^3.0.2","ts-jest":"^27.0.7","ts-node":"^10.0.4","typescript":"^3.9.7","@types/jest":"^27.0.2","@types/node":"^16.11.6","lint-staged":"^11.2.6","eslint-plugin-node":"^11.1.0","eslint-plugin-import":"^2.25.2","eslint-plugin-promise":"^5.1.1","eslint-config-standard":"^16.0.3","eslint-plugin-prettier":"^4.0.0","@typescript-eslint/parser":"^5.3.0","@typescript-eslint/eslint-plugin":"^5.3.0"},"minNativeVersion":"2.3.0","_npmOperationalInternal":{"tmp":"tmp/ts-postgres_1.2.1_1640263573081_0.2182117469094087","host":"s3://npm-registry-packages"}},"1.3.0":{"name":"ts-postgres","version":"1.3.0","keywords":["database","postgres","postgresql","rdbms"],"author":{"name":"Malthe Borch","email":"mborch@gmail.com"},"license":"MIT","_id":"ts-postgres@1.3.0","maintainers":[{"name":"malthe","email":"mborch@gmail.com"}],"homepage":"https://github.com/malthe/ts-postgres","bugs":{"url":"https://github.com/malthe/ts-postgres/issues"},"dist":{"shasum":"b58e3335545acd7d37d5821ff0aeb1146d9d37e5","tarball":"https://registry.npmjs.org/ts-postgres/-/ts-postgres-1.3.0.tgz","fileCount":67,"integrity":"sha512-YQY6omZM9RiMeJpzyVn36ankicZnTbSTkHaq+NTkqrLHSRYigsNW9JsPwrZXxLt1es3mV+V6/VUj0eOVcYXq1g==","signatures":[{"sig":"MEUCIFAWBY8B+qs+hfUeY2VRwA31v30RFHbbtFPslK/fg3NwAiEA9O3kYIIH07lcKw+mYvxnva0H60jpwOcfR5jkURYFBoQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":386726,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjAzcBACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr00xAAk3XdJkBxXHOlzfrmkut+gpUfUaoBkL9oPtYvrkKho7khInmk\r\ncgUCSPsrTPiOSHiP8VrDbowMd7V+eAOMJhfzxB+jSsogcECYQxyBY+ifRyTs\r\nJySSqcp3LCv78FKzSKhlFukU8T++aFYpkzzj+NJpqVpU0NMG1cL1kWmkW/ox\r\n0O9mWeWKhhI6YegqBvtJyFjlGBipQJNttLNHsTgkQoRa8mTv+rwtvxnZRUsY\r\nL8xe0XS3odTfXu5GYZzn7aMKDtsmlTtlzKi5HtCGWlOzU13JEn1AuIYrFyFy\r\nU6Ot0KdZJBcG1yUNj4ZkJFYiozXlZF6+iF24G+rtq1ni+JiDB2NhYwtfnjXb\r\nFV58WzkYP1mSsrvJm7AvQbV5yXm+BABHa4cXz7hoOxzxQaf/57yRT3svR7gi\r\nITPOdsswGc51J3dSCipqka0p1OCMcZ0J22hYKV2Ou74lOHHLAKNpiYqTBeAb\r\nFR26aFCU824P9yWhlX0qdqPBMhei1JD+nC1s0kowvF8FJygFki6ucn0Gmo50\r\nHRXyNVdb5EBXVqD+lxIisXLm0/8AdqYqS6RwVOrNbTZi4R2zht1IjWr1M5Dy\r\n5Z8uU3Qi++Wne94DHun9+qfKvS9Ci2Zz2gG6zhPGogB1caA9lX/bD/P+Ssyr\r\nG98W6pMEYcahJSTvUfChdnqj4CwjreVSnBU=\r\n=wTKl\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"ts-jest","collectCoverage":true,"testEnvironment":"node","coverageThreshold":{"global":{"lines":85,"branches":70,"functions":80,"statements":85}},"coveragePathIgnorePatterns":["/node_modules/","/test/","/src/logging.ts","/src/queue.ts","/src/utils.ts"]},"main":"dist/src/index.js","types":"dist/src/index.d.ts","engines":{"node":">=10.7.0"},"gitHead":"2e3c9fef6be18ebc037ca309579e69e2919f6a7d","scripts":{"lint":"eslint -c .eslintrc.json --ext .ts src test","test":"jest --verbose --unhandled-rejections=strict --detectOpenHandles --silent false","build":"tsc","prebuild":"rimraf dist","test:prod":"npm run lint && npm run test -- --coverage --no-cache --testTimeout=5000","test:watch":"jest --watch"},"_npmUser":{"name":"malthe","email":"mborch@gmail.com"},"prettier":{"semi":true,"singleQuote":true},"repository":{"url":"git://github.com/malthe/ts-postgres.git","type":"git"},"_npmVersion":"7.19.1","declaration":true,"description":"PostgreSQL client in TypeScript","directories":{},"_nodeVersion":"16.5.0","dependencies":{"ts-typed-events":"^3.0.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.3.1","colors":"^1.4.0","eslint":"^7.32.0","rimraf":"^3.0.2","ts-jest":"^27.0.7","ts-node":"^10.0.4","typescript":"^3.9.7","@types/jest":"^27.0.2","@types/node":"^16.11.6","lint-staged":"^11.2.6","eslint-plugin-node":"^11.1.0","eslint-plugin-import":"^2.25.2","eslint-plugin-promise":"^5.1.1","eslint-config-standard":"^16.0.3","eslint-plugin-prettier":"^4.0.0","@typescript-eslint/parser":"^5.3.0","@typescript-eslint/eslint-plugin":"^5.3.0"},"minNativeVersion":"2.3.0","_npmOperationalInternal":{"tmp":"tmp/ts-postgres_1.3.0_1661155073142_0.5749996788215537","host":"s3://npm-registry-packages"}},"1.3.1":{"name":"ts-postgres","version":"1.3.1","keywords":["database","postgres","postgresql","rdbms"],"author":{"name":"Malthe Borch","email":"mborch@gmail.com"},"license":"MIT","_id":"ts-postgres@1.3.1","maintainers":[{"name":"malthe","email":"mborch@gmail.com"}],"homepage":"https://github.com/malthe/ts-postgres","bugs":{"url":"https://github.com/malthe/ts-postgres/issues"},"dist":{"shasum":"fe8c54dd3bd4e253c67047ec8d3ce4dfaaec9178","tarball":"https://registry.npmjs.org/ts-postgres/-/ts-postgres-1.3.1.tgz","fileCount":67,"integrity":"sha512-IYeRkGXZsj383CmprrM/JYsM0eZfObZUge6dJQDJplFhp1eADftqxkCIf6sXrUOWH/BFajTjyj9tTDsbzYlVlQ==","signatures":[{"sig":"MEYCIQCySdCk41rpxE0NgxJ0w9cxeCqBDQMppqomnZj3OERmAQIhAKBIggrH2kHGRHg2b3ltnzQt5Kj6prKDWSuNJerDEUHR","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":387255},"jest":{"preset":"ts-jest","collectCoverage":true,"testEnvironment":"node","coverageThreshold":{"global":{"lines":85,"branches":70,"functions":80,"statements":85}},"coveragePathIgnorePatterns":["/node_modules/","/test/","/src/logging.ts","/src/queue.ts","/src/utils.ts"]},"main":"dist/src/index.js","types":"dist/src/index.d.ts","engines":{"node":">=10.7.0"},"gitHead":"6f881c20eba1ed466c59032df86dcb490c803f93","scripts":{"lint":"eslint -c .eslintrc.json --ext .ts src test","test":"jest --verbose --unhandled-rejections=strict --detectOpenHandles --silent false","build":"tsc","prebuild":"rimraf dist","test:prod":"npm run lint && npm run test -- --coverage --no-cache --testTimeout=5000","test:watch":"jest --watch"},"_npmUser":{"name":"malthe","email":"mborch@gmail.com"},"prettier":{"semi":true,"singleQuote":true},"repository":{"url":"git://github.com/malthe/ts-postgres.git","type":"git"},"_npmVersion":"9.6.6","declaration":true,"description":"PostgreSQL client in TypeScript","directories":{},"_nodeVersion":"20.2.0","dependencies":{"ts-typed-events":"^3.0.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.3.1","colors":"^1.4.0","eslint":"^7.32.0","rimraf":"^3.0.2","ts-jest":"^27.0.7","ts-node":"^10.0.4","typescript":"^3.9.7","@types/jest":"^27.0.2","@types/node":"^16.11.6","lint-staged":"^13.2.1","eslint-plugin-node":"^11.1.0","eslint-plugin-import":"^2.25.2","eslint-plugin-promise":"^5.1.1","eslint-config-standard":"^16.0.3","eslint-plugin-prettier":"^4.0.0","@typescript-eslint/parser":"^5.3.0","@typescript-eslint/eslint-plugin":"^5.3.0"},"minNativeVersion":"2.3.0","_npmOperationalInternal":{"tmp":"tmp/ts-postgres_1.3.1_1687183422158_0.4595444203791694","host":"s3://npm-registry-packages"}},"1.4.0":{"name":"ts-postgres","version":"1.4.0","keywords":["database","postgres","postgresql","rdbms"],"author":{"name":"Malthe Borch","email":"mborch@gmail.com"},"license":"MIT","_id":"ts-postgres@1.4.0","maintainers":[{"name":"malthe","email":"mborch@gmail.com"}],"homepage":"https://github.com/malthe/ts-postgres","bugs":{"url":"https://github.com/malthe/ts-postgres/issues"},"dist":{"shasum":"d3bb9405ec78a6de1b3568476776a067922dfc30","tarball":"https://registry.npmjs.org/ts-postgres/-/ts-postgres-1.4.0.tgz","fileCount":67,"integrity":"sha512-ubr5qIZ8kCxWSjGpCSDWDzEgCR9Wvvr2NFcGz6RUYOtgK1MouDKQj22xslH9ySiemDxLRGRtqI1KuEWa9TswtQ==","signatures":[{"sig":"MEYCIQDUV050N4C9qJx356Qhopn/HFx7bLgLkHh5O3ccLQOhJQIhAJAmmSXDCVWeMHweZZeUL/eOEW5CjYXzkf3xMY/uKYju","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":396314},"jest":{"preset":"ts-jest","collectCoverage":true,"testEnvironment":"node","coverageThreshold":{"global":{"lines":85,"branches":70,"functions":80,"statements":85}},"coveragePathIgnorePatterns":["/node_modules/","/test/","/src/logging.ts","/src/queue.ts","/src/utils.ts"]},"main":"dist/src/index.js","types":"dist/src/index.d.ts","engines":{"node":">=18.0.0"},"gitHead":"589af2135e88b947c488855d91b897b0da2a8feb","scripts":{"lint":"eslint -c .eslintrc.json --ext .ts src test","test":"jest --verbose --unhandled-rejections=strict --detectOpenHandles --silent false","build":"tsc","prebuild":"rimraf dist","test:prod":"npm run lint && npm run test -- --coverage --no-cache --testTimeout=5000","test:watch":"jest --watch"},"_npmUser":{"name":"malthe","email":"mborch@gmail.com"},"prettier":{"semi":true,"singleQuote":true},"repository":{"url":"git://github.com/malthe/ts-postgres.git","type":"git"},"_npmVersion":"10.1.0","declaration":true,"description":"PostgreSQL client in TypeScript","directories":{},"_nodeVersion":"20.8.0","dependencies":{"ts-typed-events":"^3.0.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","colors":"^1.4.0","eslint":"^8.53.0","rimraf":"^3.0.2","ts-jest":"^29.1.1","ts-node":"^10.9.1","typescript":"^4.9.5","@types/jest":"^29.5.8","@types/node":"^18.15.3","lint-staged":"^15.0.2","eslint-plugin-node":"^11.1.0","eslint-plugin-import":"^2.29.0","eslint-plugin-promise":"^6.1.1","eslint-config-standard":"^17.1.0","eslint-plugin-prettier":"^5.0.1","@typescript-eslint/parser":"^6.10.0","@typescript-eslint/eslint-plugin":"^6.10.0"},"minNativeVersion":"2.3.0","_npmOperationalInternal":{"tmp":"tmp/ts-postgres_1.4.0_1699612727575_0.25527024824366196","host":"s3://npm-registry-packages"}},"1.5.0":{"name":"ts-postgres","version":"1.5.0","keywords":["database","postgres","postgresql","rdbms"],"author":{"name":"Malthe Borch","email":"mborch@gmail.com"},"license":"MIT","_id":"ts-postgres@1.5.0","maintainers":[{"name":"malthe","email":"mborch@gmail.com"}],"homepage":"https://github.com/malthe/ts-postgres","bugs":{"url":"https://github.com/malthe/ts-postgres/issues"},"dist":{"shasum":"bd8a964b940a9936160c1f8d2c5d900a1f3736d4","tarball":"https://registry.npmjs.org/ts-postgres/-/ts-postgres-1.5.0.tgz","fileCount":67,"integrity":"sha512-GQrf0jyBdz3TJydpAzD6/2hqVNyF67FYVCJlH2bsargocwXEeQ+hUl7I06GnMjNYVz9AkBJoSlpVEa0kQfq79g==","signatures":[{"sig":"MEYCIQDkSGKzd5qFtWbBPloU2esfRGRnpiXZ3XYFz7jVGP+AmwIhAI0MC6/h8zl8btYBoZmcMhoork9AAZw6QSNzJISa23ej","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":417362},"jest":{"preset":"ts-jest","collectCoverage":true,"testEnvironment":"node","coverageThreshold":{"global":{"lines":85,"branches":70,"functions":80,"statements":85}},"coveragePathIgnorePatterns":["/node_modules/","/test/","/src/defaults.ts","/src/index.ts","/src/logging.ts","/src/queue.ts","/src/sasl.ts","/src/utils.ts"]},"main":"dist/src/index.js","types":"dist/src/index.d.ts","engines":{"node":">=18.0.0"},"gitHead":"0390fd227992e6aaee89a1ca17542040f8afac6c","scripts":{"lint":"eslint -c .eslintrc.json --ext .ts src test","test":"jest --verbose --unhandled-rejections=strict --detectOpenHandles --silent false","build":"tsc","prebuild":"rimraf dist","test:prod":"npm run lint && npm run test -- --coverage --no-cache --testTimeout=5000","test:watch":"jest --watch"},"_npmUser":{"name":"malthe","email":"mborch@gmail.com"},"prettier":{"semi":true,"singleQuote":true},"repository":{"url":"git://github.com/malthe/ts-postgres.git","type":"git"},"_npmVersion":"10.2.4","declaration":true,"description":"PostgreSQL client in TypeScript","directories":{},"_nodeVersion":"21.3.0","dependencies":{"ts-typed-events":"^3.0.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","colors":"^1.4.0","eslint":"^8.53.0","rimraf":"^3.0.2","ts-jest":"^29.1.1","ts-node":"^10.9.1","typedoc":"^0.25.4","typescript":"^4.9.5","@types/jest":"^29.5.8","@types/node":"^18.15.3","lint-staged":"^15.0.2","eslint-plugin-node":"^11.1.0","eslint-plugin-import":"^2.29.0","eslint-plugin-promise":"^6.1.1","eslint-config-standard":"^17.1.0","eslint-plugin-prettier":"^5.0.1","@typescript-eslint/parser":"^6.10.0","@typescript-eslint/eslint-plugin":"^6.10.0"},"minNativeVersion":"2.3.0","_npmOperationalInternal":{"tmp":"tmp/ts-postgres_1.5.0_1701864644899_0.07695210996106394","host":"s3://npm-registry-packages"}},"1.6.0":{"name":"ts-postgres","version":"1.6.0","keywords":["database","postgres","postgresql","rdbms"],"author":{"name":"Malthe Borch","email":"mborch@gmail.com"},"license":"MIT","_id":"ts-postgres@1.6.0","maintainers":[{"name":"malthe","email":"mborch@gmail.com"}],"homepage":"https://github.com/malthe/ts-postgres","bugs":{"url":"https://github.com/malthe/ts-postgres/issues"},"dist":{"shasum":"d69878dd81a6e9b2a55124f7d43e1b12ffe38ae2","tarball":"https://registry.npmjs.org/ts-postgres/-/ts-postgres-1.6.0.tgz","fileCount":67,"integrity":"sha512-QDO3vBlUhSw+jxr4FoNyse5Q1kynH4hc4G4IyHMdN1bJPBm4oBXIfKmotvy50ew0H0SVsgdwoR6glljVhVNBgQ==","signatures":[{"sig":"MEUCIGTi4lNJ+k6zHFgnwPi6twZP7YlBbqWtwNtJnBtZxs5UAiEAzxcnsvRcYg1ykdJgiIW3/u4/VWeX7vRrbFKIxis+Pms=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":416071},"jest":{"preset":"ts-jest","collectCoverage":true,"testEnvironment":"node","coverageThreshold":{"global":{"lines":85,"branches":70,"functions":80,"statements":85}},"coveragePathIgnorePatterns":["/node_modules/","/test/","/src/defaults.ts","/src/index.ts","/src/logging.ts","/src/queue.ts","/src/sasl.ts","/src/utils.ts"]},"main":"dist/src/index.js","types":"dist/src/index.d.ts","engines":{"node":">=18.0.0"},"gitHead":"2548f871d6f35558617c5f26fb8021bd09c1cdf1","scripts":{"lint":"eslint -c .eslintrc.json --ext .ts src test","test":"jest --verbose --unhandled-rejections=strict --detectOpenHandles --silent false","build":"tsc","prebuild":"rimraf dist","test:prod":"npm run lint && npm run test -- --coverage --no-cache --testTimeout=5000","test:watch":"jest --watch"},"_npmUser":{"name":"malthe","email":"mborch@gmail.com"},"prettier":{"semi":true,"singleQuote":true},"repository":{"url":"git://github.com/malthe/ts-postgres.git","type":"git"},"_npmVersion":"10.2.4","declaration":true,"description":"PostgreSQL client in TypeScript","directories":{},"_nodeVersion":"21.3.0","dependencies":{"ts-typed-events":"^3.0.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","colors":"^1.4.0","eslint":"^8.53.0","rimraf":"^3.0.2","ts-jest":"^29.1.1","ts-node":"^10.9.1","typedoc":"^0.25.4","typescript":"^4.9.5","@types/node":"^18.15.3","lint-staged":"^15.0.2","@jest/globals":"^29.7.0","eslint-plugin-node":"^11.1.0","eslint-plugin-import":"^2.29.0","eslint-plugin-promise":"^6.1.1","eslint-config-standard":"^17.1.0","eslint-plugin-prettier":"^5.0.1","@typescript-eslint/parser":"^6.10.0","@typescript-eslint/eslint-plugin":"^6.10.0"},"minNativeVersion":"2.3.0","_npmOperationalInternal":{"tmp":"tmp/ts-postgres_1.6.0_1702469547353_0.5695628957580972","host":"s3://npm-registry-packages"}},"1.7.0":{"name":"ts-postgres","version":"1.7.0","keywords":["database","postgres","postgresql","rdbms"],"author":{"name":"Malthe Borch","email":"mborch@gmail.com"},"license":"MIT","_id":"ts-postgres@1.7.0","maintainers":[{"name":"malthe","email":"mborch@gmail.com"}],"homepage":"https://github.com/malthe/ts-postgres","bugs":{"url":"https://github.com/malthe/ts-postgres/issues"},"dist":{"shasum":"18165725a85107182339013f227ffea77638504f","tarball":"https://registry.npmjs.org/ts-postgres/-/ts-postgres-1.7.0.tgz","fileCount":67,"integrity":"sha512-n/dOE1B7oYsp8/RpUw3P0jEWuwhKOm7nZqoLO3FOlnlhj4TkDjzM6cB+p+gcl21UuwwcNzJ4o+icSAjs15r8Fg==","signatures":[{"sig":"MEUCIQCujGKDEo6WijDDd7pslYX2UrzQ/k/gUp6cOGAFx4vb7wIga/JVHnR58Hjxseiu5Y9/dXMuVfCv2un7zsffQAARHnM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":419706},"jest":{"preset":"ts-jest","collectCoverage":true,"testEnvironment":"node","coverageThreshold":{"global":{"lines":85,"branches":70,"functions":80,"statements":85}},"coveragePathIgnorePatterns":["/node_modules/","/test/","/src/defaults.ts","/src/index.ts","/src/logging.ts","/src/queue.ts","/src/sasl.ts","/src/utils.ts"]},"main":"dist/src/index.js","types":"dist/src/index.d.ts","engines":{"node":">=18.0.0"},"gitHead":"7c2febbaf362fd1617a441f161346a0ea64da8f6","scripts":{"lint":"eslint -c .eslintrc.json --ext .ts src test","test":"jest --verbose --unhandled-rejections=strict --detectOpenHandles --silent false","build":"tsc","prebuild":"rimraf dist","test:prod":"npm run lint && npm run test -- --coverage --no-cache --testTimeout=5000","test:watch":"jest --watch"},"_npmUser":{"name":"malthe","email":"mborch@gmail.com"},"prettier":{"semi":true,"singleQuote":true},"repository":{"url":"git://github.com/malthe/ts-postgres.git","type":"git"},"_npmVersion":"10.2.4","declaration":true,"description":"PostgreSQL client in TypeScript","directories":{},"_nodeVersion":"21.3.0","dependencies":{"ts-typed-events":"^3.0.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","colors":"^1.4.0","eslint":"^8.53.0","rimraf":"^3.0.2","ts-jest":"^29.1.1","ts-node":"^10.9.1","typedoc":"^0.25.4","typescript":"^4.9.5","@types/node":"^18.15.3","lint-staged":"^15.0.2","@jest/globals":"^29.7.0","eslint-plugin-node":"^11.1.0","eslint-plugin-import":"^2.29.0","eslint-plugin-promise":"^6.1.1","eslint-config-standard":"^17.1.0","eslint-plugin-prettier":"^5.0.1","@typescript-eslint/parser":"^6.10.0","@typescript-eslint/eslint-plugin":"^6.10.0"},"minNativeVersion":"2.3.0","_npmOperationalInternal":{"tmp":"tmp/ts-postgres_1.7.0_1702492894197_0.21769594603647335","host":"s3://npm-registry-packages"}},"1.8.0":{"name":"ts-postgres","version":"1.8.0","keywords":["database","postgres","postgresql","rdbms"],"author":{"name":"Malthe Borch","email":"mborch@gmail.com"},"license":"MIT","_id":"ts-postgres@1.8.0","maintainers":[{"name":"malthe","email":"mborch@gmail.com"}],"homepage":"https://github.com/malthe/ts-postgres","bugs":{"url":"https://github.com/malthe/ts-postgres/issues"},"dist":{"shasum":"df0b83b408eda0517bdc8417534fc423fe9fdaf6","tarball":"https://registry.npmjs.org/ts-postgres/-/ts-postgres-1.8.0.tgz","fileCount":67,"integrity":"sha512-GYtb3ji4APZuFhM/UhPPPuSMzMbzUIrKrAWr07PY0n8+dWcwSIpOlflUDqC2cAtqyWXOMpdb5MNIKo+TC28/sQ==","signatures":[{"sig":"MEYCIQClcCL/drt4GvR8LlKq66/Kttyq+VGlI2saLc8U6BzGOAIhAJNNgvGUhKVd+yZpETq0zjuzGe3+fYlwYKb51WWdJN6U","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":416162},"jest":{"preset":"ts-jest","collectCoverage":true,"testEnvironment":"node","coverageThreshold":{"global":{"lines":85,"branches":70,"functions":80,"statements":85}},"coveragePathIgnorePatterns":["/node_modules/","/test/","/src/defaults.ts","/src/index.ts","/src/logging.ts","/src/queue.ts","/src/sasl.ts","/src/utils.ts"]},"main":"dist/src/index.js","types":"dist/src/index.d.ts","engines":{"node":">=18.0.0"},"gitHead":"7a79d0ab26bef06f63692c4f4fde5662374f6a23","scripts":{"lint":"eslint -c .eslintrc.json --ext .ts src test","test":"jest --verbose --unhandled-rejections=strict --detectOpenHandles --silent false","build":"tsc","prebuild":"rimraf dist","test:prod":"npm run lint && npm run test -- --coverage --no-cache --testTimeout=5000","test:watch":"jest --watch"},"_npmUser":{"name":"malthe","email":"mborch@gmail.com"},"prettier":{"semi":true,"singleQuote":true},"repository":{"url":"git://github.com/malthe/ts-postgres.git","type":"git"},"_npmVersion":"10.2.4","declaration":true,"description":"PostgreSQL client in TypeScript","directories":{},"_nodeVersion":"21.3.0","dependencies":{"ts-typed-events":"^3.0.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","colors":"^1.4.0","eslint":"^8.53.0","rimraf":"^3.0.2","ts-jest":"^29.1.1","ts-node":"^10.9.1","typedoc":"^0.25.4","typescript":"^4.9.5","@types/node":"^18.15.3","lint-staged":"^15.0.2","@jest/globals":"^29.7.0","eslint-plugin-node":"^11.1.0","eslint-plugin-import":"^2.29.0","eslint-plugin-promise":"^6.1.1","eslint-config-standard":"^17.1.0","eslint-plugin-prettier":"^5.0.1","@typescript-eslint/parser":"^6.10.0","@typescript-eslint/eslint-plugin":"^6.10.0"},"minNativeVersion":"2.3.0","_npmOperationalInternal":{"tmp":"tmp/ts-postgres_1.8.0_1702510500448_0.28447429938222646","host":"s3://npm-registry-packages"}},"1.9.0":{"name":"ts-postgres","version":"1.9.0","keywords":["database","postgres","postgresql","rdbms"],"author":{"name":"Malthe Borch","email":"mborch@gmail.com"},"license":"MIT","_id":"ts-postgres@1.9.0","maintainers":[{"name":"malthe","email":"mborch@gmail.com"}],"homepage":"https://github.com/malthe/ts-postgres","bugs":{"url":"https://github.com/malthe/ts-postgres/issues"},"dist":{"shasum":"c525305f1886c40e080930f89741191d7705c9ee","tarball":"https://registry.npmjs.org/ts-postgres/-/ts-postgres-1.9.0.tgz","fileCount":83,"integrity":"sha512-bGvP0X5b3kPoMbVpGVOWh+BXnPWyd/QbcHXZmHK5WIHOzhRrP0aQ+wUsbRXwDWvAokc3nWdxaHuzS2cfKkKIKA==","signatures":[{"sig":"MEYCIQDbfiNohS3vI6Q1gywbYezkAsVR3QFZ7Xznu8SuVOY5HQIhAJA8efoXgKI/lXvnCFns5zgJM8IzSFm+HbT7Nhs3CECw","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":688557},"main":"./dist/module/index.js","type":"module","_from":"file:ts-postgres-1.9.0.tgz","types":"./dist/module/index.d.ts","engines":{"node":">=18.0.0"},"exports":{"import":"./dist/module/index.js","require":"./dist/commonjs/index.js"},"scripts":{"lint":"eslint -c .eslintrc.json --ext .ts src test","test":"node --experimental-default-type module --loader ts-node/esm --enable-source-maps --test test/*.test.ts","prebuild":"rimraf dist","build:cjs":"tsc --module commonjs --moduleResolution node --outDir dist/commonjs","build:esm":"tsc --outDir dist/module","test:prod":"npm run lint && npm run test"},"_npmUser":{"name":"malthe","email":"mborch@gmail.com"},"prettier":{"semi":true,"singleQuote":true},"_resolved":"/Users/mborch/Downloads/ts-postgres-1.9.0.tgz","_integrity":"sha512-bGvP0X5b3kPoMbVpGVOWh+BXnPWyd/QbcHXZmHK5WIHOzhRrP0aQ+wUsbRXwDWvAokc3nWdxaHuzS2cfKkKIKA==","repository":{"url":"git://github.com/malthe/ts-postgres.git","type":"git"},"_npmVersion":"10.2.4","declaration":true,"description":"PostgreSQL client in TypeScript","directories":{},"_nodeVersion":"21.6.0","dependencies":{"ts-typed-events":"^3.0.0"},"_hasShrinkwrap":false,"devDependencies":{"colors":"^1.4.0","eslint":"^8.56.0","rimraf":"^3.0.2","ts-node":"^10.9.2","typedoc":"^0.25.4","typescript":"^5.2.2","@types/node":"^20.10.6","lint-staged":"^15.0.2","eslint-plugin-node":"^11.1.0","eslint-plugin-import":"^2.29.0","eslint-plugin-promise":"^6.1.1","eslint-config-standard":"^17.1.0","eslint-plugin-prettier":"^5.0.1","@typescript-eslint/parser":"^6.10.0","@typescript-eslint/eslint-plugin":"^6.10.0"},"minNativeVersion":"2.3.0","_npmOperationalInternal":{"tmp":"tmp/ts-postgres_1.9.0_1705998253727_0.7105896510868488","host":"s3://npm-registry-packages"}},"2.0.0":{"name":"ts-postgres","version":"2.0.0","keywords":["database","postgres","postgresql","rdbms"],"author":{"name":"Malthe Borch","email":"mborch@gmail.com"},"license":"MIT","_id":"ts-postgres@2.0.0","maintainers":[{"name":"malthe","email":"mborch@gmail.com"}],"homepage":"https://github.com/malthe/ts-postgres","bugs":{"url":"https://github.com/malthe/ts-postgres/issues"},"dist":{"shasum":"f620e76332a62ef5ed7f8fc558a5f3fc47c3d106","tarball":"https://registry.npmjs.org/ts-postgres/-/ts-postgres-2.0.0.tgz","fileCount":83,"integrity":"sha512-XM8noQVHYPuqUJ5cZdCICFwPgm4T4iuteEG7xrw4Wfe8zqLy2y44qWBDkVtEAB7NlFVYDghafCTu2jGMxCB4CA==","signatures":[{"sig":"MEYCIQCtHh8i22EwaDqTLoE2iEIhsEr47BZEJ5ol4tvYF+LacQIhAJt/pXMj077FpW15sxj1DuGOAk//6ycYHV8i3yv1LYE6","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":689708},"main":"./dist/module/index.js","type":"module","_from":"file:ts-postgres-2.0.0.tgz","types":"./dist/module/index.d.ts","engines":{"node":">=18.0"},"exports":{"import":"./dist/module/index.js","require":"./dist/commonjs/index.js"},"scripts":{"lint":"eslint -c .eslintrc.json --ext .ts src test","test":"node --experimental-default-type module --loader ts-node/esm --enable-source-maps --test test/*.test.ts","prebuild":"rimraf dist","build:cjs":"tsc -p tsconfig.dist.json --module commonjs --moduleResolution node --outDir dist/commonjs","build:esm":"tsc -p tsconfig.dist.json --outDir dist/module","test:prod":"npm run lint && npm run test"},"_npmUser":{"name":"malthe","email":"mborch@gmail.com"},"prettier":{"semi":true,"tabWidth":4,"overrides":[{"files":["*.md","*.yml"],"options":{"tabWidth":2}}],"singleQuote":true},"_resolved":"/Users/mborch/Downloads/ts-postgres-2.0.0.tgz","_integrity":"sha512-XM8noQVHYPuqUJ5cZdCICFwPgm4T4iuteEG7xrw4Wfe8zqLy2y44qWBDkVtEAB7NlFVYDghafCTu2jGMxCB4CA==","repository":{"url":"git://github.com/malthe/ts-postgres.git","type":"git"},"_npmVersion":"10.2.4","declaration":true,"description":"PostgreSQL client in TypeScript","directories":{},"_nodeVersion":"21.6.0","_hasShrinkwrap":false,"devDependencies":{"colors":"^1","eslint":"^8","rimraf":"~3.0","ts-node":"~10.9","typedoc":"~0.25","typescript":"~5.2","@types/node":"^20.11.21","lint-staged":"^15.0.2","eslint-plugin-node":"^11","eslint-plugin-import":"^2","eslint-plugin-promise":"^6","eslint-config-standard":"^17","eslint-plugin-prettier":"^5","@typescript-eslint/parser":"^6","@typescript-eslint/eslint-plugin":"^6"},"peerDependencies":{"@types/node":"^20"},"_npmOperationalInternal":{"tmp":"tmp/ts-postgres_2.0.0_1709195574153_0.8529993910870137","host":"s3://npm-registry-packages"}},"2.0.1":{"name":"ts-postgres","version":"2.0.1","keywords":["database","postgres","postgresql","rdbms"],"author":{"name":"Malthe Borch","email":"mborch@gmail.com"},"license":"MIT","_id":"ts-postgres@2.0.1","maintainers":[{"name":"malthe","email":"mborch@gmail.com"}],"homepage":"https://github.com/malthe/ts-postgres","bugs":{"url":"https://github.com/malthe/ts-postgres/issues"},"dist":{"shasum":"69b5c2387675dfdb4442a9b3e12ec36afc1c0a95","tarball":"https://registry.npmjs.org/ts-postgres/-/ts-postgres-2.0.1.tgz","fileCount":54,"integrity":"sha512-tN8bDZpy82yP0xW9BGRT4cYgRlTy+dKfMeCaf8fcQ6Ddd7RSIczjr8Bsp/vMzs0AjI8FA5RXNjFUa3+UDUDzCA==","signatures":[{"sig":"MEUCIANlJf3mzpMTt3qS4sJXcXBSUN0jBUpb7KdTo8uOoQqnAiEAjAX9jvdfKHIVjDIenWNbaJdXX35QwKIaNC16WeN3Hsk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":601928},"main":"./dist/module/index.js","type":"module","_from":"file:ts-postgres-2.0.1.tgz","types":"./dist/index.d.ts","engines":{"node":">=18.0"},"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/module/index.js"},"require":{"types":"./dist/index.d.ts","default":"./dist/commonjs/index.js"}}},"scripts":{"lint":"eslint -c .eslintrc.json --ext .ts src test","test":"node --experimental-default-type module --loader ts-node/esm --enable-source-maps --test test/*.test.ts","prebuild":"rimraf dist","build:cjs":"tsc -p tsconfig.dist.json --module commonjs --moduleResolution node --outDir dist/commonjs","build:esm":"tsc -p tsconfig.dist.json --outDir dist/module","test:prod":"npm run lint && npm run test"},"_npmUser":{"name":"malthe","email":"mborch@gmail.com"},"prettier":{"semi":true,"tabWidth":4,"overrides":[{"files":["*.md","*.yml"],"options":{"tabWidth":2}}],"singleQuote":true},"_resolved":"/Users/mborch/Downloads/ts-postgres-2.0.1.tgz","_integrity":"sha512-tN8bDZpy82yP0xW9BGRT4cYgRlTy+dKfMeCaf8fcQ6Ddd7RSIczjr8Bsp/vMzs0AjI8FA5RXNjFUa3+UDUDzCA==","repository":{"url":"git://github.com/malthe/ts-postgres.git","type":"git"},"_npmVersion":"10.5.0","declaration":true,"description":"PostgreSQL client in TypeScript","directories":{},"_nodeVersion":"21.7.0","_hasShrinkwrap":false,"devDependencies":{"colors":"^1","eslint":"^8","rimraf":"~3.0","ts-node":"~10.9","typedoc":"~0.25","typescript":"~5.2","@types/node":"^20.11.21","lint-staged":"^15.0.2","eslint-plugin-node":"^11","dts-bundle-generator":"^9.3.1","eslint-plugin-import":"^2","eslint-plugin-promise":"^6","eslint-config-standard":"^17","eslint-plugin-prettier":"^5","@typescript-eslint/parser":"^6","@typescript-eslint/eslint-plugin":"^6"},"peerDependencies":{"@types/node":"^20"},"_npmOperationalInternal":{"tmp":"tmp/ts-postgres_2.0.1_1710062945168_0.5464718475166122","host":"s3://npm-registry-packages"}},"2.0.2":{"name":"ts-postgres","version":"2.0.2","keywords":["database","postgres","postgresql","rdbms"],"author":{"name":"Malthe Borch","email":"mborch@gmail.com"},"license":"MIT","_id":"ts-postgres@2.0.2","maintainers":[{"name":"malthe","email":"mborch@gmail.com"}],"homepage":"https://github.com/malthe/ts-postgres","bugs":{"url":"https://github.com/malthe/ts-postgres/issues"},"dist":{"shasum":"9c2531734adba5eeed76b9af4f829b548d2d2810","tarball":"https://registry.npmjs.org/ts-postgres/-/ts-postgres-2.0.2.tgz","fileCount":54,"integrity":"sha512-s/DCbfjKeU/lN0lN+Jv8SNRyYLCcgqFMSsLgRgujoPNkr3jApVg1AbT135JBkQ3cMMGwUyXWDN8n4uKBE4JtbA==","signatures":[{"sig":"MEUCIQC++SjJYptjGvz82oTxRERM/MXYySaswwVfNX+f8muiawIgZED3hcPX5KEwZrHXH7ffzFdxsNT94m8Ev2oVIIPXhNM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":601960},"main":"./dist/module/index.js","type":"module","_from":"file:ts-postgres-2.0.2.tgz","types":"./dist/index.d.ts","engines":{"node":">=18.0"},"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/module/index.js"},"require":{"types":"./dist/index.d.ts","default":"./dist/commonjs/index.js"}}},"scripts":{"lint":"eslint -c .eslintrc.json --ext .ts src test","test":"node --experimental-default-type module --loader ts-node/esm --enable-source-maps --test test/*.test.ts","prebuild":"rimraf dist","build:cjs":"tsc -p tsconfig.dist.json --module commonjs --moduleResolution node --outDir dist/commonjs","build:esm":"tsc -p tsconfig.dist.json --outDir dist/module","test:prod":"npm run lint && npm run test"},"_npmUser":{"name":"malthe","email":"mborch@gmail.com"},"prettier":{"semi":true,"tabWidth":4,"overrides":[{"files":["*.md","*.yml"],"options":{"tabWidth":2}}],"singleQuote":true},"_resolved":"/Users/mborch/co/ts-postgres/ts-postgres-2.0.2.tgz","_integrity":"sha512-s/DCbfjKeU/lN0lN+Jv8SNRyYLCcgqFMSsLgRgujoPNkr3jApVg1AbT135JBkQ3cMMGwUyXWDN8n4uKBE4JtbA==","repository":{"url":"git://github.com/malthe/ts-postgres.git","type":"git"},"_npmVersion":"10.5.0","declaration":true,"description":"PostgreSQL client in TypeScript","directories":{},"_nodeVersion":"21.7.1","_hasShrinkwrap":false,"devDependencies":{"colors":"^1","eslint":"^8","rimraf":"~3.0","ts-node":"~10.9","typedoc":"~0.25","typescript":"~5.2","@types/node":"^20.11.21","lint-staged":"^15.0.2","eslint-plugin-node":"^11","dts-bundle-generator":"^9.3.1","eslint-plugin-import":"^2","eslint-plugin-promise":"^6","eslint-config-standard":"^17","eslint-plugin-prettier":"^5","@typescript-eslint/parser":"^6","@typescript-eslint/eslint-plugin":"^6"},"peerDependencies":{"@types/node":"^20"},"_npmOperationalInternal":{"tmp":"tmp/ts-postgres_2.0.2_1712953591128_0.3020014123491275","host":"s3://npm-registry-packages"}},"2.0.3":{"name":"ts-postgres","version":"2.0.3","keywords":["database","postgres","postgresql","rdbms"],"author":{"name":"Malthe Borch","email":"mborch@gmail.com"},"license":"MIT","_id":"ts-postgres@2.0.3","maintainers":[{"name":"malthe","email":"mborch@gmail.com"}],"homepage":"https://github.com/malthe/ts-postgres","bugs":{"url":"https://github.com/malthe/ts-postgres/issues"},"dist":{"shasum":"9ecb189faf088685740bca24a774b41af6a008b0","tarball":"https://registry.npmjs.org/ts-postgres/-/ts-postgres-2.0.3.tgz","fileCount":54,"integrity":"sha512-cGpyukK3cGLfPhBMBO5JBDfyWcofpvD/rIXHp1aryFM+aoi+6LqiWrXwcIpxkPAl2qo3dcGsMLOYU27BsYfLAg==","signatures":[{"sig":"MEUCIQCWYhNS4tZP6/hHUXhOajOR/1vBI74bkzyh6jNtb3UbVwIgfalweMVkcGJn6QsvzcTgGP/pD1ugMNnudFVBd0VksqA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":602484},"main":"./dist/module/index.js","type":"module","_from":"file:ts-postgres-2.0.3.tgz","types":"./dist/index.d.ts","engines":{"node":">=18.0"},"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/module/index.js"},"require":{"types":"./dist/index.d.ts","default":"./dist/commonjs/index.js"}}},"scripts":{"lint":"eslint -c .eslintrc.json --ext .ts src test","test":"node --experimental-default-type module --loader ts-node/esm --enable-source-maps --test test/*.test.ts","prebuild":"rimraf dist","build:cjs":"tsc -p tsconfig.dist.json --module commonjs --moduleResolution node --outDir dist/commonjs","build:esm":"tsc -p tsconfig.dist.json --outDir dist/module","test:prod":"npm run lint && npm run test"},"_npmUser":{"name":"malthe","email":"mborch@gmail.com"},"prettier":{"semi":true,"tabWidth":4,"overrides":[{"files":["*.md","*.yml"],"options":{"tabWidth":2}}],"singleQuote":true},"_resolved":"/Users/mborch/co/ts-postgres/ts-postgres-2.0.3.tgz","_integrity":"sha512-cGpyukK3cGLfPhBMBO5JBDfyWcofpvD/rIXHp1aryFM+aoi+6LqiWrXwcIpxkPAl2qo3dcGsMLOYU27BsYfLAg==","repository":{"url":"git://github.com/malthe/ts-postgres.git","type":"git"},"_npmVersion":"10.7.0","declaration":true,"description":"PostgreSQL client in TypeScript","directories":{},"_nodeVersion":"22.2.0","_hasShrinkwrap":false,"devDependencies":{"colors":"^1","eslint":"^8","rimraf":"~3.0","ts-node":"~10.9","typedoc":"~0.25","typescript":"~5.2","@types/node":"^20.11.21","lint-staged":"^15.0.2","eslint-plugin-node":"^11","dts-bundle-generator":"^9.3.1","eslint-plugin-import":"^2","eslint-plugin-promise":"^6","eslint-config-standard":"^17","eslint-plugin-prettier":"^5","@typescript-eslint/parser":"^6","@typescript-eslint/eslint-plugin":"^6"},"peerDependencies":{"@types/node":"^20"},"_npmOperationalInternal":{"tmp":"tmp/ts-postgres_2.0.3_1718438377557_0.21192947363092696","host":"s3://npm-registry-packages"}},"2.0.4":{"name":"ts-postgres","type":"module","version":"2.0.4","description":"PostgreSQL client in TypeScript","declaration":true,"keywords":["database","postgres","postgresql","rdbms"],"homepage":"https://github.com/malthe/ts-postgres","author":{"name":"Malthe Borch","email":"mborch@gmail.com"},"main":"./dist/module/index.js","types":"./dist/index.d.ts","exports":{".":{"require":{"types":"./dist/index.d.ts","default":"./dist/commonjs/index.js"},"import":{"types":"./dist/index.d.ts","default":"./dist/module/index.js"}}},"repository":{"type":"git","url":"git://github.com/malthe/ts-postgres.git"},"license":"MIT","engines":{"node":">=18.0"},"scripts":{"lint":"eslint -c .eslintrc.json --ext .ts src test","prebuild":"rimraf dist","build:cjs":"tsc -p tsconfig.dist.json --module commonjs --moduleResolution node --outDir dist/commonjs","build:esm":"tsc -p tsconfig.dist.json --outDir dist/module","test":"node --experimental-default-type module --loader ts-node/esm --enable-source-maps --test test/*.test.ts","test:prod":"npm run lint && npm run test"},"prettier":{"semi":true,"singleQuote":true,"tabWidth":4,"overrides":[{"files":["*.md","*.yml"],"options":{"tabWidth":2}}]},"devDependencies":{"@types/node":"^20.11.21","@typescript-eslint/eslint-plugin":"^6","@typescript-eslint/parser":"^6","colors":"^1","dts-bundle-generator":"^9.3.1","eslint":"^8","eslint-config-standard":"^17","eslint-plugin-import":"^2","eslint-plugin-node":"^11","eslint-plugin-prettier":"^5","eslint-plugin-promise":"^6","lint-staged":"^15.0.2","rimraf":"~3.0","ts-node":"~10.9","typedoc":"~0.25","typescript":"~5.2"},"peerDependencies":{"@types/node":"^20"},"_id":"ts-postgres@2.0.4","bugs":{"url":"https://github.com/malthe/ts-postgres/issues"},"_integrity":"sha512-KQL9xd4C2tVJdV+bshA5q9KikMrqfyc1MRQCGYF5QQSBAz+prpK/b4U1wiywOLtIBzgvFfXrvEZULu3Yp7GDsg==","_resolved":"/Users/mborch/co/ts-postgres/ts-postgres-2.0.4.tgz","_from":"file:ts-postgres-2.0.4.tgz","_nodeVersion":"22.2.0","_npmVersion":"10.7.0","dist":{"integrity":"sha512-KQL9xd4C2tVJdV+bshA5q9KikMrqfyc1MRQCGYF5QQSBAz+prpK/b4U1wiywOLtIBzgvFfXrvEZULu3Yp7GDsg==","shasum":"06146c561d9e94c7a48673212352a037391e07e3","tarball":"https://registry.npmjs.org/ts-postgres/-/ts-postgres-2.0.4.tgz","fileCount":54,"unpackedSize":604147,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDZjQrQBpvPrFDJgLL/LYp/FdnptwB28+V71/5ozmFw9AiApgSVVWh6T5ylePrG2FXP0Rl9WkMM+IplyyNNWpn8Agw=="}]},"_npmUser":{"name":"malthe","email":"mborch@gmail.com"},"directories":{},"maintainers":[{"name":"malthe","email":"mborch@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ts-postgres_2.0.4_1718826732074_0.27135974695766096"},"_hasShrinkwrap":false}},"time":{"created":"2018-10-13T11:04:40.231Z","modified":"2024-06-19T19:52:12.527Z","0.1.0":"2018-10-12T10:16:47.918Z","1.0.0-alpha1":"2018-10-13T11:04:40.436Z","1.0.0-alpha2":"2018-10-15T09:00:10.951Z","1.0.0-alpha3":"2018-10-18T21:36:16.941Z","1.0.0-beta1":"2018-10-19T12:33:47.849Z","1.0.0-beta2":"2018-10-20T08:33:56.272Z","1.0.0-beta3":"2018-10-21T18:48:32.052Z","1.0.0-beta4":"2018-10-25T09:28:49.510Z","1.0.0-rc1":"2018-10-25T18:51:25.400Z","1.0.0-rc2":"2018-10-26T05:13:20.588Z","1.0.0-rc3":"2018-12-13T20:40:40.225Z","1.0.0-rc4":"2018-12-13T22:20:54.978Z","1.0.0-rc5":"2018-12-18T23:14:56.615Z","1.0.0":"2019-01-08T12:34:41.727Z","1.0.1":"2019-01-13T10:11:11.602Z","1.0.2":"2019-02-08T11:54:35.196Z","1.1.0":"2019-06-24T06:04:55.310Z","1.1.1":"2019-12-06T21:55:47.025Z","1.1.2":"2019-12-28T08:06:39.227Z","1.1.3":"2020-02-23T09:58:50.197Z","1.2.0":"2021-11-19T15:45:02.726Z","1.2.1":"2021-12-23T12:46:13.228Z","1.3.0":"2022-08-22T07:57:53.297Z","1.3.1":"2023-06-19T14:03:42.343Z","1.4.0":"2023-11-10T10:38:47.807Z","1.5.0":"2023-12-06T12:10:45.135Z","1.6.0":"2023-12-13T12:12:27.609Z","1.7.0":"2023-12-13T18:41:34.405Z","1.8.0":"2023-12-13T23:35:00.677Z","1.9.0":"2024-01-23T08:24:13.898Z","2.0.0":"2024-02-29T08:32:54.345Z","2.0.1":"2024-03-10T09:29:05.393Z","2.0.2":"2024-04-12T20:26:31.270Z","2.0.3":"2024-06-15T07:59:37.890Z","2.0.4":"2024-06-19T19:52:12.299Z"},"maintainers":[{"name":"malthe","email":"mborch@gmail.com"}],"author":{"name":"Malthe Borch","email":"mborch@gmail.com"},"repository":{"type":"git","url":"git://github.com/malthe/ts-postgres.git"},"keywords":["database","postgres","postgresql","rdbms"],"license":"MIT","homepage":"https://github.com/malthe/ts-postgres","bugs":{"url":"https://github.com/malthe/ts-postgres/issues"},"readme":"![Build Status](https://github.com/malthe/ts-postgres/actions/workflows/main.yml/badge.svg)\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/ts-postgres\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/ts-postgres.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/ts-postgres\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/ts-postgres.svg\" alt=\"NPM downloads\" /></a></span>\n\nNon-blocking PostgreSQL client for Node.js written in TypeScript.\n\n### Install\n\nTo install the latest version of this library:\n\n```sh\n$ npm install ts-postgres\n```\n\n### Features\n\n- Fast!\n- Supports binary and text value formats (result data always uses binary)\n- Multiple queries can be sent at once (pipeline)\n- Extensible value model\n- Hybrid query result object\n  - Iterable (synchronous or asynchronous; one object at a time)\n  - Rows and column names\n  - Streaming data directly into a socket\n- Supports CommonJS and ESM modules\n- No dependencies\n\nSee the [documentation](https://malthe.github.io/ts-postgres/) for a complete reference.\n\n---\n\n## Usage\n\nThe client uses an async/await-based programming model.\n\n```typescript\nimport { connect } from 'ts-postgres';\n\ninterface Greeting {\n  message: string;\n}\n\nconst client = await connect();\n\ntry {\n  // The query method is generic on the result row.\n  const result = client.query<Greeting>(\n    \"SELECT 'Hello ' || $1 || '!' AS message\",\n    ['world'],\n  );\n\n  for await (const obj of result) {\n    // 'Hello world!'\n    console.log(obj.message);\n  }\n} finally {\n  await client.end();\n}\n```\n\nWith TypeScript 5.2+ there is also support for `await using`:\n```typescript\nawait using client = await connect();\n// Will be disposed of automatically at the end of the block.\n```\n\nWaiting on the result (i.e., result iterator) returns the complete query result.\n\n```typescript\nconst result = await client.query(...)\n```\n\nIf the query fails, an exception is thrown.\n\n### Connection options\n\nThe client constructor takes an optional\n[Configuration](https://malthe.github.io/ts-postgres/interfaces/Configuration.html) object.\n\nFor example, to connect to a remote host use the _host_ configuration key:\n\n```typescript\nconst client = await connect({\"host\": <hostname>});\n```\n\nThe following table lists the various configuration options and their\ndefault value when applicable.\n\n| Key                     | Type                             | Default                                    |\n| ----------------------- | :------------------------------- | ------------------------------------------ |\n| host                    | `string`                         | \"localhost\"                                |\n| port                    | `number`                         | 5432                                       |\n| user                    | `string`                         | _The username of the process owner_        |\n| database                | `string`                         | \"postgres\"                                 |\n| password                | `string`                         |                                            |\n| types                   | `Map<DataType, ValueTypeReader>` | _Default value mapping for built-in types_ |\n| extraFloatDigits        | `number`                         | 0                                          |\n| keepAlive               | `boolean`                        | true                                       |\n| preparedStatementPrefix | `string`                         | \"tsp\\_\"                                    |\n| connectionTimeout       | `number`                         | 10                                         |\n| ssl                     | `(SSLMode.Disable \\| SSL)`       | `{ mode: SSLMode.Prefer }`                 |\n\nWhen applicable, \"PG\" environment variables used by _libpq_ apply, see\nthe PostgreSQL documentation on [environment\nvariables](https://www.postgresql.org/docs/current/libpq-envars.html).\n\n#### SSL/TLS configuration\n\nAs shown in the configuration options table in the previous section,\nthe default behavior is to _prefer_ making a secure connection. That\nis, if the database has SSL/TLS configured, then the client will\neither make a secure connection or not connect at all.\n\nFor a self-signed certificate or a certificate that's not verifiable\nby the system certificates, either provide the signing certificate\nusing the `NODE_EXTRA_CA_CERTS` environment variable, or disable\nSSL/TLS altogether using `SSLMode.Disable` or the environment variable\n`PGSSLMODE=disable`.\n\nNote that _libpq_ supports a number of additional [SSL/TLS connection\nmodes](https://www.postgresql.org/docs/current/libpq-connect.html#LIBPQ-CONNECT-SSLMODE)\nbut most of them do not sit well with Node's [tls\nmodule](https://nodejs.org/api/tls.html) and are not offered here.\n\n### Querying\n\nThe `query` method accepts a text string or a\n[Query](https://malthe.github.io/ts-postgres/interfaces/Query.html) object \nas the first parameter, and a tuple of values as the second parameter. \n\nThe initial example above could be written as:\n\n```typescript\nconst query = { text: \"SELECT 'Hello ' || $1 || '!' AS message\" };\nconst result = await client.query<Greeting>(query, ['world']);\n```\n\nThe `Query` object has a number of optional properties that can change\nhow the query is carried out, including column name transformation.\n\nIf the object type is omitted, it defaults to `Record<string, any>`, but\nproviding a type ensures that the object values are typed, both when\naccessed via the iterator or record interface (see below).\n\n### Passing query parameters\n\nQuery parameters use the format `$1`, `$2` etc.\n\nWhen a specific data type can't be inferred from the query, PostgreSQL\nuses `DataType.Text` as the default data type (which is mapped to the\nstring type in TypeScript). An explicit type can be provided in two\ndifferent ways:\n\n1. Using type cast in the query, e.g. `$1::int`.\n\n2. By passing a list of types to the query method:\n\n   ```typescript\n   import { DataType } from 'ts-postgres';\n   const result = await client.query(\n     \"SELECT $1 || ' bottles of beer'\",\n     [99],\n     [DataType.Int4],\n   );\n   ```\n\nNote that the `number` type in TypeScript has a maximum safe integer\nvalue which is 2⁵³ – 1 (also given in the `Number.MAX_SAFE_INTEGER` constant),\na value which lies between `DataType.Int4` and `DataType.Int8`. For numbers\nwhich can take on a value that's outside the safe range, use `DataType.Int8`\n(which translates to a `bigint` in TypeScript.)\n\nThere's an optional setting `bigints` which can be configured on the client and/or\nspecified for each query. It defaults to _true_, but can be set to _false_ in which\ncase `number` is always used instead of `bigint` for `DataType.Int8` (throwing an\nerror if a query returns a value outside of the safe integer range.)\n\nUsing a [check constraint](https://www.postgresql.org/docs/current/ddl-constraints.html)\nis recommended to ensure that values fit into the safe\ninteger range, e.g. `CHECK (id < POWER(2, 53) - 1)`.\n\n### Iterator interface\n\nThe query result can be iterated over, either asynchronously, or after being awaited. The returned objects are reified representations of the result rows, provided as _objects_ of the generic type parameter specified for the query (optional, it defaults to `Record<string, any>`).\n\nTo extract all objects from the query result, you can use the _spread_ operator:\n\n```typescript\nconst result = await client.query('SELECT generate_series(0, 9) AS i');\nconst objects = [...result];\n```\n\nThe asynchronous await syntax around for-loops is another option:\n\n```typescript\nconst result = client.query(...);\nfor await (const obj of result) {\n  console.log('The number is: ' + obj.i); // 1, 2, 3, ...\n}\n```\n\n### Result interface\n\nThe awaited result object provides an interface based on rows and column names.\n\n```typescript\nfor (const row of result.rows) {\n  // Using the array indices:\n  console.log('The number is: ' + row[0]); // 1, 2, 3, ...\n\n  // Using the column name:\n  console.log('The number is: ' + row.get('i')); // 1, 2, 3, ...\n}\n```\n\nColumn names are available via the `names` property.\n\n### Streaming\n\nA query can support streaming of one or more columns directly into an\nasynchronous stream such as a network socket, or a file.\n\nAssuming that `socket` is a writable stream:\n\n```typescript\nconst result = await client.query({\n  text: 'SELECT some_bytea_column',\n  streams: { some_bytea_column: socket },\n});\n```\n\nThis can for example be used to reduce time to first byte and memory use.\n\n### Multiple queries\n\nThe query command accepts a single query only. If you need to send multiple queries, just call the method multiple times. For example, to send an update command in a transaction:\n\n```typescript\nclient.query('begin');\nclient.query('update ...');\nawait client.query('commit');\n```\n\nThe queries are sent back to back over the wire, but PostgreSQL still processes them one at a time, in the order they were sent (first in, first out).\n\n### Prepared statements\n\nYou can prepare a query and subsequently execute it multiple times. This is also known as a \"prepared statement\".\n\n```typescript\nconst statement = await client.prepare(\n  `SELECT 'Hello ' || $1 || '!' AS message`,\n);\nfor await (const object of statement.execute(['world'])) {\n  console.log(object.message); // 'Hello world!'\n}\n```\n\nWhen the prepared statement is no longer needed, it should be closed to release the resource.\n\n```typescript\nawait statement.close();\n```\nWith TypeScript 5.2+ it's also possible to use the `await using` construct which automatically closes the statement at the end of the block.\n\n\nPrepared statements can be used (executed) multiple times, even concurrently.\n\n## Notes\n\nQueries with parameters are sent using the prepared statement variant of the extended query protocol. In this variant, the type of each parameter is determined prior to parameter binding, ensuring that values are encoded in the correct format.\n\nIf a query has no parameters, it uses the portal variant which saves a round trip.\n\nThe copy commands are not supported.\n\n## FAQ\n\n1. _How do I set up a connection pool?_ You can for example use the [generic-pool](https://www.npmjs.com/package/generic-pool) library.\n\n   See the [generic-pool](./examples/generic-pool/) code example.\n\n2. _How do I convert column names to camelcase?_ Use the `transform` option:\n\n   ```typescript\n   const camelcase = (s: string) => s.replace(/(_\\w)/g, k => k[1].toUpperCase());\n   const result = client.query({text: ..., transform: camelcase})\n   ```\n\n3. _How do I use LISTEN/NOTIFY?_ Send `LISTEN` as a regular query, then subscribe to\n   notifications, filtering out the relevant channels.\n\n   ```typescript\n   import type { Notification } from 'ts-postgres';\n\n   const channel = 'test';\n   client.on('notification', (message: Notification) => {\n     if (message.channel === channel) {\n       // Do stuff\n     }\n   });\n   await client.query(`LISTEN ${channel}`);\n   ```\n\n## Benchmarking\n\nUse the following environment variable to run tests in \"benchmark\" mode.\n\n```bash\n$ NODE_ENV=benchmark npm run test\n```\n\n## Support\n\nts-postgres is free software. If you encounter a bug with the library please open an issue on the [GitHub repo](https://github.com/malthe/ts-postgres).\n\n## License\n\nCopyright (c) 2018-2024 Malthe Borch (mborch@gmail.com)\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\nTHE SOFTWARE.\n","readmeFilename":"README.md","users":{"flumpus-dev":true}}