Gathering detailed insights and metrics for request-sync
Gathering detailed insights and metrics for request-sync
Gathering detailed insights and metrics for request-sync
Gathering detailed insights and metrics for request-sync
npm install request-sync
Typescript
Module System
NPM Version
67.1
Supply Chain
75
Quality
73.5
Maintenance
50
Vulnerability
99.5
License
JavaScript (100%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
5 Stars
22 Commits
3 Forks
1 Watchers
2 Branches
2 Contributors
Updated on Aug 22, 2023
Minified
Minified + Gzipped
Latest Version
1.0.0
Package Id
request-sync@1.0.0
Size
5.15 kB
NPM Version
1.4.21
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
3
4
1
request-sync is deprecated, use sync-request
Because sometimes you want your web requests to be synchronous
npm install request-sync
Make a web request:
Options:
uri
|| url
- fully qualified uri or parsed url object from url.parse()
method
- http method (default: "GET"
)qs
- object containing querystring values to be appended to the uri
headers
- http headers (default: {}
)body
- entity body for PATCH, POST and PUT requests. Must be a Buffer
or String
.auth
- A hash containing values user
|| username
, password
|| pass
encoding
- encoding to stringify the result body, set this to null
to get a Buffer
1var response = request('http://www.example.com'); 2// => {statusCode: 200, headers: {}, body: 'string of html'} 3 4var response = request('http://www.example.com', {method: 'GET'}); 5// => {statusCode: 200, headers: {}, body: 'string of html'} 6 7var response = request({method: 'GET', uri: 'http://www.example.com'}); 8// => {statusCode: 200, headers: {}, body: 'string of html'}
MIT
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
0 existing vulnerabilities detected
Reason
license file detected
Details
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
Found 1/22 approved changesets -- 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
branch protection not enabled on development/release branches
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Score
Last Scanned on 2025-05-05
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