A package containing the Postgres binaries for a particular architecture and operating system. See the embedded-postgres package.
npm install @embedded-postgres/linux-x64This package contains the linux-x64 Postgres binaries for use with the embedded-postgres
package. See
embedded-postgres for a more
developer-friendly way of spawning PostgresQL clusters.
embedded-postgres is available from NPM:``sh`
npm i embedded-postgres
, and binaries.`sh
npm i @embedded-postgres/linux-x64
`
Follow the documentation to discover how to interface with the binaries. Any implementation is going to look something like this:
`ts
import { pg_ctl, initdb, postgres } from '@embedded-postgres/linux-x64'
import { execSync, spawn } from 'child_process';execSync(initdb);
spawn(postgres);
``> [!IMPORTANT]
> A more friendly wrapper for using these binaries is provided as the
> embedded-postgres package.
> Please use it if you're confused by the binaries.