UNPKG

audio

Version:

Audio loading, editing, and rendering for JavaScript

73 lines (72 loc) 1.9 kB
{ "name": "audio", "version": "2.2.0", "description": "Audio loading, editing, and rendering for JavaScript", "type": "module", "main": "audio.js", "exports": { ".": { "browser": "./dist/audio.js", "default": "./audio.js" }, "./core": "./core.js", "./plan": "./plan.js", "./stats": "./stats.js", "./cache": "./cache.js", "./fn/*": "./fn/*" }, "types": "./audio.d.ts", "bin": "./bin/cli.js", "license": "MIT", "repository": "audiojs/audio", "files": [ "core.js", "audio.js", "audio.d.ts", "plan.js", "stats.js", "cache.js", "fn/", "bin/", "dist/" ], "keywords": [ "audiojs", "audio", "dsp", "pcm" ], "scripts": { "build": "node .esbuild.js", "test": "node test/index.js", "test:cli": "TST_PARALLEL=3 node test/cli.js", "test:browser": "node test/browser.js", "test:all": "CI=1 npm test && CI=1 npm run test:cli && npm run test:browser", "version": "node -p \"var s=require('fs'),v=require('./package.json').version;s.writeFileSync('core.js',s.readFileSync('core.js','utf8').replace(/audio\\.version = '[^']+'/,'audio.version = \\''+v+'\\''));''\" && git add core.js", "prepublishOnly": "npm run version && npm run test:all", "serve": "node test/serve.js", "demo": "vhs player.tape" }, "dependencies": { "a-weighting": "^2.0.1", "audio-decode": "^3.9.0", "audio-filter": "^2.2.2", "audio-speaker": "^2.1.1", "audio-type": "^2.4.1", "encode-audio": "^1.2.2", "fourier-transform": "^2.2.0", "parse-duration": "^2.1.6", "pcm-convert": "^3.1.1", "time-stretch": "^1.0.0", "window-function": "^3.0.1" }, "optionalDependencies": { "audio-mic": "^1.0.0" }, "devDependencies": { "audio-lena": "^3.0.0", "esbuild": "^0.28.0", "playwright": "^1.59.1", "tst": "^9.4.0" } }