Skip to content

Commit

Permalink
1. docs update
Browse files Browse the repository at this point in the history
2. increasing version to 0.2.2
  • Loading branch information
Vitaly Tomilov committed Mar 6, 2015
1 parent 0e9eb01 commit 5c7be80
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,13 @@ $ npm install pg-promise

### 1. Load the library
```javascript
var pgpLib = require('pg-promise'); // loading the library
// Loading the library:
var pgpLib = require('pg-promise');
```
### 2. Initialize the library
```javascript
var pgp = pgpLib(/*options*/); // initializing the library, with optional global settings
// Initializing the library, with optional global settings:
var pgp = pgpLib(/*options*/);
```
You can pass additional ```options``` parameter when initilizing the library (see chapter Advanced for details).

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "pg-promise",
"version": "0.2.1",
"version": "0.2.2",
"description": "PG + Promise made easy, with transactions support.",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit 5c7be80

Please sign in to comment.