
Security News
Deno 2.6 + Socket: Supply Chain Defense In Your CLI
Deno 2.6 introduces deno audit with a new --socket flag that plugs directly into Socket to bring supply chain security checks into the Deno CLI.
http-client-stream
Advanced tools
Use http requests as streams:
var http = require('http-client-stream')
var endpoint = http('http://www.google.com')
var stream = endpoint.createStream()
process.stdin.pipe(stream.pipe(process.stdout))
Use request options to add methods:
var http = require('http-client-stream')
var endpoint = http('http://www.google.com')
var stream = endpoint.createStream({
method: 'HEAD'
})
process.stdin.pipe(stream.pipe(process.stdout))
Use request options to add headers:
var http = require('http-client-stream')
var endpoint = http('http://www.google.com')
var stream = endpoint.createStream({
headers: {
'Range': 'bytes=9000-9001'
}
})
process.stdin.pipe(stream.pipe(process.stdout))
You can even use the cli:
npm install -g http-client-stream
http-stream http://gateway.ipfs.io/ipfs/QmUW2JxCaELBzy6jhdQjmyvd7sv1EVpunE2kqQta3SekYM/big_buck_bunny.avi
And you can pass json opts
http-stream http://gateway.ipfs.io/ipfs/QmUW2JxCaELBzy6jhdQjmyvd7sv1EVpunE2kqQta3SekYM/big_buck_bunny.avi '{"headers": {"Range":"bytes=100-104"}}'
And a body
> echo beep boop | http-stream --body http://localhost/echo '{"method": "POST"}'
beep boop
FAQs
make http streams
The npm package http-client-stream receives a total of 0 weekly downloads. As such, http-client-stream popularity was classified as not popular.
We found that http-client-stream demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Deno 2.6 introduces deno audit with a new --socket flag that plugs directly into Socket to bring supply chain security checks into the Deno CLI.

Security News
New DoS and source code exposure bugs in React Server Components and Next.js: what’s affected and how to update safely.

Security News
Socket CEO Feross Aboukhadijeh joins Software Engineering Daily to discuss modern software supply chain attacks and rising AI-driven security risks.