Gathering detailed insights and metrics for @theos/timed-out
Gathering detailed insights and metrics for @theos/timed-out
npm install @theos/timed-out
Typescript
Module System
Min. Node Version
Node Version
NPM Version
JavaScript (100%)
Total Downloads
544
Last Day
1
Last Week
1
Last Month
4
Last Year
40
52 Stars
50 Commits
22 Forks
6 Watching
1 Branches
9 Contributors
Latest Version
4.0.1
Package Id
@theos/timed-out@4.0.1
Size
2.09 kB
NPM Version
5.5.1
Node Version
9.3.0
Cumulative downloads
Total Downloads
Last day
0%
1
Compared to previous day
Last week
-50%
1
Compared to previous week
Last month
0%
4
Compared to previous month
Last year
-64.3%
40
Compared to previous year
Timeout HTTP/HTTPS requests
Emit Error object with code
property equal ETIMEDOUT
or ESOCKETTIMEDOUT
when ClientRequest is hanged.
1var get = require('http').get; 2var timeout = require('timed-out'); 3 4var req = get('http://www.google.ru'); 5timeout(req, 2000); // Set 2 seconds limit
Required
Type: ClientRequest
The request to watch on.
Required
Type: number
or object
Time in milliseconds to wait for connect
event on socket and also time to wait on inactive socket.
Or you can pass Object with following fields:
connect
- time to wait for connectionsocket
- time to wait for activity on socketMIT © Vsevolod Strukchinsky
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
no dangerous workflow patterns detected
Reason
security policy file detected
Details
Reason
0 existing vulnerabilities detected
Reason
license file detected
Details
Reason
Found 10/26 approved changesets -- score normalized to 3
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
no effort to earn an OpenSSF best practices badge detected
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-01-06
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