1.0.0 • Published 3 years ago

@drivet/database v1.0.0

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

Drivet Database

npm

A simple database mainly for personal use. Uses cat-loggr as the main logger.

Install

NPM

npm install @drivet/database

Yarn

yarn add @drivet/database

Connecting to the database

const mysql = require('@drivet/database');
const client = new mysql();

client.connect({ 
  host: 'localhost',
  user: 'me',
  password: 'secret',
  database: 'my_db',
});