cantina-mongo

4.1.2 • Public • Published

cantina-mongo

MongoDB for Cantina applications

Provides

  • app.mongo - an initialized MongoDB object

Configuration

  • mongo - Options for creating the MongoDB client
    • hosts - String or Array of host[:port] combinations. port is optional. (default: localhost:27017)
    • db - String name of the database (default: cantina)
    • auth - Object hash containing username and password (default: none)
    • options - Object hash of connection specific options (default: none)

Defaults

{
  mongo: {
    hosts: 'localhost:27017',
    db: 'cantina'
  }
}

Developed by TerraEclipse

Terra Eclipse, Inc. is a nationally recognized political technology and strategy firm located in Santa Cruz, CA and Washington, D.C.

Readme

Keywords

none

Package Sidebar

Install

npm i cantina-mongo

Weekly Downloads

2

Version

4.1.2

License

none

Last publish

Collaborators

  • cpsubrian