From 5c7be809bdc01a410ae5e3ac2d201c7e73d673d6 Mon Sep 17 00:00:00 2001 From: Vitaly Tomilov Date: Fri, 6 Mar 2015 18:13:16 +0000 Subject: [PATCH] 1. docs update 2. increasing version to 0.2.2 --- README.md | 6 ++++-- package.json | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 9ebf98e3..dd236ab9 100644 --- a/README.md +++ b/README.md @@ -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). diff --git a/package.json b/package.json index 7cc5f406..51479f31 100644 --- a/package.json +++ b/package.json @@ -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": {