
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
async-concat-stream
Advanced tools
Asynchronous concat-stream. Writable stream that concatenates string or binary data and returns a promise that resolves with the result.
Asynchronous concat-stream. Writable stream that concatenates string or binary data and returns a promise that resolves with the result.
const concat = require('async-concat-stream')
Creates a writable concat-stream. The promise
property of the returned stream will be resolved when all of the data has been written to the stream.
Parameters:
opts
- concat-stream optionsReturns: Writable
- writable stream from concat-stream with promise
property
Usage:
let writable = concat()
readable.pipe(writable)
let data = await writable.promise // via ES7 async
Convenience method to read from the specified readable stream. Also handles errors from the readable stream.
Parameters:
readable
- Readable
, The readable streamopts
- concat-stream options
Returns: Promise
- resolves with the data from concat-streamUsage:
let data = await concat.from(readable) // via ES7 async
I like to avoid promise modules and unnecessarily adding stuff to and hybridizing promises.
MIT
FAQs
Asynchronous concat-stream. Writable stream that concatenates string or binary data and returns a promise that resolves with the result.
The npm package async-concat-stream receives a total of 78 weekly downloads. As such, async-concat-stream popularity was classified as not popular.
We found that async-concat-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.
Research
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.