title: Error message when connecting to MongoDB with NodeJs
body: <p>I am connecting to my MongoDB with node.js. The server connects to the database, but I get an annoying error message.</p>
  
  <p>This is the error:</p>
  
  <blockquote>
    <p>(node:9252) DeprecationWarning: current URL string parser is deprecated, and will be removed in a future version. To use the new parser, pass option { useNewUrlParser: true } to MongoClient.connect.</p>
  </blockquote>
  
  <p>here is my code which is located in a separate file that : <code>server.js</code>:</p>
  
  <pre><code>module.exports = {
      mongoURI: 'mongodb://127.0.0.1:27017/shoppinglist'
  } 
  </code></pre>
  
  <p>I wish to connect to mongodb without having any errors.
  I am running version 3.4.18</p>