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.
DeprecationWarning: collection.ensureIndex is deprecated. Use createIndexes instead.
We have two deprecation warnings:
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.
DeprecationWarning: collection.ensureIndex is deprecated. Use createIndexes instead.
I created PR with fix #14.
Edit
I also updated dependencies.