get-video-duration
Version:
Get the duration of a video file
52 lines (51 loc) • 1.27 kB
JSON
{
"name": "get-video-duration",
"description": "Get the duration of a video file",
"version": "5.0.0",
"author": "Lluís Ulzurrun de Asanza Sàez <me@llu.is> (http://llu.is)",
"license": "MIT",
"repository": "caffco/get-video-duration",
"main": "dist/commonjs/index.js",
"module": "dist/es6/index.js",
"packageManager": "yarn@4.12.0",
"dependencies": {
"@ffprobe-installer/ffprobe": "^2.1.2",
"execa": "^9.6.0",
"is-stream": "^4.0.1"
},
"devDependencies": {
"@biomejs/biome": "^2.3.7",
"@types/node": "^24.10.1",
"@types/tmp": "^0.2.6",
"@vitest/coverage-v8": "^4.0.14",
"es-check": "^9.5.0",
"husky": "^9.1.7",
"npm-run-all": "^4.1.5",
"source-map-support": "^0.5.21",
"tmp": "^0.2.5",
"ts-node": "^10.9.2",
"typescript": "^5.9.3",
"vitest": "^4.0.14"
},
"scripts": {
"lint": "biome check .",
"lint:fix": "biome check --write .",
"lint:build": "es-check es5 dist/commonjs/*.js",
"build": "run-s 'build:*' lint:build",
"build:commonjs": "tsc --p tsconfig.commonjs.json",
"build:es6": "tsc --p tsconfig.es6.json",
"test": "vitest",
"prepublishOnly": "CI=1 run-s test build",
"prepare": "husky"
},
"keywords": [
"video",
"duration",
"ffmpeg",
"ffprobe",
"typescript"
],
"files": [
"dist/**/*"
]
}