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

@cnlabs/pg-repo

Package Overview
Dependencies
Maintainers
4
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cnlabs/pg-repo

Postgress convinient repository

  • 3.2.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
8
decreased by-61.9%
Maintainers
4
Weekly downloads
 
Created
Source

pg-repo

This is a simple module for Postgress, that takes care about:

  1. connection management (single server or cluster)
  2. SQL execution
  3. data selection
  4. DDL support (table columns, indices and constraints)

Set environment variable POSTGRESS_CLUSTER=host-1:port-1,host-2:port-2,host-3:port-3 for cluster support

Set environment variable PG_REPO_DEBUG = true to see debug messages

Set environment variable PG_REPO_POOL_CHECK_INTERVAL (min value - 1000) in ms for refreshing servers roles in cluster

Keywords

FAQs

Package last updated on 20 Aug 2021

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