audio-inspect
Version:
Lightweight yet powerful audio analysis library
94 lines (93 loc) • 2.47 kB
JSON
{
"name": "audio-inspect",
"version": "0.0.4",
"description": "Lightweight yet powerful audio analysis library",
"type": "module",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
},
"./features/*": {
"types": "./dist/features/*.d.ts",
"import": "./dist/features/*.js",
"require": "./dist/features/*.cjs"
},
"./core/*": {
"types": "./dist/core/*.d.ts",
"import": "./dist/core/*.js",
"require": "./dist/core/*.cjs"
}
},
"files": [
"dist/**/*.js",
"dist/**/*.cjs",
"dist/**/*.d.ts",
"dist/core/AudioInspectProcessor.js",
"README.md"
],
"scripts": {
"build": "NODE_ENV=production tsup",
"build:dev": "NODE_ENV=development tsup",
"build:e2e": "E2E_TEST=true NODE_ENV=development tsup",
"dev": "tsup --watch",
"test": "vitest --run --coverage",
"test:watch": "vitest --coverage",
"test:e2e": "npm run build:e2e && playwright test",
"lint": "eslint src test --ext .ts",
"lint:fix": "eslint src test --ext .ts --fix",
"type-check": "tsc --noEmit",
"format": "prettier --write src/**/*.ts test/**/*.ts",
"format:check": "prettier --check src/**/*.ts test/**/*.ts",
"clean": "rm -rf dist",
"prepublishOnly": "npm run clean && npm run build && npm test"
},
"keywords": [
"audio",
"analysis",
"fft",
"spectrum",
"rms",
"peaks",
"loudness",
"lufs",
"web-audio",
"audioworklet",
"realtime",
"typescript",
"browser",
"nodejs"
],
"author": "Romot",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/romot-co/audio-inspect.git"
},
"homepage": "https://github.com/romot-co/audio-inspect",
"bugs": {
"url": "https://github.com/romot-co/audio-inspect/issues"
},
"devDependencies": {
"@playwright/test": "^1.49.1",
"@types/node": "^22.10.2",
"@typescript-eslint/eslint-plugin": "^8.18.1",
"@typescript-eslint/parser": "^8.18.1",
"@vitest/coverage-v8": "^3.1.4",
"@vitest/ui": "^3.1.4",
"eslint": "^9.17.0",
"playwright": "^1.49.1",
"prettier": "^3.5.3",
"tsup": "^8.3.5",
"typescript": "^5.7.2",
"typescript-eslint": "^8.33.0",
"vitest": "^3.1.4"
},
"dependencies": {
"webfft": "^1.0.3"
}
}