taglib-wasm
Version:
TagLib-Wasm is the universal tagging library for TypeScript/JavaScript platforms: Browsers, Node.js, Deno, Bun, Cloudflare Workers, and Electron apps
10 lines • 610 B
TypeScript
/**
* File processing helpers for reading audio metadata
*/
import type { TagLib } from "../taglib.js";
import type { AudioFileMetadata } from "./types.js";
export declare function processBatch<T>(files: string[], processor: (path: string) => Promise<T>, concurrency: number): Promise<T[]>;
export declare function processFileWithTagLib(filePath: string, taglib: TagLib, includeProperties: boolean, onProgress?: (processed: number, total: number, currentFile: string) => void, processed?: {
count: number;
}, totalFound?: number): Promise<AudioFileMetadata>;
//# sourceMappingURL=file-processors.d.ts.map