Code Monkey home page Code Monkey logo

pg-core's Introduction

pg-core

PostgreSQL Core Driver for NodeJS.

Build Status Coverage Status

Initially based on node-postgres and its core packages, this core library for PostgreSQL is independent of the original work. Its goal is improved and simplified support with timely updates and bug fixes.

Installing

$ npm install pg-core

Using

var pg = require('pg-core');

The library exposes the same object as the original pg, with the addition of:

and with the exception of:

  • pg.native - native libpq bindings have been fully removed.

Apart from these differences, the original node-postgres is a reliable source of documentation that entirely covers functionality of this library as well.

Testing

For details on running tests on your local machine see testing pg-core.

Origins

The original snapshots were taken on November 11, 2015, and included:

All code changes later committed for original packages are merged into this library. For details see the merge history.

What's Changed

The following has been changed from the original node-postgres library:

  • Completely removed - pg.native, only javascript implementation is supported;
  • The library has being refactored for ES6 compliance
  • All dependencies are kept up-to-date, no use of obsolete packages;
  • Supported environments: NodeJS 0.10 - 5.x, PostgreSQL 9.x, Win/Linux/OS-X
  • New tests are being written in place of the old ones. YOUR HELP IS WELCOME!

License

The original license note can be found here.

pg-core's People

Contributors

vitaly-t avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.