New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

mysql-pool-lib

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mysql-pool-lib

mysql pool

latest
npmnpm
Version
1.0.0
Version published
Maintainers
1
Created
Source

Description

quick connect your mysql with pool

Install

npm install mysql-pool-lib

Usage

mysqlLib = require("mysql-pool-lib");

// Init a mysqlLib
m = new mysqlLib({
  queueLimit: 5,
  connectionLimit: 20,
  host: 'localhost',
  port: '3306',
  user: 'root',
  password: 'root1234',
  database: 'test',
});    

m.query('select now()').then().catch();

m.transactionExecutor({sql, sqlParam}, {sql, sqkParam}).then().catch();

FAQs

Package last updated on 01 Nov 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts