1.0.3 • Published 2 years ago
db-connections-pkg v1.0.3
Node Package to establish database connections: mysql, postgres, mongodb
MySQL , Postgres and Mongodb for Node.js based in
https://www.npmjs.com/package/mysql2
https://www.npmjs.com/package/mongoose
https://www.npmjs.com/package/postgres
Installation
Db connections pkg is is a way to establish connections with mysql, mongodb and postgres databases without having to burn the connection in code, so you can save those lines in your code.
npm i --save db-connections-pkg
npm i db-connections-pkg
MySQL Connection
let demo = require('db-connections-pkg');
demo.createConnection('mysql', host, port, user, password, database)
Authors
Victor Manuel Suarez