Gathering detailed insights and metrics for ydb-sdk-lite
Gathering detailed insights and metrics for ydb-sdk-lite
Gathering detailed insights and metrics for ydb-sdk-lite
Gathering detailed insights and metrics for ydb-sdk-lite
npm install ydb-sdk-lite
Typescript
Module System
Node Version
NPM Version
56.4
Supply Chain
86.9
Quality
73.9
Maintenance
100
Vulnerability
97.9
License
JavaScript (98.36%)
TypeScript (1.6%)
Shell (0.04%)
Total Downloads
6,279
Last Day
3
Last Week
11
Last Month
83
Last Year
632
4 Stars
108 Commits
3 Watching
1 Branches
1 Contributors
Minified
Minified + Gzipped
Latest Version
2.1.0
Package Id
ydb-sdk-lite@2.1.0
Unpacked Size
3.61 MB
Size
240.92 kB
File Count
84
NPM Version
8.1.0
Node Version
16.13.0
Cumulative downloads
Total Downloads
Last day
0%
3
Compared to previous day
Last week
-78.8%
11
Compared to previous week
Last month
654.5%
83
Compared to previous month
Last year
-45.2%
632
Compared to previous year
Lightweight implementation of ydb-sdk for Node.js. Mainly for usage in serverless functions.
npm i ydb-sdk-lite
1const { Ydb } = require('ydb-sdk-lite'); 2 3// create Ydb client 4const ydb = new Ydb({ dbName: 'xxx', iamToken: 'yyy', tablePathPrefix: 'zzz' }); 5 6// execute single query (DML only) 7const [ users ] = await ydb.executeDataQuery('SELECT * FROM users'); 8 9// execute single query with params 10const query = ` 11 DECLARE $userId AS int32; 12 SELECT * FROM users WHERE userId = $userId; 13`; 14const [ users ] = await ydb.executeDataQuery(query, { $userId: 42 }); 15 16// execute any YQL (DDL + DML) 17await ydb.executeYql('DROP TABLE users');
Full example of using ydb-sdk-lite
in serverless function.
tbd
MIT @ Vitaliy Potapov
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
Found 0/30 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
license file not detected
Details
Reason
security policy file not detected
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
project is not fuzzed
Details
Reason
18 existing vulnerabilities detected
Details
Score
Last Scanned on 2024-12-16
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