
Research
SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains
An emerging npm supply chain attack that infects repos, steals CI secrets, and targets developer AI toolchains for further compromise.
@types/oboe
Advanced tools
TypeScript definitions for oboe
npm install --save @types/oboe
This package contains type definitions for oboe (https://github.com/jimhigson/oboe.js).
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/oboe.
/// <reference types="node" />
declare namespace oboe {
interface OboeFunction extends Function {
drop: Object;
(url: string): Oboe; // simple fetch the url
(options: Options): Oboe; // fetch with full parameters
(stream: NodeJS.ReadableStream): Oboe; // read data from the given Node stream
(): Oboe; // parse data given by the emit() calls
}
interface Oboe {
done(callback: (result: any) => void): Oboe;
fail(callback: (result: FailReason) => void): Oboe;
node(pattern: string, callback: CallbackSignature): Oboe;
node(patterns: PatternMap): Oboe;
on(event: string, pattern: string, callback: CallbackSignature): Oboe;
on(eventPattern: string, callback: CallbackSignature): Oboe;
path(pattern: string, callback: CallbackSignature): Oboe;
path(listeners: any): Oboe;
removeListener(eventPattern: string, callback: CallbackSignature): Oboe;
removeListener(event: string, pattern: string, callback: CallbackSignature): Oboe;
start(callback: (status: number, headers: Object) => void): Oboe;
abort(): void;
emit(message: "data" | "end", data?: string): void;
source: string;
}
interface CallbackSignature {
(node: any, pathOrHeaders: any, ancestors: Object[]): any;
}
interface Options {
url: string;
method?: string | undefined;
headers?: Object | undefined;
body?: any;
cached?: boolean | undefined;
withCredentials?: boolean | undefined;
}
interface FailReason {
thrown?: Error | undefined;
statusCode?: number | undefined;
body?: string | undefined;
jsonBody?: Object | undefined;
}
interface PatternMap {
[pattern: string]: CallbackSignature;
}
}
declare var oboe: oboe.OboeFunction;
export = oboe;
export as namespace oboe;
These definitions were written by Jared Klopper.
FAQs
TypeScript definitions for oboe
The npm package @types/oboe receives a total of 11,875 weekly downloads. As such, @types/oboe popularity was classified as popular.
We found that @types/oboe 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
An emerging npm supply chain attack that infects repos, steals CI secrets, and targets developer AI toolchains for further compromise.

Company News
Socket is proud to join the OpenJS Foundation as a Silver Member, deepening our commitment to the long-term health and security of the JavaScript ecosystem.

Security News
npm now links to Socket's security analysis on every package page. Here's what you'll find when you click through.