helper.js 228 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 10 'use strict' function mergeMongoOptions(mongoOptions) { const DEFAULT_OPTS = { useNewUrlParser: true, useUnifiedTopology: true } return Object.assign(DEFAULT_OPTS, mongoOptions) } module.exports = { mergeMongoOptions, }