désinstaller la mongoose à l'aide de NPM

$ npm uninstall mongoose

removed 22 packages and audited 1204 packages in 3.311s
found 0 vulnerabilities

$ 
tinydev