8000 GitHub - BridgeAR/node-postgres: PostgreSQL client for node.js.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

BridgeAR/node-postgres

 
 

Repository files navigation

node-postgres

Build Status Dependency Status NPM version NPM downloads

Non-blocking PostgreSQL client for Node.js. Pure JavaScript and optional native libpq bindings.

Install

$ npm install pg

Features

  • Pure JavaScript client and native libpq bindings share the same API
  • Connection pooling
  • Extensible JS<->PostgreSQL data-type coercion
  • Supported PostgreSQL features
    • Parameterized queries
    • Named statements with query plan caching
    • Async notifications with LISTEN/NOTIFY
    • Bulk import & export with COPY TO/COPY FROM

Extras

node-postgres is by design pretty light on abstractions. These are some handy modules we've been using over the years to complete the picture. The entire list can be found on our wiki.

Support

node-postgres is free software. If you encounter a bug with the library please open an issue on the GitHub repo. If you have questions unanswered by the documentation please open an issue pointing out how the documentation was unclear & I will do my best to make it better!

When you open an issue please provide:

  • version of Node
  • version of Postgres
  • smallest possible snippet of code to reproduce the problem

You can also follow me @briancarlson if that's your thing. I try to always announce noteworthy changes & developments with node-postgres on Twitter.

Professional Support

I offer professional support for node-postgres. I provide implementation, training, and many years of expertise on how to build applications with Node, Express, PostgreSQL, and React/Redux. Please contact me at brian.m.carlson@gmail.com to discuss how I can help your company be more successful!

Sponsorship ⭐

If you are benefiting from node-postgres and would like to help keep the project financially sustainable please visit Brian Carlson's Patreon page.

Contributing