File tree Expand file tree Collapse file tree 2 files changed +17
-3
lines changed Expand file tree Collapse file tree 2 files changed +17
-3
lines changed Original file line number Diff line number Diff line change 1
1
# pgpass
2
2
3
+ [ ![ Build Status] ( https://travis-ci.org/hoegaarden/pgpass.png?branch=master )] ( https://travis-ci.org/hoegaarden/pgpass )
4
+
3
5
## Install
4
6
5
7
``` sh
@@ -10,14 +12,14 @@ npm install --save hoegaarden/pgpass
10
12
``` js
11
13
var pgPass = require (' pgpass' );
12
14
13
- var conn_info = {
15
+ var connInfo = {
14
16
' host' : ' pgserver' ,
15
17
' user' : ' the_user_name' ,
16
18
};
17
19
18
20
19
21
// ---- async ----
20
- pgPass (conn_info , function (pass ){
22
+ pgPass (connInfo , function (pass ){
21
23
conn_info .password = pass;
22
24
// connect to postgresql server
23
25
});
Original file line number Diff line number Diff line change 9
9
"coverage" : " rm -rf -- lib-cov ; PATH=$PATH:./node_modules/jscoverage/bin ; jscoverage lib lib-cov && mocha -R html-cov > coverage.html" ,
10
10
"hint" : " PATH=$PATH:./node_modules/jshint/bin ; jshint --verbose lib test"
11
11
},
12
- "author" :
" Hannes Hörl <[email protected] >" ,
12
+ "author" : " Hannes Hörl <hannes.hoerl+pgpass @snowreporter.com>" ,
13
13
"license" : " BSD-2-Clause" ,
14
14
"dependencies" : {
15
15
"split" : " ~0.2.10"
19
19
"resumer" : " 0.0.0" ,
20
20
"jscoverage" : " ~0.3.8" ,
21
21
"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"
22
34
}
23
35
}
You can’t perform that action at this time.
0 commit comments