Gathering detailed insights and metrics for sql-summary
Gathering detailed insights and metrics for sql-summary
Gathering detailed insights and metrics for sql-summary
Gathering detailed insights and metrics for sql-summary
npm install sql-summary
Module System
Min. Node Version
Typescript Support
Node Version
NPM Version
5 Stars
12 Commits
2 Forks
13 Watching
3 Branches
78 Contributors
Updated on 07 Oct 2024
JavaScript (100%)
Cumulative downloads
Total Downloads
Last day
-1.2%
56,025
Compared to previous day
Last week
3.5%
306,825
Compared to previous week
Last month
0.5%
1,306,489
Compared to previous month
Last year
20.4%
14,949,241
Compared to previous year
1
Summarize any SQL query.
This JavaScript module will analyse an SQL query and return a very brief summary string containing:
SELECT
, INSERT
, UPDATE
etc.)TABLE
, DATABASE
etc.)For example, if given the following SQL query:
1SELECT col1, col2 FROM table_name WHERE id=1
The following summary string is produced:
1SELECT FROM table_name
npm install sql-summary
1var sqlSummary = require('sql-summary') 2 3var query = 'UPDATE table_name SET col1=1, col2=2 WHERE id=1' 4 5console.log('Running query:', sqlSummary(query)) // => 'Running query: UPDATE table_name' 6db.query(query, function (err, result) { 7 // ... 8})
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
no dangerous workflow patterns detected
Reason
0 existing vulnerabilities detected
Reason
license file detected
Details
Reason
security policy file detected
Details
Reason
branch protection is not maximal on development and all release branches
Details
Reason
Found 1/12 approved changesets -- score normalized to 0
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
project is not fuzzed
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Score
Last Scanned on 2024-11-25
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