Current URL string parser is deprecated Languages

Current URL string parser is deprecated

when I run the code by "node app.js" command this error is showing(node:2509) 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.
Read More