@plurnk/plurnk-mimetypes-audio 2.0.2 → 2.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +12 -10
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -1,15 +1,17 @@
|
|
|
1
1
|
# @plurnk/plurnk-mimetypes-audio
|
|
2
2
|
|
|
3
|
-
Binary audio handlers for
|
|
3
|
+
Binary audio handlers for the [plurnk](https://github.com/plurnk) ecosystem: WAV, MPEG, FLAC, Ogg, MP4, AAC, WebM and AIFF, as `package.json` declares them. Bundled with the service and loaded on demand.
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
delivers the same retained source bytes to models whose catalog declares audio
|
|
7
|
-
input. Byte-scoped reads still return their selected hexadecimal lines.
|
|
5
|
+
## install
|
|
8
6
|
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
explicit `audio/webm` source type is supported.
|
|
7
|
+
```sh
|
|
8
|
+
npm i @plurnk/plurnk-mimetypes-audio
|
|
9
|
+
```
|
|
13
10
|
|
|
14
|
-
|
|
15
|
-
|
|
11
|
+
## what it does
|
|
12
|
+
|
|
13
|
+
Ordinary `READ` exposes format, duration (when known) and byte size ({§mimetype-audio-facts}); the service delivers the retained source bytes to models whose catalog declares audio input ({§packet-attachment-parts}). No transcription, sample decoding or transcoding. `.webm` is not inferred to be audio; an explicit `audio/webm` source type is.
|
|
14
|
+
|
|
15
|
+
## license
|
|
16
|
+
|
|
17
|
+
MIT.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@plurnk/plurnk-mimetypes-audio",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.4",
|
|
4
4
|
"description": "Audio format and duration facts for ordinary PLURNK READ and native model input.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"plurnk",
|
|
@@ -112,7 +112,7 @@
|
|
|
112
112
|
},
|
|
113
113
|
"scripts": {
|
|
114
114
|
"test:lint": "tsc --noEmit",
|
|
115
|
-
"test:unit": "node --conditions=plurnk-dev --test src/**/*.test.ts",
|
|
115
|
+
"test:unit": "node --conditions=plurnk-dev --test ${PLURNK_TEST_CONCURRENCY:+--test-concurrency=$PLURNK_TEST_CONCURRENCY} 'src/**/*.test.ts'",
|
|
116
116
|
"test": "npm run test:lint && npm run test:unit",
|
|
117
117
|
"build:clean": "rm -rf dist",
|
|
118
118
|
"build:dist": "tsc -p tsconfig.build.json",
|
|
@@ -121,7 +121,7 @@
|
|
|
121
121
|
"prepublishOnly": "npm audit --audit-level=moderate && npm test"
|
|
122
122
|
},
|
|
123
123
|
"dependencies": {
|
|
124
|
-
"music-metadata": "^12.
|
|
124
|
+
"music-metadata": "^12.2.3"
|
|
125
125
|
},
|
|
126
126
|
"peerDependencies": {
|
|
127
127
|
"@plurnk/plurnk-mimetypes": "^3.0.0"
|
|
@@ -135,5 +135,5 @@
|
|
|
135
135
|
"url": "git+https://github.com/plurnk/plurnk-service.git",
|
|
136
136
|
"directory": "plurnk-mimetypes-audio"
|
|
137
137
|
},
|
|
138
|
-
"gitHead": "
|
|
138
|
+
"gitHead": "2f0589aa17a79347ff87db4b6d35d6ed689d783f"
|
|
139
139
|
}
|