UNPKG

fast-extract

Version:

Extract contents from various archive types (tar, tar.bz2, tar.gz, tar.xz, tgz, zip)

4 lines (3 loc) 208 B
import type { Options, Source } from '../types.js'; export type Callback = (error?: Error, size?: number) => void; export default function getSize(source: Source, options: Options, callback: Callback): void;