You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

mongodb-read-preference

Package Overview
Dependencies
Maintainers
5
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mongodb-read-preference

MongoDB Read Preferences.

1.0.6
latest
Source
npmnpm
Version published
Weekly downloads
359
88.95%
Maintainers
5
Weekly downloads
 
Created
Source

mongodb-read-preference

MongoDB Read Preferences.

Example

var ReadPreference = require('mongodb-read-preference');
console.log(ReadPreference.primary.slaveOk());
>>> false
console.log(ReadPreference.secondary.slaveOk());
>>> true

License

Apache 2

FAQs

Package last updated on 12 Jan 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts