Gathering detailed insights and metrics for popsicle-transport-http
Gathering detailed insights and metrics for popsicle-transport-http
Gathering detailed insights and metrics for popsicle-transport-http
Gathering detailed insights and metrics for popsicle-transport-http
Popsicle transport for sending requests over HTTP1 and HTTP2
npm install popsicle-transport-http
Handle socket timeout race conditions
Published on 15 Nov 2021
Improved timeout support
Published on 12 Nov 2021
Fix ALPN negotiation over TLS
Published on 29 Apr 2021
HTTP2 unref after response is ended
Published on 16 Mar 2021
Use Default `dns.lookup`
Published on 14 Feb 2021
Allow `secureOptions` option
Published on 11 Jan 2021
Module System
Min. Node Version
Typescript Support
Node Version
NPM Version
3 Stars
69 Commits
2 Watching
1 Branches
1 Contributors
Updated on 15 Nov 2021
Minified
Minified + Gzipped
TypeScript (100%)
Cumulative downloads
Total Downloads
Last day
2.3%
15,308
Compared to previous day
Last week
1%
85,211
Compared to previous week
Last month
5%
355,192
Compared to previous month
Last year
25.1%
4,499,232
Compared to previous year
1
1
Popsicle transport for sending requests over HTTP1 and HTTP2.
npm install popsicle-transport-http --save
1import { transport } from "popsicle-transport-http"; 2 3const req = new Request("/"); 4const res = await transport()(req, done);
The transport
function sends the Servie Request
to a remote server.
keepAlive?: number
Keep connection alive for re-use with delay between probe (default: 5000
, 5 seconds)idleSocketTimeout?: number
Maximum duration for a socket to have no traffic (default: 300_000
, 5 minutes)idleRequestTimeout?: number
Maximum duration for a HTTP request to have no traffic (default: 30_000
, 30 seconds)servername?: string
Override remote server name for TLSrejectUnauthorized?: boolean
Rejects unauthorized TLS connectionsnegotiateHttpVersion?: NegotiateHttpVersion
Configure HTTP version negotiation (default: HTTP2_FOR_HTTPS
)lookup?: DnsLookup
Override default DNS resolution (default: dns.lookup
)ca?: string | Buffer | Array<string | Buffer>
Set TLS CAcert?: string | Buffer
Set TLS certificatekey?: string | Buffer
Set TLS keysecureContext?: SecureContext
Set TLS secure contextsecureProtocol?: string
Set TLS secure protocolsecureOptions?: number
Set TLS secure optionsInfinity
active sockets):
tlsSockets?: ConnectionManager<TLSSocket>
netSockets?: ConnectionManager<Socket>
http2Sessions?: ConnectionManager<ClientHttp2Session>
createHttp2Connection?: (authority, socket) => ClientHttp2Session
createNetConnection?: (options) => Socket
createTlsConnection?: (options) => TLSSocket
This project is written using TypeScript and publishes the definitions directly to NPM.
MIT
No vulnerabilities found.
Reason
security policy file detected
Details
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
dependency not pinned by hash detected -- score normalized to 2
Details
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
Found 0/30 approved changesets -- score normalized to 0
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
Reason
14 existing vulnerabilities detected
Details
Score
Last Scanned on 2024-11-18
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