Ohm-Management - Projektarbeit B-ME
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

index.js 247B

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