{"library":"webvtt-parser","type":"library","category":null,"description":"The `webvtt-parser` package provides a robust, specification-compliant parser and serializer for WebVTT (Web Video Text Tracks) files. Maintained by the W3C, it allows developers to programmatically parse WebVTT strings into a JavaScript object tree and serialize such trees back into WebVTT formatted strings. The current stable version is 2.2.0, and releases generally follow W3C specification updates or bug fixes, without a fixed cadence. Its primary differentiator is its direct adherence to the official WebVTT specification, making it a reliable choice for applications requiring strict compliance, such as browser implementations or media processing tools. It supports both Node.js environments via npm and browser environments through a UMD build.","language":"javascript","status":"active","version":"2.2.0","tags":["javascript","WebVTT"],"last_verified":"Wed May 27","install":[{"cmd":"npm install webvtt-parser","imports":["import { WebVTTParser } from 'webvtt-parser';","import { WebVTTSerializer } from 'webvtt-parser';","import type { ParserOptions } from 'webvtt-parser';"]},{"cmd":"yarn add webvtt-parser","imports":[]},{"cmd":"pnpm add webvtt-parser","imports":[]}],"homepage":null,"github":"https://github.com/w3c/webvtt.js","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/webvtt-parser","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/webvtt-parser/compatibility"}}