daily pastebin goal
0%
SHARE
TWEET

Untitled

a guest May 23rd, 2018 52 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. const { envConfig } = require('url-config');
  2.  
  3. module.exports.envCfg = function (options = {}) {
  4.     return async function () {
  5.         const config = await envConfig('mongodb://localhost:27017', 'dbname');
  6.     }
  7. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top