UNPKG

ytmusic_api_unofficial

Version:

A simple API to get music from YouTube Music

19 lines 448 B
export default class Duration { /** * The duration in seconds * @example 200 */ duration: number; /** * The parsed duration in a human-readable format * @example "3:20" */ formatted: string; /** * The duration in a human-readable long format * @example "3 minutes, 20 seconds" **/ formattedLong: string; constructor(duration: number); } //# sourceMappingURL=Duration.d.ts.map