@embedded-postgres/linux-arm

17.5.0-beta.15 • Public • Published

Embedded Postgres

npm npm type definitions npm NPM GitHub Actions Workflow Status

🐘 A Node package that spawns PostgresQL clusters programatically.

This package contains the linux-arm Postgres binaries for use with the embedded-postgres package. See embedded-postgres for a more developer-friendly way of spawning PostgresQL clusters.

Installation

embedded-postgres is available from NPM:

npm i embedded-postgres

Using just the binaries

If you just want to use the binaries, you can also just use this package directly. It exports the paths to the pg_ctl, initdb and postgres binaries for linux-arm.

npm i @embedded-postgres/linux-arm

Follow the documentation to discover how to interface with the binaries. Any implementation is going to look something like this:

import { pg_ctl, initdb, postgres } from '@embedded-postgres/linux-arm'
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.

Credits and Licensing

Embedded Postgres was created by Lei Nelissen for BMD Studio. It is based on zonky's embedded-postgres-binaries. The binaries are made available under the Apache License 2.0, whereas the specific code in this package is made available under the MIT license.

BMD Studio

Readme

Keywords

none

Package Sidebar

Install

npm i @embedded-postgres/linux-arm

Weekly Downloads

106

Version

17.5.0-beta.15

License

MIT

Unpacked Size

50.6 MB

Total Files

1012

Last publish

Collaborators

  • leinelissen