# pg-queries

> Neat promise and event based access layer around node-postgres

Latest version **0.0.3** (published 2013-12-13) · 0 weekly downloads

## Install

```sh
npm install pg-queries
pnpm add pg-queries
yarn add pg-queries
bun add pg-queries
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.3 |
| Published | 2013-12-13 |
| First published | 2013-12-03 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Ilya Igonkin |
| Maintainers | ilyai |
| Keywords | database, pg |

## Links

- npm: https://www.npmjs.com/package/pg-queries
- Repository: https://github.com/ilyai/pg-queries
- Issues: https://github.com/ilyai/pg-queries/issues
- npm.io page: https://npm.io/package/pg-queries

## Dependencies (2)

- [q](https://npm.io/package/q.md) ~0.9.7
- [pg](https://npm.io/package/pg.md) ~2.8.3

## Recent versions

- 0.0.3 (latest) — 2013-12-13
- 0.0.2 — 2013-12-03
- 0.0.1 — 2013-12-03

## README

# pg-queries

Neat promise and event based access layer around node-postgres.

## Installation

    npm install pg-queries

## Usage

Perform query(-ies) on particular connection.

```javascript
var pgq = require('pg-queries');

pgq.connect().then(function(connection) {
  connection.query("select version()").then(function(rows) {
    // ....
  });
});
```

Immediate query.

```javascript
var pgq = require('pg-queries');

pgq.query("select version()").then(function(rows) {
  // ....
});
```

## License
MIT

---
_Source: https://npm.io/package/pg-queries · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
