canvas-record
Version:
Record a video in the browser or directly on the File System from a canvas region (2D/WebGL/WebGPU) as MP4, WebM, MKV, MOV, GIF, PNG/JPG Sequence using WebCodecs and wasm when available.
83 lines (82 loc) • 2.04 kB
JSON
{
"name": "canvas-record",
"version": "5.4.1",
"description": "Record a video in the browser or directly on the File System from a canvas region (2D/WebGL/WebGPU) as MP4, WebM, MKV, MOV, GIF, PNG/JPG Sequence using WebCodecs and wasm when available.",
"keywords": [
"canvas",
"record",
"video",
"recorder",
"capture",
"mp4",
"webm",
"mkv",
"gif",
"sequence",
"framesequence",
"media-recorder",
"ffmpeg",
"h264"
],
"homepage": "https://github.com/dmnsgn/canvas-record",
"bugs": "https://github.com/dmnsgn/canvas-record/issues",
"repository": {
"type": "git",
"url": "git+https://github.com/dmnsgn/canvas-record.git"
},
"funding": [
{
"type": "individual",
"url": "https://paypal.me/dmnsgn"
},
{
"type": "individual",
"url": "https://commerce.coinbase.com/checkout/56cbdf28-e323-48d8-9c98-7019e72c97f3"
}
],
"license": "MIT",
"author": "Damien Seguin (https://github.com/dmnsgn)",
"sideEffects": false,
"type": "module",
"exports": {
".": {
"types": "./types/index.d.ts",
"default": "./index.js"
}
},
"main": "index.js",
"types": "types/index.d.ts",
"scripts": {
"build": "npx snowdev build",
"deps": "npx snowdev install",
"dev": "npx snowdev dev"
},
"dependencies": {
"@ffmpeg/ffmpeg": "^0.12.7",
"@ffmpeg/util": "^0.12.1",
"canvas-context": "^3.3.0",
"canvas-screenshot": "^4.2.2",
"gifenc": "^1.0.3",
"h264-mp4-encoder": "^1.0.12",
"media-codecs": "^2.0.2",
"mediabunny": "^1.4.3"
},
"devDependencies": {
"@web/rollup-plugin-import-meta-assets": "^2.3.0",
"es-module-shims": "^2.6.1",
"mp4-wasm": "^1.0.6",
"pex-color": "^2.2.0",
"pex-context": "^3.2.0",
"rollup": "^4.46.2",
"tweakpane": "^4.0.5"
},
"optionalDependencies": {
"@ffmpeg/core": "^0.12.3",
"@ffmpeg/core-mt": "^0.12.3"
},
"engines": {
"node": ">=22.0.0",
"npm": ">=10.5.1",
"snowdev": ">=2.5.x"
}
}