UNPKG

auto-hash

Version:

automatically create hash info for files

26 lines (21 loc) 430 B
interface HashesMap { [namekey: string]: string; } interface AutoHashConfigByFile { c: string; config: string; } interface AutoHashConfigFileProperty { file: string; name?: string; } interface AutoHashConfig { files: AutoHashConfigFileProperty[], output: { file: string; }; len?: number; rename?: boolean; copy?: boolean; } export default function autoHash(argv: AutoHashConfig): Promise<HashesMap>;