const downloadTemporaryFile Target Style export const downloadTemporaryFile = async ({ from, agent, signal, onProgress } = {}) => { Downloads a remote file into a temporary path. Target style API. Preferred for new code. Parameters[options]{ from: string, agent?: import('https').Agent, signal?: AbortSignal, onProgress?: Function } ReturnsPromise<{ statusCode?: number, localPath: string, aborted?: boolean, status?: number, dest?: string }>
const download Legacy Style export const download = (url, dest, { agent, signal, onProgress } = {}) => { No description provided. Legacy API. Kept for older code and not the preferred choice for new code.