1.1.1 • Published 6 years ago
@titus_entertainment/mongohandler v1.1.1
Mongo Handler
This is a very simple personal package but use it if you feel like it.
This package is meant to just serve as a quick start to connecting to a mongodb database.
It also has some simple error handling.
usage:
const { MongoHandler } = require('@titus_entertainment/mongohandler');
// The package allows you to simple add your mongodb uri to connect to
const db = new MongoClient({ url: 'mymongodburi' });