New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

pg-helpers

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pg-helpers - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

.env-template

24

package.json
{
"name": "pg-helpers",
"version": "0.0.1",
"version": "0.0.2",
"description": "Helpers for quering a postgres database",
"main": "lib/index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
"lint": "node_modules/.bin/goodparts .",
"coverage": "istanbul check-coverage",
"test": "istanbul cover tape ./tests/*.test.js | node_modules/tap-spec/bin/cmd.js"
},

@@ -21,3 +23,17 @@ "repository": {

},
"homepage": "https://github.com/postgres-plugin/pg-helpers#readme"
}
"homepage": "https://github.com/postgres-plugin/pg-helpers#readme",
"devDependencies": {
"env2": "^2.1.1",
"goodparts": "^1.2.0",
"istanbul": "^0.4.5",
"pg": "^6.1.0",
"pre-commit": "^1.1.3",
"tap-spec": "^4.1.1",
"tape": "^4.6.2"
},
"pre-commit": [
"lint",
"test",
"coverage"
]
}
# pg-helpers
A list of helpers to query a Postgres database
## Tests
By default the tests will run with the following configuration for Postgres:
```
{
user: 'postgres',
database: 'test',
password: '',
host: 'localhost',
port: 5432,
max: 10,
idleTimeoutMillis: 30000
};
```
You can change this default values by defining the following environment variable in a .env file:
```
PG_USER=user_pg
PG_PASSWORD=the_password
PG_DATABASE=the_db_name
```

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc