title: What does useNewURLParser and userCreateIndex in mongoose.connect() do?
body: <p>I am currently new to MongoDB and NodeJS and I would like to know what the options useNewURLParser and useCreateIndex do.</p>
  <pre><code>const mongoose = require(&quot;mongoose&quot;);
  
  mongoose.connect(&quot;mongodb://127.0.0.1:27017/task-manager-api&quot;,
  {
      useNewUrlParser: true,
      useCreateIndex: true
  })
  
  </code></pre>