UNPKG

@opensubtitles/video-metadata-extractor

Version:

A comprehensive NPM package for video metadata extraction and subtitle processing using FFmpeg WASM. Supports metadata extraction, individual subtitle extraction, batch subtitle extraction with ZIP downloads, and memory-safe processing of files of any siz

92 lines (91 loc) 2.7 kB
{ "name": "@opensubtitles/video-metadata-extractor", "version": "1.8.1", "description": "A comprehensive NPM package for video metadata extraction and subtitle processing using FFmpeg WASM. Supports metadata extraction, individual subtitle extraction, batch subtitle extraction with ZIP downloads, and memory-safe processing of files of any size using chunked streaming.", "main": "dist/lib/lib/index.js", "module": "dist/lib/lib/index.js", "types": "dist/lib/lib/index.d.ts", "exports": { ".": { "import": "./dist/lib/lib/index.js", "require": "./dist/lib/lib/index.js", "types": "./dist/lib/lib/index.d.ts" } }, "files": [ "dist/lib", "README.md", "LICENSE" ], "scripts": { "dev": "vite --port 5180", "build": "tsc && vite build", "preview": "vite preview", "lint": "tsc --noEmit", "test": "jest", "test:watch": "jest --watch", "test:coverage": "jest --coverage", "test:ci": "jest --ci --coverage --watchAll=false", "version:sync": "node scripts/update-version.js", "build:npm": "tsc --project tsconfig.npm.json", "prepublishOnly": "npm run version:sync && npm run lint && npm run build:npm" }, "keywords": [ "video", "metadata", "subtitles", "ffmpeg", "wasm", "extraction", "mkv", "mp4", "browser", "zip", "batch-processing", "chunked-streaming", "memory-safe", "typescript", "subtitle-extraction", "video-analysis" ], "author": "OpenSubtitles", "license": "MIT", "homepage": "https://opensubtitles.github.io/video-metadata-extractor-js/", "repository": { "type": "git", "url": "git+https://github.com/opensubtitles/video-metadata-extractor-js.git" }, "bugs": { "url": "https://github.com/opensubtitles/video-metadata-extractor-js/issues" }, "type": "module", "devDependencies": { "@tailwindcss/postcss": "^4.1.11", "@testing-library/jest-dom": "^6.6.3", "@testing-library/react": "^16.1.0", "@testing-library/user-event": "^14.5.2", "@types/jest": "^29.5.14", "@types/jszip": "^3.4.0", "@types/react": "^19.1.8", "@types/react-dom": "^19.1.6", "@vitejs/plugin-react": "^4.6.0", "autoprefixer": "^10.4.21", "identity-obj-proxy": "^3.0.0", "jest": "^29.7.0", "jest-environment-jsdom": "^29.7.0", "postcss": "^8.5.6", "tailwindcss": "^4.1.11", "ts-jest": "^29.2.5", "typescript": "^5.8.3", "vite": "^7.0.4" }, "dependencies": { "@ffmpeg/ffmpeg": "^0.12.15", "@ffmpeg/util": "^0.12.2", "buffer": "^6.0.3", "jszip": "^3.10.1", "mp4box": "^1.4.2", "react": "^19.1.0", "react-dom": "^19.1.0" } }