0.0.1 • Published 6 years ago

mono-postgres v0.0.1

Weekly downloads
1
License
Apache-2.0
Repository
github
Last release
6 years ago

mono-postgres

PostreSQL module for Mono

npm version Travis Coverage license

Installation

npm install --save mono-postgres

Then, in your configuration file of your Mono application (example: conf/application.js):

module.exports = {
  mono: {
    modules: ['mono-postgres']
  }
}

Configuration

mono-postgres will use the mono.postgres property of your configuration (example: conf/development.js):

module.exports = {
  mono: {
    postgres: {
      /* Module options */
    }
  }
}

Usage

In your src/ files of your Mono project, you can access hello like this:

const { hello } = require('mono-postgres')

hello()

Development / Contribution

See the contribution guidelines of this project.

License

Apache-2.0 © AdminLP