Socket
Socket
Sign inDemoInstall

hapi-knex-postgres

Package Overview
Dependencies
95
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.1.1 to 0.1.2

2

package.json
{
"name": "hapi-knex-postgres",
"version": "0.1.1",
"version": "0.1.2",
"description": "Knex plugin for hapi using postgres",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -12,2 +12,7 @@ # hapi-knex-postgres

## Dependcies
- postgres
- (knex)[http://knexjs.org/]
- (generic-pool)[https://github.com/coopernurse/node-pool]
## Use

@@ -21,5 +26,5 @@ - Register plugin

attach: 'onPreHandler', // By default will be attach to onPreHandler
detach: 'tail, // by default, will close the pool connection when request end
detach: 'tail', // by default, will close the pool connection when request end
searchPath: 'public', you can overwrite it
pool: { // checkout (generic-pool)[https://github.com/coopernurse/node-pool] },
pool: { // checkout generic-pool },
debug: boolean, //default false

@@ -26,0 +31,0 @@ acquireConnectionTimeout: 10000

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc