fast-folder-size
Version:
Node CLI or module to calculate folder size
15 lines (11 loc) • 387 B
TypeScript
import { ExecException, ChildProcess } from 'child_process'
declare function fastFolderSize(
path: string,
options: { signal: AbortSignal },
callback: (err: ExecException | null, bytes?: number) => void
): ChildProcess
declare function fastFolderSize(
path: string,
callback: (err: ExecException | null, bytes?: number) => void
): ChildProcess
export default fastFolderSize