{"library":"youtube-duration","type":"library","category":null,"description":"A lightweight utility to parse and format ISO 8601 duration strings (used by YouTube API v3) into human-readable time strings (e.g., '3:11') or total seconds. v1.0.0 is the current stable version. It focuses solely on duration formatting/conversion with no dependencies, making it ideal for serverless or browser projects. Unlike moment-duration-format, it is YouTube-API-tailored and much smaller.","language":"javascript","status":"active","version":"1.0.0","tags":["javascript","Youtube","API","Video","Duration","Format"],"last_verified":"Thu Jun 04","install":[{"cmd":"npm install youtube-duration","imports":["import { format } from 'youtube-duration';","import { toSecond } from 'youtube-duration';","import ytDuration from 'youtube-duration';"]},{"cmd":"yarn add youtube-duration","imports":[]},{"cmd":"pnpm add youtube-duration","imports":[]}],"homepage":null,"github":null,"docs":null,"changelog":null,"pypi":null,"npm":"youtube-duration","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}