node-downloader-manager
Version:
node-downloader-manager is a simple yet powerful package manager-like download manager built with NodeJs. It allows you to download files sequentially or with a queue-based approach, handling retries and concurrency limits efficiently.
30 lines (29 loc) • 788 B
TypeScript
export declare const emitEvents: {
readonly start: "start";
readonly finished: "finished";
readonly complete: "complete";
readonly error: "error";
readonly cancel: "cancel";
readonly cancelAll: "cancelAll";
readonly paused: "paused";
readonly pausedAll: "pausedAll";
readonly resumed: "resumed";
readonly resumedAll: "resumedAll";
readonly exists: "exists";
readonly progress: "progress";
};
export declare const emitMessages: {
start: string;
finished: string;
error: string;
cancel: string;
cancelAll: string;
paused: string;
pausedAll: string;
resumed: string;
resumedAll: string;
exists: string;
progress: string;
complete: string;
};
export type EmitEventType = keyof typeof emitEvents;