Search code examples
npmnode-mongodb-native

How to check node-mongodb-native driver version?


I am using official node-mongodb-native driver in my project. Which was installed by doing npm install mongodb. However I want to check its version but not sure how to do so.

There is nothing in the READ.ME file of that npm repo.

Please help.

Thanks.


Solution

  • According to the npm documentation you can get a list of npm packages and their corresponding versions using npm ls or npm ls -g (for global)