{"_id":"@alineo-labs/postgres","_rev":"5-25848b7c63f6cb90b912f0d78d59293b","name":"@alineo-labs/postgres","dist-tags":{"latest":"0.2.2"},"versions":{"0.1.0":{"name":"@alineo-labs/postgres","version":"0.1.0","license":"Apache-2.0","_id":"@alineo-labs/postgres@0.1.0","maintainers":[{"name":"drejtoolwell","email":"vivekpatel4049@gmail.com"}],"homepage":"https://github.com/DrejT/alineo#readme","bugs":{"url":"https://github.com/DrejT/alineo/issues"},"dist":{"shasum":"016c8db3c0a4b684aaff3f24835f024355e5b4c3","tarball":"https://registry.npmjs.org/@alineo-labs/postgres/-/postgres-0.1.0.tgz","fileCount":4,"integrity":"sha512-o4zVwpBp1dkKD0w1SoyzzbVQsE4RGTxF49xAH1i6AOmkoP5/T854F3UAqN3ECIuLolldgtIIvednVbWnR/nC2A==","signatures":[{"sig":"MEUCIQDu+sG+ql528PhxULoLJBXMEAyWfwgEFJeN980dAzujEgIgfFNr6fdGzWD98TE07OB1GYLLNwRjSKm9godhAkfOGEg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@alineo-labs%2fpostgres@0.1.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":8917},"main":"./dist/index.mjs","type":"module","types":"./dist/index.d.mts","exports":{".":{"types":"./dist/index.d.mts","import":"./dist/index.mjs"}},"gitHead":"85844a1b5aae067c377cbeb8dd692f3e7c29efa3","scripts":{"build":"tsdown"},"_npmUser":{"name":"drejtoolwell","email":"vivekpatel4049@gmail.com"},"repository":{"url":"git+https://github.com/DrejT/alineo.git","type":"git","directory":"packages/adapters/postgres"},"_npmVersion":"10.9.8","description":"Postgres storage adapter for [alineo](https://alineo.tech). Stores the sandbox ledger in a Postgres database — suitable for production deployments where multiple processes or machines share the same ledger.","directories":{},"_nodeVersion":"22.23.2","dependencies":{"postgres":"3.4.9","@alineo-labs/core":"0.1.0"},"publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"tsdown":"0.22.3","bun-types":"1.3.14","typescript":"6.0.3"},"_npmOperationalInternal":{"tmp":"tmp/postgres_0.1.0_1786774285882_0.09793609707994189","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@alineo-labs/postgres","version":"0.1.1","license":"Apache-2.0","_id":"@alineo-labs/postgres@0.1.1","maintainers":[{"name":"drejtoolwell","email":"vivekpatel4049@gmail.com"}],"homepage":"https://github.com/DrejT/alineo#readme","bugs":{"url":"https://github.com/DrejT/alineo/issues"},"dist":{"shasum":"d1ec93eebc2b53480e8520b1c0ea7b008c88d780","tarball":"https://registry.npmjs.org/@alineo-labs/postgres/-/postgres-0.1.1.tgz","fileCount":4,"integrity":"sha512-UAOZ2MaA6bmFRjHSAxR2clHo9jJt4oUTTmWWfAjoQtxSI/t24wl4zi7z+8wIdptnv8mSVDH7qaLga9i5QbXWSg==","signatures":[{"sig":"MEUCIFJO4lLuzvn+lfRgbQcvreCIuC82a6Zc7E31j4ZBpumyAiEAkkuRfoLN83DzeR3tkLS1VhlEbIjN04oNpEoWs45PG1A=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@alineo-labs%2fpostgres@0.1.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":8933},"main":"./dist/index.mjs","type":"module","types":"./dist/index.d.mts","exports":{".":{"types":"./dist/index.d.mts","import":"./dist/index.mjs"}},"gitHead":"68d77069e3789b1d20291f0ba9a21a2c1345d183","scripts":{"build":"tsdown"},"_npmUser":{"name":"drejtoolwell","email":"vivekpatel4049@gmail.com"},"repository":{"url":"git+https://github.com/DrejT/alineo.git","type":"git","directory":"packages/adapters/postgres"},"_npmVersion":"10.9.8","description":"Postgres storage adapter for [alineo](https://alineo.tech). Stores the sandbox ledger in a Postgres database — suitable for production deployments where multiple processes or machines share the same ledger.","directories":{},"_nodeVersion":"22.23.2","dependencies":{"postgres":"3.4.9","@alineo-labs/core":"0.2.0"},"publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"tsdown":"0.22.3","bun-types":"1.3.14","typescript":"6.0.3"},"_npmOperationalInternal":{"tmp":"tmp/postgres_0.1.1_1787410952187_0.28467694213846007","host":"s3://npm-registry-packages-npm-production"}},"0.2.0":{"name":"@alineo-labs/postgres","version":"0.2.0","license":"Apache-2.0","_id":"@alineo-labs/postgres@0.2.0","maintainers":[{"name":"drejtoolwell","email":"vivekpatel4049@gmail.com"}],"homepage":"https://github.com/DrejT/alineo#readme","bugs":{"url":"https://github.com/DrejT/alineo/issues"},"dist":{"shasum":"1b63b8a92ce5ba654351eaa98a4e02e13974d74e","tarball":"https://registry.npmjs.org/@alineo-labs/postgres/-/postgres-0.2.0.tgz","fileCount":4,"integrity":"sha512-3jaKaFL3jALuZmZhMKPx4tzBDNAoZfCkWvP/TUBvD1k0AeZ5+oQVbIqXiWAkIbBl/YjMKVy3fw5i6wuNQUAJ5g==","signatures":[{"sig":"MEQCIBpsm8Z7OC+6h472ZV+h5g3uYitnf0n1PKi264mgkoGDAiAIQomLs1mhDw/to1X4ETJCO1cKSoF/Xt6VYhHG8HHanw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@alineo-labs%2fpostgres@0.2.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":9571},"main":"./dist/index.mjs","type":"module","types":"./dist/index.d.mts","exports":{".":{"types":"./dist/index.d.mts","import":"./dist/index.mjs"}},"gitHead":"8bd54ff750438ee67b032d48e20abfade662099a","scripts":{"build":"tsdown"},"_npmUser":{"name":"drejtoolwell","email":"vivekpatel4049@gmail.com"},"repository":{"url":"git+https://github.com/DrejT/alineo.git","type":"git","directory":"packages/adapters/postgres"},"_npmVersion":"10.9.8","description":"Postgres storage adapter for [alineo](https://alineo.tech). Stores the sandbox ledger in a Postgres database — suitable for production deployments where multiple processes or machines share the same ledger.","directories":{},"_nodeVersion":"22.23.2","dependencies":{"postgres":"3.4.9","@alineo-labs/core":"0.3.0"},"publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"tsdown":"0.22.3","bun-types":"1.3.14","typescript":"6.0.3"},"_npmOperationalInternal":{"tmp":"tmp/postgres_0.2.0_1788102914123_0.12102494883191417","host":"s3://npm-registry-packages-npm-production"}},"0.2.1":{"name":"@alineo-labs/postgres","version":"0.2.1","license":"Apache-2.0","_id":"@alineo-labs/postgres@0.2.1","maintainers":[{"name":"drejtoolwell","email":"vivekpatel4049@gmail.com"}],"homepage":"https://github.com/DrejT/alineo#readme","bugs":{"url":"https://github.com/DrejT/alineo/issues"},"dist":{"shasum":"71c52358f08129f1548a68fb04d11a5c34a0685c","tarball":"https://registry.npmjs.org/@alineo-labs/postgres/-/postgres-0.2.1.tgz","fileCount":4,"integrity":"sha512-XXYy70euyLYffuz8YFupKJaI96FS+kSyVygobNM3d74vgFFH9jIS5wOqqkcLvvkGRgMcIkrD2CBcIVy7L8EIMw==","signatures":[{"sig":"MEYCIQCW5PwBxb0msUUB1G59/G9eLrhE7gm9RSAUXGmn7C3JWgIhAM2XTGefUGr7Y4S9HZedfT9nA0U7NUG6jEdCesgRrrox","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEYCIQC9edXKgNVk70iEp5zYVh5K4zpV5iVi4ajUL5lAKX1gaQIhAIz4G2sRLdfXXeUZ2K4Fq396w86VcE76Srpd5r96qIeT","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@alineo-labs%2fpostgres@0.2.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":9571},"main":"./dist/index.mjs","type":"module","types":"./dist/index.d.mts","exports":{".":{"types":"./dist/index.d.mts","import":"./dist/index.mjs"}},"gitHead":"0a4efc6f2b7e9cc4b02acf303b2439788d55907c","scripts":{"build":"tsdown"},"_npmUser":{"name":"drejtoolwell","email":"vivekpatel4049@gmail.com"},"repository":{"url":"git+https://github.com/DrejT/alineo.git","type":"git","directory":"packages/adapters/postgres"},"_npmVersion":"10.9.8","description":"Postgres storage adapter for [alineo](https://alineo.tech). Stores the sandbox ledger in a Postgres database — suitable for production deployments where multiple processes or machines share the same ledger.","directories":{},"_nodeVersion":"22.23.2","dependencies":{"postgres":"3.4.9","@alineo-labs/core":"0.4.0"},"publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"tsdown":"0.22.3","bun-types":"1.3.14","typescript":"6.0.3"},"_npmOperationalInternal":{"tmp":"tmp/postgres_0.2.1_1788628677775_0.3978563026878681","host":"s3://npm-registry-packages-npm-production"}},"0.2.2":{"_id":"@alineo-labs/postgres@0.2.2","bugs":{"url":"https://github.com/DrejT/alineo/issues"},"dist":{"shasum":"28ac3ce184a28e30930af26236826d6b77e9f293","tarball":"https://registry.npmjs.org/@alineo-labs/postgres/-/postgres-0.2.2.tgz","fileCount":4,"integrity":"sha512-2+3RGf21Y3cLOg2v3oxYere605JSyO1Nidrmn9a24YD7XLQ0VbbxfMOP1nqQ435HuyBQQmylEkI7XmjTXCKvMg==","signatures":[{"sig":"MEUCICXoVOBwfhCPkL3NFAXwEKRYa92YUZw89TkL6qauT0isAiEAmoqS1ftG6Wp3m451ZHFVMeLAD+SUqhGsIY+1FVS4mRI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEMCIBK/v3x3mFW3RbkinvwohYzBiCXNOpNiiJ86cqUxbfhHAh9DaocbcFKHQNnFDxaSWm2BcRnOuehGVFUMV0kXzy1r"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@alineo-labs%2fpostgres@0.2.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":9548},"main":"./dist/index.mjs","name":"@alineo-labs/postgres","type":"module","types":"./dist/index.d.mts","exports":{".":{"types":"./dist/index.d.mts","import":"./dist/index.mjs"}},"gitHead":"d3323f599d24aade22d8e26ed1ae695e1d236280","license":"Apache-2.0","scripts":{"build":"tsdown"},"version":"0.2.2","_npmUser":{"name":"drejtoolwell","email":"vivekpatel4049@gmail.com"},"homepage":"https://github.com/DrejT/alineo#readme","repository":{"url":"git+https://github.com/DrejT/alineo.git","type":"git","directory":"packages/adapters/postgres"},"_npmVersion":"10.9.8","description":"Postgres storage adapter for [alineo](https://alineo.tech). Stores the sandbox ledger in a Postgres database — suitable for production deployments where multiple processes or machines share the same ledger.","directories":{},"maintainers":[{"name":"drejtoolwell","email":"vivekpatel4049@gmail.com"}],"_nodeVersion":"22.23.2","dependencies":{"postgres":"3.4.9","@alineo-labs/core":"0.4.1"},"publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"tsdown":"0.23.0","bun-types":"1.4.2","typescript":"6.0.3"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/postgres_0.2.2_1789325313597_0.12447947155763628"}}},"time":{"created":"2026-08-15T06:11:25.652Z","modified":"2026-09-13T18:48:34.133Z","0.1.0":"2026-08-15T06:11:26.024Z","0.1.1":"2026-08-22T15:02:32.378Z","0.2.0":"2026-08-30T15:15:14.262Z","0.2.1":"2026-09-05T17:17:57.872Z","0.2.2":"2026-09-13T18:48:33.696Z"},"bugs":{"url":"https://github.com/DrejT/alineo/issues"},"license":"Apache-2.0","homepage":"https://github.com/DrejT/alineo#readme","repository":{"url":"git+https://github.com/DrejT/alineo.git","type":"git","directory":"packages/adapters/postgres"},"description":"Postgres storage adapter for [alineo](https://alineo.tech). Stores the sandbox ledger in a Postgres database — suitable for production deployments where multiple processes or machines share the same ledger.","maintainers":[{"name":"drejtoolwell","email":"vivekpatel4049@gmail.com"}],"readme":"# @alineo-labs/postgres\n\nPostgres storage adapter for [alineo](https://alineo.tech). Stores the sandbox ledger in a Postgres database — suitable for production deployments where multiple processes or machines share the same ledger.\n\n```bash\nbun add @alineo-labs/postgres\n```\n\nFor local development, [`@alineo-labs/sqlite`](https://github.com/DrejT/alineo/tree/main/packages/adapters/sqlite) is simpler and requires no infrastructure.\n\n---\n\n## Usage\n\n```ts\nimport { Sandbox } from \"@alineo-labs/sandbox\";\nimport { PostgresAdapter } from \"@alineo-labs/postgres\";\n\nconst client = new Sandbox({\n  baseUrl: \"http://localhost:8080\",\n  adapter: new PostgresAdapter(\"postgresql://user:pass@localhost:5432/alineo\"),\n});\n```\n\nThe adapter initialises lazily on first use and runs idempotent migrations (`CREATE TABLE IF NOT EXISTS`) on startup — no separate migration step needed.\n\n---\n\n## License\n\nApache 2.0\n","readmeFilename":"README.md"}