npm stats
  • Search
  • About
  • Repo
  • Sponsor
  • more
    • Search
    • About
    • Repo
    • Sponsor

Made by Antonio Ramirez

@bitfinex/bfx-facs-db-mongo

1.0.0

@vigan-abd

npmHomeRepoSnykSocket
Downloads:3
$ npm install @bitfinex/bfx-facs-db-mongo
DailyWeeklyMonthlyYearly

bfx-facs-db-mongo

MongoDB interaction facility for Grenache.

Uses native mongodb driver to interact with mongodb server.

Example configuration

{
  "m0": {
    "host": "127.0.0.1",
    "port": 27017,
    "user": "",
    "password": "",
    "database": "",
    "authSource": "admin"
  }
}

or

{
    "m0": {
       mongoUri: "mongodb://mongodb0.example.com:27017"
    }
}

or to send config in SRV connection format

{
  "m0": {
    "host": "127.0.0.1",
    "srv": true,
    "user": "",
    "password": "",
    "database": "",
    "authSource": "admin"
  }
}