
Security News
Bun 1.2.19 Adds Isolated Installs for Better Monorepo Support
Bun 1.2.19 introduces isolated installs for smoother monorepo workflows, along with performance boosts, new tooling, and key compatibility fixes.
pull-buffered
Advanced tools
Transform a pull-stream so that it can be read from in useful buffered ways.
var b = pullBuffered()
pull(
bufferOrStringSource,
b
)
pull(
b.lines,
pull.drain(function (line) {
console.log('got line', line)
})
)
pull(
b.chunks(5),
pull.drain(function (chunk) {
console.log('got chunk of length 5', chunk)
})
)
pull(
b.take(10),
pull.collect(function (err, chunks) {
console.log('got the first 10 characters', chunks.join(''))
})
)
b.lines(null, function (end, line) {
console.log('got first line with length', line)
var len = parseInt(line, 10)
b.chunks(len)(end, function (end, buf) {
console.log('got chunk with length ' + len + ':', buf)
pull(
b, // Pass-through the rest
pull.collect(function (err, chunks) {
console.log('got the rest', chunks.join(''))
})
)
})
})
ISC
FAQs
read buffered data from a pull-stream
The npm package pull-buffered receives a total of 9 weekly downloads. As such, pull-buffered popularity was classified as not popular.
We found that pull-buffered 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
Bun 1.2.19 introduces isolated installs for smoother monorepo workflows, along with performance boosts, new tooling, and key compatibility fixes.
Security News
Popular npm packages like eslint-config-prettier were compromised after a phishing attack stole a maintainer’s token, spreading malicious updates.
Security News
/Research
A phishing attack targeted developers using a typosquatted npm domain (npnjs.com) to steal credentials via fake login pages - watch out for similar scams.