Gathering detailed insights and metrics for @steedos/odata-v4-sql
Gathering detailed insights and metrics for @steedos/odata-v4-sql
Gathering detailed insights and metrics for @steedos/odata-v4-sql
Gathering detailed insights and metrics for @steedos/odata-v4-sql
npm install @steedos/odata-v4-sql
Typescript
Module System
Node Version
NPM Version
JavaScript (56.94%)
TypeScript (43.06%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
21 Stars
13 Commits
19 Forks
11 Watchers
2 Branches
7 Contributors
Updated on Jun 24, 2025
Latest Version
2.6.38
Package Id
@steedos/odata-v4-sql@2.6.38
Unpacked Size
73.53 kB
Size
12.98 kB
File Count
17
NPM Version
lerna/4.0.0/node@v14.21.3+x64 (linux)
Node Version
14.21.3
Published on
May 04, 2025
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
2
1
Service OData v4 requests from an SQL data store.
The OData V4 SQL Connector provides functionality to convert the various types of OData segments into SQL query statements, that you can execute over an SQL database.
1import { createFilter } from '@steedos/odata-v4-sql' 2 3//example request: GET /api/Users?$filter=Id eq 42 4app.get("/api/Users", (req: Request, res: Response) => { 5 const filter = createFilter(req.query.$filter); 6 // request instance from mssql module 7 request.query(`SELECT * FROM Users WHERE ${filter.where}`, function(err, data){ 8 res.json({ 9 '@odata.context': req.protocol + '://' + req.get('host') + '/api/$metadata#Users', 10 value: data 11 }); 12 }); 13});
Advanced TypeScript example available here.
1var createFilter = require('@steedos/odata-v4-sql').createFilter; 2 3app.get("/api/Users", function(req, res) { 4 var filter = createFilter(req.query.$filter); 5 // request instance from mssql module 6 request.query(filter.from("Users"), function(err, data){ 7 res.json({ 8 '@odata.context': req.protocol + '://' + req.get('host') + '/api/$metadata#Users', 9 value: data 10 }); 11 }); 12})
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
Found 2/12 approved changesets -- score normalized to 1
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
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
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
27 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