Files
MusicMetaFinder-xtrll/package.json
xtrullor73 8bb93cafd6 feat: improve error handling and add streamline audio processing
- Refactor error handling by consolidating all errors in a newly created 'errors' directory.
- Introduce truncateAudioStream functionality to limit audio file processing to 25 seconds, optimizing performance and API usage.

The newly added 'errors' directory contains the apiError handler which provides a centralized error handling mechanism to easily manage error consistency and possible expansion in the future.
2024-05-07 20:00:36 -07:00

32 lines
849 B
JSON

{
"name": "music-meta-finder",
"version": "1.0.0",
"description": "CLI utility for music enthusiasts to automatically recognize tracks and enrich file metadata based on the fetched information.",
"bin": {
"analyze-audio": "node --env-file .env ./app.js"
},
"dependencies": {
"axios": "^1.6.8",
"commander": "^12.0.0",
"dotenv": "^16.4.5",
"fluent-ffmpeg": "^2.1.2",
"music-metadata": "^7.14.0",
"node-fetch": "^3.3.2",
"node-id3": "^0.2.6",
"qs": "^6.12.1"
},
"devDependencies": {
"@eslint/eslintrc": "^3.0.2",
"@eslint/js": "^9.0.0",
"eslint": "^8.57.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-plugin-import": "^2.29.1",
"globals": "^15.0.0"
},
"scripts": {
"lint": "eslint . --fix",
"analyze": "node --env-file .env app.js"
},
"type": "module"
}