dipswitch-postgres
Version:
postgres store for dipswitch
30 lines (23 loc) • 1.04 kB
Markdown
dipswitch-postgres
===============
[](https://github.com/feross/standard)
[](https://circleci.com/gh/lanetix/node-dipswitch-postgres)
[](https://david-dm.org/lanetix/node-dipswitch-postgres)
A store for [dipswitch](https://www.npmjs.com/package/dipswitch) which is backed by postgres.
Installation
------------
[](https://nodei.co/npm/dipswitch-postgres/)
```bash
npm install --save dipswitch-postgres
```
Usage
-----
Should only be used in conjuction with [dipswitch](https://www.npmjs.com/package/dipswitch).
```javascript
var dipswitchStore = require('dipswitch-postgres')(connectionString)
var Dipswitch = require('dipswitch')
var dipswitch = new Dipswitch({
store: dipswitchStore
})
...
```