Skip to content

Commit 155216b

Browse files
committed
documentation and package.json update
1 parent 85b3f3e commit 155216b

File tree

2 files changed

+17
-3
lines changed

2 files changed

+17
-3
lines changed

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# pgpass
22

3+
[![Build Status](https://travis-ci.org/hoegaarden/pgpass.png?branch=master)](https://travis-ci.org/hoegaarden/pgpass)
4+
35
## Install
46

57
```sh
@@ -10,14 +12,14 @@ npm install --save hoegaarden/pgpass
1012
```js
1113
var pgPass = require('pgpass');
1214

13-
var conn_info = {
15+
var connInfo = {
1416
'host' : 'pgserver' ,
1517
'user' : 'the_user_name' ,
1618
};
1719

1820

1921
// ---- async ----
20-
pgPass(conn_info, function(pass){
22+
pgPass(connInfo, function(pass){
2123
conn_info.password = pass;
2224
// connect to postgresql server
2325
});

package.json

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"coverage": "rm -rf -- lib-cov ; PATH=$PATH:./node_modules/jscoverage/bin ; jscoverage lib lib-cov && mocha -R html-cov > coverage.html",
1010
"hint": "PATH=$PATH:./node_modules/jshint/bin ; jshint --verbose lib test"
1111
},
12-
"author": "Hannes Hörl <[email protected]>",
12+
"author": "Hannes Hörl <hannes.hoerl+pgpass@snowreporter.com>",
1313
"license": "BSD-2-Clause",
1414
"dependencies": {
1515
"split": "~0.2.10"
@@ -19,5 +19,17 @@
1919
"resumer": "0.0.0",
2020
"jscoverage": "~0.3.8",
2121
"jshint": "~2.3.0"
22+
},
23+
"keywords": [
24+
"postgres",
25+
"pg",
26+
"pgpass",
27+
"password",
28+
"postgresql"
29+
],
30+
"bugs": "https://github.com/hoegaarden/pgpass/issues",
31+
"repository": {
32+
"type": "git",
33+
"url": "https://github.com/hoegaarden/pgpass.git"
2234
}
2335
}

0 commit comments

Comments
 (0)