1.0.5 • Published 3 years ago

mongoose-mongodb-connecter v1.0.5

Weekly downloads
-
License
ISC
Repository
github
Last release
3 years ago

mongoose-mongodb-connecter

It's a nodeJS module that lets you connect to mongoDB without having to worry about depreciation(s)

Usage

You just have to simply import it into your nodejs app like this:

const connectDB = require("mongoose-mongodb-connecter");

After importing it, you just have to call it by passing your mongoose instance and the uri to your mongoDB database, as an argument, like this:

const mongoose = require("mongoose");
const dbURI = config.get("dbURI");
connectDB(mongoose, dbURI)

Links

GitHub
NPM
1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago