Gathering detailed insights and metrics for hi-mysql
Gathering detailed insights and metrics for hi-mysql
Gathering detailed insights and metrics for hi-mysql
Gathering detailed insights and metrics for hi-mysql
npm install hi-mysql
Typescript
Module System
Node Version
NPM Version
JavaScript (100%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
21 Commits
1 Forks
1 Watchers
20 Branches
1 Contributors
Updated on Nov 08, 2021
Latest Version
1.0.17
Package Id
hi-mysql@1.0.17
Unpacked Size
15.34 kB
Size
3.40 kB
File Count
9
NPM Version
6.14.15
Node Version
14.17.6
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
import x from './index';
const master = {
host: "192.168.99.100",
port: 3306,
user: "root",
password: "***",
database: "test"
};
const slave1 = {
host: "192.168.99.101",
port: 3306,
user : "developer",
password: "***",
database: "test"
}
const options = [master, slave];
// single instance
const pool = x.createPool(master);
// multiple instance, the first argument is master node
const pool = x.createPool([master, slave1, ... slaveN]);
const rows = await pool.query('select * from t');
const row = await pool.queryObject('select * from t limit 1');
const autoIncrementId = await pool.executeInsert('insert into t set name = ?, val = ?', ['a', 1]);
const affectedRows = await pool.executeUpdate('update t set val = 2');
const masterConn = pool.getConnection('master');
const slaveConn = pool.getConnection('slave');
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
Found 0/21 approved changesets -- score normalized to 0
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
no SAST tool detected
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
license file not detected
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
64 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-07-07
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More