Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@embedded-postgres/darwin-x64

Package Overview
Dependencies
Maintainers
0
Versions
121
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@embedded-postgres/darwin-x64

A package containing the Postgres binaries for a particular architecture and operating system. See the embedded-postgres package.

  • 17.2.0-beta.15
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
641
increased by32.71%
Maintainers
0
Weekly downloads
 
Created
Source

Embedded Postgres

npm npm type definitions npm NPM GitHub Actions Workflow Status

🐘 A Node package that spawns PostgresQL clusters programatically.

This package contains the darwin-x64 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 darwin-x64.

npm i @embedded-postgres/darwin-x64

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/darwin-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.

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

FAQs

Package last updated on 04 Dec 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc