UNPKG

@catamphetamine/id3js

Version:

A modern ID3 parser written completely in JavaScript, making use of typed arrays and the HTML5 File API

22 lines 781 B
import { ID3Tag } from '../reader/id3Tag.js'; import { Reader } from '../reader/reader.js'; export { getImageDataUrl } from '../image/getImageDataUrl.js'; /** * Parses ID3 tags from a given reader * @param {Reader} reader Reader to use * @return {Promise<ID3Tag>} */ export declare function fromReader(reader: Reader): Promise<ID3Tag | null>; /** * Parses ID3 tags from a local path * @param {string} path Path to file * @return {Promise<ID3Tag>} */ export declare function fromPath(path: string): Promise<ID3Tag | null>; /** * Parses ID3 tags from a specified URL * @param {string} url URL to retrieve data from * @return {Promise<ID3Tag>} */ export declare function fromUrl(url: string): Promise<ID3Tag | null>; //# sourceMappingURL=node.d.ts.map