1 2 3 4 5 6 7 8 9 10 11 12 13
'use strict'; var env = require('../env') if ('unknown' == env.type) { throw new Error('Unknown environment') } module.exports = env.isNode ? require('./node') : env.isMongo ? require('./collection') : require('./collection');