index.js 630 B

1234567891011121314151617
  1. module.exports = {
  2. MongoError: require('./lib/error')
  3. , Server: require('./lib/topologies/server')
  4. , ReplSet: require('./lib/topologies/replset')
  5. , Mongos: require('./lib/topologies/mongos')
  6. , Logger: require('./lib/connection/logger')
  7. , Cursor: require('./lib/cursor')
  8. , ReadPreference: require('./lib/topologies/read_preference')
  9. , BSON: require('bson')
  10. // Raw operations
  11. , Query: require('./lib/connection/commands').Query
  12. // Auth mechanisms
  13. , MongoCR: require('./lib/auth/mongocr')
  14. , X509: require('./lib/auth/x509')
  15. , Plain: require('./lib/auth/plain')
  16. , GSSAPI: require('./lib/auth/gssapi')
  17. }