For AI agents: the complete documentation index is available at /llms.txt, the full documentation bundle is available at /llms-full.txt, and this page is available as Markdown at /reference/sdk/logs/functions/formatDownloadSpeed.md.
  • 简体中文
  • Function: formatDownloadSpeed()

    function formatDownloadSpeed(bytesPerSec: number): string;

    Defined in: logs/terminal-progress.ts:106

    下载速度文案(BDS / CF 等共用,避免各处复制阈值分支)

    Parameters

    ParameterType
    bytesPerSecnumber

    Returns

    string