
Security News
curl Shuts Down Bug Bounty Program After Flood of AI Slop Reports
A surge of AI-generated vulnerability reports has pushed open source maintainers to rethink bug bounties and tighten security disclosure processes.
@nbsh/writables
Advanced tools
writablesUseful implementations for writable stream
$ npm i -S @nbsh/writables
$ yarn add @nbsh/writables
import { createReadStream } from 'fs';
import { once } from 'events';
import { AccumulateStream, RotateStream, DomainStream, DOMAIN_EVENT, ROTATE_EVENT } from '@nbsh/writables';
(async (): void => {
// file.txt: (2kb)
// @nbsh/writables
// streams are awesome. streams are awesome.
// streams are awesome. streams are awesome.
// ... ...
// @nbsh/writables
const readable = createReadStream('file.txt');
const acc = new AccumulateStream();
const rot = new RotateStream({ size: '1kb', count: 2 });
const dom = new DomainStream('@nbsh/writables');
readable.pipe(acc);
readable.pipe(rot);
readable.pipe(dom);
// will be emitted every 1kb and 2 writes
rot.on(ROTATE_EVENT, () => console.log(rot.getContent().toString()));
// will be emitted when '@nbsh/writables' written for the second time
await once(dom, DOMAIN_EVENT);
console.log(acc.getContent().toString());
})();
FAQs
Useful implementations for writable stream
We found that @nbsh/writables 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
A surge of AI-generated vulnerability reports has pushed open source maintainers to rethink bug bounties and tighten security disclosure processes.

Product
Scan results now load faster and remain consistent over time, with stable URLs and on-demand rescans for fresh security data.

Product
Socket's new Alert Details page is designed to surface more context, with a clearer layout, reachability dependency chains, and structured review.