Answers for "unistall mongoose"

10

how to install mongoose

$ npm install mongoose
Posted by: Guest on May-18-2020
-1

mongoose npm

const mongoose = require('mongoose');
mongoose.connect('mongodb://localhost/my_database', {
    useNewUrlParser: true,
    useUnifiedTopology: true,
    useFindAndModify: false,
    useCreateIndex: true
  })
  .then(()=> console.log('connect'))
  .catch((error) => console.error(error));
Posted by: Guest on October-16-2020
0

uninstall mongoose using npm

$ npm uninstall mongoose

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

$
Posted by: Guest on October-01-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language