UNPKG

@flemist/ffmpeg-encode-decode

Version:

WASM (WebAssembly) encode/decode mp3/ogg/opus/vorbis from/to Float32Array. Well tested @ffmpeg/ffmpeg wrapper.

105 lines 3.66 kB
{ "name": "@flemist/ffmpeg-encode-decode", "version": "0.0.16", "description": "WASM (WebAssembly) encode/decode mp3/ogg/opus/vorbis from/to Float32Array. Well tested @ffmpeg/ffmpeg wrapper.", "main": "dist/index.cjs", "module": "dist/index.mjs", "types": "dist/index.d.ts", "engines": { "node": ">=14.17.6", "pnpm": "^7.1.6" }, "repository": { "type": "git", "url": "git+https://github.com/NikolayMakhonin/ffmpeg-encode-decode.git" }, "keywords": [ "WASM", "WebAssembly", "ffmpeg", "encode", "decode", "encoder", "decoder", "mp3", "ogg", "opus", "vorbis", "mono", "stereo", "Float32Array" ], "author": { "name": "Nikolay Makhonin", "url": "https://github.com/NikolayMakhonin/" }, "license": "Unlimited Free", "bugs": { "url": "https://github.com/NikolayMakhonin/ffmpeg-encode-decode/issues" }, "homepage": "https://github.com/NikolayMakhonin/ffmpeg-encode-decode", "publishConfig": { "access": "public" }, "devDependencies": { "@flemist/copy-glob-flat": "0.0.5", "@flemist/test-utils": "0.0.9", "@flemist/test-variants": "0.0.16", "@rollup/plugin-alias": "3.1.9", "@rollup/plugin-commonjs": "=21.1.0", "@rollup/plugin-json": "4.1.0", "@rollup/plugin-node-resolve": "13.3.0", "@rollup/plugin-replace": "4.0.0", "@rollup/plugin-typescript": "8.3.3", "@rollup/pluginutils": "4.2.1", "@types/assert": "1.5.6", "@types/fs-extra": "9.0.13", "@types/mocha": "9.1.1", "@types/node": "18.0.0", "@zerollup/ts-transform-paths": "1.7.18", "cpy-cli": "=3.1.1", "eslint": "8.18.0", "eslint-config-pro": "3.0.16", "eslint-nibble": "8.0.2", "fs-extra": "10.1.0", "globby": "=11.1.0", "mocha": "9.2.2", "music-metadata": "7.12.3", "nodemon": "2.0.16", "nyc": "15.1.0", "rdtsc": "3.0.3", "rimraf": "3.0.2", "rollup": "2.75.7", "rollup-plugin-delete": "2.0.0", "rollup-plugin-multi-input": "1.3.1", "ts-node": "=10.8.0", "tsconfig-paths": "4.0.0", "typescript": "^4.7.4" }, "optionalDependencies": { "@flemist/ffmpeg.wasm-core-st": "^0.10.2" }, "dependencies": { "@flemist/abort-controller-fast": "^0.0.5", "@flemist/ffmpeg.wasm-st": "^0.10.1", "@flemist/priority-queue": "^0.0.9", "@flemist/time-limits": "^0.0.5", "@flemist/worker-server": "^0.0.12", "tslib": "^2.4.0" }, "scripts": { "audit": "pnpm audit --prod", "lint": "eslint ./**/*.{js,cjs,mjs,ts,tsx}", "lint:fix": "eslint --fix ./**/*.{js,cjs,mjs,ts,tsx}", "lint:wizard": "eslint-nibble --cache --multi ./**/*.{js,cjs,mjs,ts,tsx}", "build:js": "rimraf dist && cpy \"**/assets/**\" \"**/*.{js,cjs,mjs}\" \"../dist/\" --parents --cwd=src && rollup -c", "build": "rimraf dist && pnpm run build:js", "coverage:merge": "rimraf tmp/coverage/{all,merge} && cp-flat \"tmp/coverage/*/json/**/*.json\" \"tmp/coverage/merge\" && nyc report -r lcov --report-dir tmp/coverage/all/lcov --temp-dir \"tmp/coverage/merge/\"", "coverage:check": "pnpm run coverage:merge && nyc check-coverage --report-dir tmp/coverage/all/lcov --lines 50 --functions 50 --branches 50 --statements 50", "test:mocha": "mocha ./src/**/*.test.*", "test:mocha:coverage": "rimraf tmp/coverage/mocha && nyc --all mocha ./src/**/*.test.*", "test:mocha:watch": "mocha --watch ./src/**/*.test.*", "test:mocha:ci": "rimraf tmp/coverage/mocha && nyc --all mocha ./{src,dist}/**/*.test.*", "coveralls": "pnpm run coverage:check && nyc report --reporter=text-lcov --temp-dir \"tmp/coverage/merge/\" | coveralls" } }