alapa
Version:
A cutting-edge web development framework designed to revolutionize the way developers build modern web applications.
10 lines (9 loc) • 405 B
TypeScript
import { Media } from "mediainfo.js";
export type MediaInfoResult = Media;
export declare class MediaInfo {
private static data;
private static readChunk;
static analyzeData(data: Uint8Array, size?: number): Promise<Media | null>;
static analyzeBuffer(buffer: Buffer, size?: number): Promise<Media | null>;
static analyzeFile(fileName: string, size?: number): Promise<Media | null>;
}