
Research
GemStuffer Campaign Abuses RubyGems as Exfiltration Channel Targeting UK Local Government
GemStuffer abuses RubyGems as an exfiltration channel, packaging scraped UK council portal data into junk gems published from new accounts.
@types/each
Advanced tools
TypeScript definitions for each
npm install --save @types/each
This package contains type definitions for each (http://www.adaltas.com/projects/node-each/).
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/each.
interface Each {
paused: boolean;
readable: boolean;
started: number;
done: number;
total: number;
on(eventName: string, onCallback: Function): Each;
on(eventName: "item", onItem: (item: any, next: (error?: Error) => void) => void): Each;
on(eventName: "error", onError: (error: Error[]) => void): Each;
on(eventName: "error", onError: (error: Error) => void): Each;
on(eventName: "both", onBoth: (error?: Error[]) => void): Each;
on(eventName: "end", onEnd: () => void): Each;
parallel(mode: number): Each;
parallel(mode: boolean): Each;
shift(items: any[]): void;
write(items: any[]): void;
unshift(items: any[]): void;
end(): Each;
times(): Each;
repeat(): Each;
sync(): Each;
files(glob: any): void;
files(base: any, glob: any): void;
}
interface EachStatic {
(array: any[]): Each;
}
declare var each: EachStatic;
declare module "each" {
export = each;
}
These definitions were written by Michael Zabka.
FAQs
TypeScript definitions for each
We found that @types/each 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
GemStuffer abuses RubyGems as an exfiltration channel, packaging scraped UK council portal data into junk gems published from new accounts.

Company News
Socket was named to the Rising in Cyber 2026 list, recognizing 30 private cybersecurity startups selected by CISOs and security executives.

Research
Socket detected 84 compromised TanStack npm package artifacts modified with suspected CI credential-stealing malware.