jelly-db-engine
TypeScript icon, indicating that this package has built-in type declarations

0.0.3 • Public • Published

db-engine

Engine for postgreSQL and MySQL databases

Current status (DEV)

This package is currently in development

Roadmap

  • Add postgresql support (DEV)
  • Add mysql support (DEV)

Instalation

install with npm

npm install jelly-db-engine

install with yarn

yarn add jelly-db-engine

Documentation

connect to database

const con = {
    type: 'mysql',
    host: '127.0.0.1',
    user: 'user',
    pass: '',
    port: 3306,
    database: 'mydatabase',
};
 
new DBEngine().connect(
            con.type,
            con.host,
            con.user,
            con.pass,
            con.port,
            con.database).then((e: any) => {
                console.log('connecting...', e);
            });

About

    if (foundSomeIssue) {
        reportIssue();
    }
 
    reportIssue() {
        iWillFixTheIssue();
        console.log('Thanks for your help ;)'):
    }

Package Sidebar

Install

npm i jelly-db-engine

Weekly Downloads

1

Version

0.0.3

License

ISC

Unpacked Size

53.7 kB

Total Files

33

Last publish

Collaborators

  • pedroladeira