- npm un mongodb
this would unistall mongodb from current projetc and remove its dependency info from package.json file
npm i mongodb@3.1.4
npm view mongodb version
show the current installed module's version
- npm view mongodb versions
note, the last world has a 's', this shows all the released version of mongodb and hep you to choose an old version if needed.