music-metadata 11.2.0 → 11.2.2
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/LICENSE.txt +9 -9
- package/README.md +861 -858
- package/lib/ParseError.d.ts +7 -7
- package/lib/aiff/AiffToken.d.ts +1 -1
- package/lib/apev2/APEv2Parser.d.ts +1 -1
- package/lib/asf/AsfObject.d.ts +1 -1
- package/lib/dsdiff/DsdiffParser.d.ts +1 -1
- package/lib/dsf/DsfParser.d.ts +1 -1
- package/lib/ebml/EbmlIterator.d.ts +1 -1
- package/lib/id3v2/FrameParser.d.ts +1 -1
- package/lib/matroska/MatroskaLoader.js +1 -1
- package/lib/mp4/AtomToken.d.ts +1 -1
- package/lib/mpeg/MpegParser.d.ts +1 -1
- package/lib/musepack/MusepackConentError.d.ts +1 -1
- package/lib/ogg/OggParser.d.ts +1 -1
- package/lib/ogg/opus/Opus.d.ts +1 -1
- package/lib/ogg/vorbis/VorbisParser.d.ts +1 -1
- package/lib/wav/WaveChunk.d.ts +1 -1
- package/lib/wavpack/WavPackParser.d.ts +1 -1
- package/package.json +148 -149
package/lib/ParseError.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ export declare const makeParseError: <Name extends string>(name: Name) => {
|
|
|
6
6
|
stack?: string;
|
|
7
7
|
};
|
|
8
8
|
captureStackTrace(targetObject: object, constructorOpt?: Function): void;
|
|
9
|
-
prepareStackTrace
|
|
9
|
+
prepareStackTrace(err: Error, stackTraces: NodeJS.CallSite[]): any;
|
|
10
10
|
stackTraceLimit: number;
|
|
11
11
|
};
|
|
12
12
|
declare const CouldNotDetermineFileTypeError_base: {
|
|
@@ -16,7 +16,7 @@ declare const CouldNotDetermineFileTypeError_base: {
|
|
|
16
16
|
stack?: string;
|
|
17
17
|
};
|
|
18
18
|
captureStackTrace(targetObject: object, constructorOpt?: Function): void;
|
|
19
|
-
prepareStackTrace
|
|
19
|
+
prepareStackTrace(err: Error, stackTraces: NodeJS.CallSite[]): any;
|
|
20
20
|
stackTraceLimit: number;
|
|
21
21
|
};
|
|
22
22
|
export declare class CouldNotDetermineFileTypeError extends CouldNotDetermineFileTypeError_base {
|
|
@@ -28,7 +28,7 @@ declare const UnsupportedFileTypeError_base: {
|
|
|
28
28
|
stack?: string;
|
|
29
29
|
};
|
|
30
30
|
captureStackTrace(targetObject: object, constructorOpt?: Function): void;
|
|
31
|
-
prepareStackTrace
|
|
31
|
+
prepareStackTrace(err: Error, stackTraces: NodeJS.CallSite[]): any;
|
|
32
32
|
stackTraceLimit: number;
|
|
33
33
|
};
|
|
34
34
|
export declare class UnsupportedFileTypeError extends UnsupportedFileTypeError_base {
|
|
@@ -40,7 +40,7 @@ declare const UnexpectedFileContentError_base: {
|
|
|
40
40
|
stack?: string;
|
|
41
41
|
};
|
|
42
42
|
captureStackTrace(targetObject: object, constructorOpt?: Function): void;
|
|
43
|
-
prepareStackTrace
|
|
43
|
+
prepareStackTrace(err: Error, stackTraces: NodeJS.CallSite[]): any;
|
|
44
44
|
stackTraceLimit: number;
|
|
45
45
|
};
|
|
46
46
|
declare class UnexpectedFileContentError extends UnexpectedFileContentError_base {
|
|
@@ -55,7 +55,7 @@ declare const FieldDecodingError_base: {
|
|
|
55
55
|
stack?: string;
|
|
56
56
|
};
|
|
57
57
|
captureStackTrace(targetObject: object, constructorOpt?: Function): void;
|
|
58
|
-
prepareStackTrace
|
|
58
|
+
prepareStackTrace(err: Error, stackTraces: NodeJS.CallSite[]): any;
|
|
59
59
|
stackTraceLimit: number;
|
|
60
60
|
};
|
|
61
61
|
export declare class FieldDecodingError extends FieldDecodingError_base {
|
|
@@ -67,7 +67,7 @@ declare const InternalParserError_base: {
|
|
|
67
67
|
stack?: string;
|
|
68
68
|
};
|
|
69
69
|
captureStackTrace(targetObject: object, constructorOpt?: Function): void;
|
|
70
|
-
prepareStackTrace
|
|
70
|
+
prepareStackTrace(err: Error, stackTraces: NodeJS.CallSite[]): any;
|
|
71
71
|
stackTraceLimit: number;
|
|
72
72
|
};
|
|
73
73
|
export declare class InternalParserError extends InternalParserError_base {
|
|
@@ -81,7 +81,7 @@ export declare const makeUnexpectedFileContentError: <FileType extends string>(f
|
|
|
81
81
|
stack?: string;
|
|
82
82
|
};
|
|
83
83
|
captureStackTrace(targetObject: object, constructorOpt?: Function): void;
|
|
84
|
-
prepareStackTrace
|
|
84
|
+
prepareStackTrace(err: Error, stackTraces: NodeJS.CallSite[]): any;
|
|
85
85
|
stackTraceLimit: number;
|
|
86
86
|
};
|
|
87
87
|
export {};
|
package/lib/aiff/AiffToken.d.ts
CHANGED
|
@@ -21,7 +21,7 @@ declare const AiffContentError_base: {
|
|
|
21
21
|
stack?: string;
|
|
22
22
|
};
|
|
23
23
|
captureStackTrace(targetObject: object, constructorOpt?: Function): void;
|
|
24
|
-
prepareStackTrace
|
|
24
|
+
prepareStackTrace(err: Error, stackTraces: NodeJS.CallSite[]): any;
|
|
25
25
|
stackTraceLimit: number;
|
|
26
26
|
};
|
|
27
27
|
export declare class AiffContentError extends AiffContentError_base {
|
|
@@ -13,7 +13,7 @@ declare const ApeContentError_base: {
|
|
|
13
13
|
stack?: string;
|
|
14
14
|
};
|
|
15
15
|
captureStackTrace(targetObject: object, constructorOpt?: Function): void;
|
|
16
|
-
prepareStackTrace
|
|
16
|
+
prepareStackTrace(err: Error, stackTraces: NodeJS.CallSite[]): any;
|
|
17
17
|
stackTraceLimit: number;
|
|
18
18
|
};
|
|
19
19
|
export declare class ApeContentError extends ApeContentError_base {
|
package/lib/asf/AsfObject.d.ts
CHANGED
|
@@ -10,7 +10,7 @@ declare const AsfContentParseError_base: {
|
|
|
10
10
|
stack?: string;
|
|
11
11
|
};
|
|
12
12
|
captureStackTrace(targetObject: object, constructorOpt?: Function): void;
|
|
13
|
-
prepareStackTrace
|
|
13
|
+
prepareStackTrace(err: Error, stackTraces: NodeJS.CallSite[]): any;
|
|
14
14
|
stackTraceLimit: number;
|
|
15
15
|
};
|
|
16
16
|
export declare class AsfContentParseError extends AsfContentParseError_base {
|
|
@@ -8,7 +8,7 @@ declare const DsdiffContentParseError_base: {
|
|
|
8
8
|
stack?: string;
|
|
9
9
|
};
|
|
10
10
|
captureStackTrace(targetObject: object, constructorOpt?: Function): void;
|
|
11
|
-
prepareStackTrace
|
|
11
|
+
prepareStackTrace(err: Error, stackTraces: NodeJS.CallSite[]): any;
|
|
12
12
|
stackTraceLimit: number;
|
|
13
13
|
};
|
|
14
14
|
export declare class DsdiffContentParseError extends DsdiffContentParseError_base {
|
package/lib/dsf/DsfParser.d.ts
CHANGED
|
@@ -8,7 +8,7 @@ declare const DsdContentParseError_base: {
|
|
|
8
8
|
stack?: string;
|
|
9
9
|
};
|
|
10
10
|
captureStackTrace(targetObject: object, constructorOpt?: Function): void;
|
|
11
|
-
prepareStackTrace
|
|
11
|
+
prepareStackTrace(err: Error, stackTraces: NodeJS.CallSite[]): any;
|
|
12
12
|
stackTraceLimit: number;
|
|
13
13
|
};
|
|
14
14
|
export declare class DsdContentParseError extends DsdContentParseError_base {
|
|
@@ -9,7 +9,7 @@ declare const EbmlContentError_base: {
|
|
|
9
9
|
stack?: string;
|
|
10
10
|
};
|
|
11
11
|
captureStackTrace(targetObject: object, constructorOpt?: Function): void;
|
|
12
|
-
prepareStackTrace
|
|
12
|
+
prepareStackTrace(err: Error, stackTraces: NodeJS.CallSite[]): any;
|
|
13
13
|
stackTraceLimit: number;
|
|
14
14
|
};
|
|
15
15
|
export declare class EbmlContentError extends EbmlContentError_base {
|
|
@@ -66,7 +66,7 @@ declare const Id3v2ContentError_base: {
|
|
|
66
66
|
stack?: string;
|
|
67
67
|
};
|
|
68
68
|
captureStackTrace(targetObject: object, constructorOpt?: Function): void;
|
|
69
|
-
prepareStackTrace
|
|
69
|
+
prepareStackTrace(err: Error, stackTraces: NodeJS.CallSite[]): any;
|
|
70
70
|
stackTraceLimit: number;
|
|
71
71
|
};
|
|
72
72
|
export declare class Id3v2ContentError extends Id3v2ContentError_base {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export const matroskaParserLoader = {
|
|
2
2
|
parserType: 'matroska',
|
|
3
3
|
extensions: ['.mka', '.mkv', '.mk3d', '.mks', 'webm'],
|
|
4
|
-
mimeTypes: ['audio/matroska', 'audio/webm', 'video/webm'],
|
|
4
|
+
mimeTypes: ['audio/matroska', 'video/matroska', 'audio/webm', 'video/webm'],
|
|
5
5
|
async load() {
|
|
6
6
|
return (await import('./MatroskaParser.js')).MatroskaParser;
|
|
7
7
|
}
|
package/lib/mp4/AtomToken.d.ts
CHANGED
|
@@ -8,7 +8,7 @@ declare const Mp4ContentError_base: {
|
|
|
8
8
|
stack?: string;
|
|
9
9
|
};
|
|
10
10
|
captureStackTrace(targetObject: object, constructorOpt?: Function): void;
|
|
11
|
-
prepareStackTrace
|
|
11
|
+
prepareStackTrace(err: Error, stackTraces: NodeJS.CallSite[]): any;
|
|
12
12
|
stackTraceLimit: number;
|
|
13
13
|
};
|
|
14
14
|
export declare class Mp4ContentError extends Mp4ContentError_base {
|
package/lib/mpeg/MpegParser.d.ts
CHANGED
|
@@ -8,7 +8,7 @@ declare const MpegContentError_base: {
|
|
|
8
8
|
stack?: string;
|
|
9
9
|
};
|
|
10
10
|
captureStackTrace(targetObject: object, constructorOpt?: Function): void;
|
|
11
|
-
prepareStackTrace
|
|
11
|
+
prepareStackTrace(err: Error, stackTraces: NodeJS.CallSite[]): any;
|
|
12
12
|
stackTraceLimit: number;
|
|
13
13
|
};
|
|
14
14
|
export declare class MpegContentError extends MpegContentError_base {
|
|
@@ -7,7 +7,7 @@ declare const MusepackContentError_base: {
|
|
|
7
7
|
stack?: string;
|
|
8
8
|
};
|
|
9
9
|
captureStackTrace(targetObject: object, constructorOpt?: Function): void;
|
|
10
|
-
prepareStackTrace
|
|
10
|
+
prepareStackTrace(err: Error, stackTraces: NodeJS.CallSite[]): any;
|
|
11
11
|
stackTraceLimit: number;
|
|
12
12
|
};
|
|
13
13
|
export declare class MusepackContentError extends MusepackContentError_base {
|
package/lib/ogg/OggParser.d.ts
CHANGED
|
@@ -10,7 +10,7 @@ declare const OggContentError_base: {
|
|
|
10
10
|
stack?: string;
|
|
11
11
|
};
|
|
12
12
|
captureStackTrace(targetObject: object, constructorOpt?: Function): void;
|
|
13
|
-
prepareStackTrace
|
|
13
|
+
prepareStackTrace(err: Error, stackTraces: NodeJS.CallSite[]): any;
|
|
14
14
|
stackTraceLimit: number;
|
|
15
15
|
};
|
|
16
16
|
export declare class OggContentError extends OggContentError_base {
|
package/lib/ogg/opus/Opus.d.ts
CHANGED
|
@@ -46,7 +46,7 @@ declare const OpusContentError_base: {
|
|
|
46
46
|
stack?: string;
|
|
47
47
|
};
|
|
48
48
|
captureStackTrace(targetObject: object, constructorOpt?: Function): void;
|
|
49
|
-
prepareStackTrace
|
|
49
|
+
prepareStackTrace(err: Error, stackTraces: NodeJS.CallSite[]): any;
|
|
50
50
|
stackTraceLimit: number;
|
|
51
51
|
};
|
|
52
52
|
export declare class OpusContentError extends OpusContentError_base {
|
|
@@ -11,7 +11,7 @@ declare const VorbisContentError_base: {
|
|
|
11
11
|
stack?: string;
|
|
12
12
|
};
|
|
13
13
|
captureStackTrace(targetObject: object, constructorOpt?: Function): void;
|
|
14
|
-
prepareStackTrace
|
|
14
|
+
prepareStackTrace(err: Error, stackTraces: NodeJS.CallSite[]): any;
|
|
15
15
|
stackTraceLimit: number;
|
|
16
16
|
};
|
|
17
17
|
export declare class VorbisContentError extends VorbisContentError_base {
|
package/lib/wav/WaveChunk.d.ts
CHANGED
|
@@ -9,7 +9,7 @@ declare const WaveContentError_base: {
|
|
|
9
9
|
stack?: string;
|
|
10
10
|
};
|
|
11
11
|
captureStackTrace(targetObject: object, constructorOpt?: Function): void;
|
|
12
|
-
prepareStackTrace
|
|
12
|
+
prepareStackTrace(err: Error, stackTraces: NodeJS.CallSite[]): any;
|
|
13
13
|
stackTraceLimit: number;
|
|
14
14
|
};
|
|
15
15
|
export declare class WaveContentError extends WaveContentError_base {
|
|
@@ -8,7 +8,7 @@ declare const WavPackContentError_base: {
|
|
|
8
8
|
stack?: string;
|
|
9
9
|
};
|
|
10
10
|
captureStackTrace(targetObject: object, constructorOpt?: Function): void;
|
|
11
|
-
prepareStackTrace
|
|
11
|
+
prepareStackTrace(err: Error, stackTraces: NodeJS.CallSite[]): any;
|
|
12
12
|
stackTraceLimit: number;
|
|
13
13
|
};
|
|
14
14
|
export declare class WavPackContentError extends WavPackContentError_base {
|
package/package.json
CHANGED
|
@@ -1,149 +1,148 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "music-metadata",
|
|
3
|
-
"description": "Music metadata parser for Node.js, supporting virtual any audio and tag format.",
|
|
4
|
-
"version": "11.2.
|
|
5
|
-
"author": {
|
|
6
|
-
"name": "Borewit",
|
|
7
|
-
"url": "https://github.com/Borewit"
|
|
8
|
-
},
|
|
9
|
-
"funding": [
|
|
10
|
-
{
|
|
11
|
-
"type": "github",
|
|
12
|
-
"url": "https://github.com/sponsors/Borewit"
|
|
13
|
-
},
|
|
14
|
-
{
|
|
15
|
-
"type": "buymeacoffee",
|
|
16
|
-
"url": "https://buymeacoffee.com/borewit"
|
|
17
|
-
}
|
|
18
|
-
],
|
|
19
|
-
"sideEffects": false,
|
|
20
|
-
"type": "module",
|
|
21
|
-
"exports": {
|
|
22
|
-
"node": {
|
|
23
|
-
"import": "./lib/index.js",
|
|
24
|
-
"module-sync": "./lib/index.js",
|
|
25
|
-
"types": "./lib/index.d.ts"
|
|
26
|
-
},
|
|
27
|
-
"default": {
|
|
28
|
-
"import": "./lib/core.js",
|
|
29
|
-
"module-sync": "./lib/core.js",
|
|
30
|
-
"types": "./lib/core.d.ts"
|
|
31
|
-
}
|
|
32
|
-
},
|
|
33
|
-
"types": "lib/index.d.ts",
|
|
34
|
-
"files": [
|
|
35
|
-
"lib/**/*.js",
|
|
36
|
-
"lib/**/*.d.ts"
|
|
37
|
-
],
|
|
38
|
-
"keywords": [
|
|
39
|
-
"music",
|
|
40
|
-
"metadata",
|
|
41
|
-
"meta",
|
|
42
|
-
"audio",
|
|
43
|
-
"tag",
|
|
44
|
-
"tags",
|
|
45
|
-
"duration",
|
|
46
|
-
"MusicBrainz",
|
|
47
|
-
"Discogs",
|
|
48
|
-
"Picard",
|
|
49
|
-
"ID3",
|
|
50
|
-
"ID3v1",
|
|
51
|
-
"ID3v2",
|
|
52
|
-
"m4a",
|
|
53
|
-
"m4b",
|
|
54
|
-
"mp3",
|
|
55
|
-
"mp4",
|
|
56
|
-
"Vorbis",
|
|
57
|
-
"ogg",
|
|
58
|
-
"flac",
|
|
59
|
-
"Matroska",
|
|
60
|
-
"WebM",
|
|
61
|
-
"EBML",
|
|
62
|
-
"asf",
|
|
63
|
-
"wma",
|
|
64
|
-
"wmv",
|
|
65
|
-
"ape",
|
|
66
|
-
"MonkeyAudio",
|
|
67
|
-
"aiff",
|
|
68
|
-
"wav",
|
|
69
|
-
"WavPack",
|
|
70
|
-
"Opus",
|
|
71
|
-
"speex",
|
|
72
|
-
"musepack",
|
|
73
|
-
"mpc",
|
|
74
|
-
"dsd",
|
|
75
|
-
"dsf",
|
|
76
|
-
"mpc",
|
|
77
|
-
"dff",
|
|
78
|
-
"dsdiff",
|
|
79
|
-
"aac",
|
|
80
|
-
"adts",
|
|
81
|
-
"length",
|
|
82
|
-
"chapter",
|
|
83
|
-
"info",
|
|
84
|
-
"parse",
|
|
85
|
-
"parser",
|
|
86
|
-
"bwf",
|
|
87
|
-
"slt",
|
|
88
|
-
"lyrics"
|
|
89
|
-
],
|
|
90
|
-
"scripts": {
|
|
91
|
-
"clean": "del-cli 'lib/**/*.js' 'lib/**/*.js.map' 'lib/**/*.d.ts' 'test/**/*.js' 'test/**/*.js.map' 'test/**/*.js' 'test/**/*.js.map' 'doc-gen/**/*.js' 'doc-gen/**/*.js.map'",
|
|
92
|
-
"compile-src": "tsc -p lib",
|
|
93
|
-
"compile-test": "tsc -p test",
|
|
94
|
-
"compile-doc": "tsc -p doc-gen",
|
|
95
|
-
"compile": "yarn run compile-src && yarn compile-test && yarn compile-doc",
|
|
96
|
-
"lint-ts": "biome check",
|
|
97
|
-
"lint-md": "yarn run remark -u remark-preset-lint-consistent .",
|
|
98
|
-
"lint": "yarn run lint-ts && yarn run lint-md",
|
|
99
|
-
"test": "mocha",
|
|
100
|
-
"build": "yarn run clean && yarn compile && yarn run doc-gen",
|
|
101
|
-
"test-coverage": "c8 yarn run test",
|
|
102
|
-
"send-codacy": "c8 report --reporter=text-lcov | codacy-coverage",
|
|
103
|
-
"doc-gen": "yarn node doc-gen/gen.js",
|
|
104
|
-
"typecheck": "tsc --project ./lib/tsconfig.json --noEmit && tsc --project ./test/tsconfig.json --noEmit"
|
|
105
|
-
},
|
|
106
|
-
"dependencies": {
|
|
107
|
-
"@tokenizer/token": "^0.3.0",
|
|
108
|
-
"content-type": "^1.0.5",
|
|
109
|
-
"debug": "^4.4.
|
|
110
|
-
"file-type": "^20.
|
|
111
|
-
"
|
|
112
|
-
"
|
|
113
|
-
"
|
|
114
|
-
"
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
"@
|
|
119
|
-
"@types/chai": "^
|
|
120
|
-
"@types/
|
|
121
|
-
"@types/
|
|
122
|
-
"@types/
|
|
123
|
-
"@types/
|
|
124
|
-
"@types/
|
|
125
|
-
"
|
|
126
|
-
"
|
|
127
|
-
"chai": "^
|
|
128
|
-
"
|
|
129
|
-
"
|
|
130
|
-
"
|
|
131
|
-
"
|
|
132
|
-
"
|
|
133
|
-
"remark-
|
|
134
|
-
"
|
|
135
|
-
"
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
"
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "music-metadata",
|
|
3
|
+
"description": "Music metadata parser for Node.js, supporting virtual any audio and tag format.",
|
|
4
|
+
"version": "11.2.2",
|
|
5
|
+
"author": {
|
|
6
|
+
"name": "Borewit",
|
|
7
|
+
"url": "https://github.com/Borewit"
|
|
8
|
+
},
|
|
9
|
+
"funding": [
|
|
10
|
+
{
|
|
11
|
+
"type": "github",
|
|
12
|
+
"url": "https://github.com/sponsors/Borewit"
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
"type": "buymeacoffee",
|
|
16
|
+
"url": "https://buymeacoffee.com/borewit"
|
|
17
|
+
}
|
|
18
|
+
],
|
|
19
|
+
"sideEffects": false,
|
|
20
|
+
"type": "module",
|
|
21
|
+
"exports": {
|
|
22
|
+
"node": {
|
|
23
|
+
"import": "./lib/index.js",
|
|
24
|
+
"module-sync": "./lib/index.js",
|
|
25
|
+
"types": "./lib/index.d.ts"
|
|
26
|
+
},
|
|
27
|
+
"default": {
|
|
28
|
+
"import": "./lib/core.js",
|
|
29
|
+
"module-sync": "./lib/core.js",
|
|
30
|
+
"types": "./lib/core.d.ts"
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
"types": "lib/index.d.ts",
|
|
34
|
+
"files": [
|
|
35
|
+
"lib/**/*.js",
|
|
36
|
+
"lib/**/*.d.ts"
|
|
37
|
+
],
|
|
38
|
+
"keywords": [
|
|
39
|
+
"music",
|
|
40
|
+
"metadata",
|
|
41
|
+
"meta",
|
|
42
|
+
"audio",
|
|
43
|
+
"tag",
|
|
44
|
+
"tags",
|
|
45
|
+
"duration",
|
|
46
|
+
"MusicBrainz",
|
|
47
|
+
"Discogs",
|
|
48
|
+
"Picard",
|
|
49
|
+
"ID3",
|
|
50
|
+
"ID3v1",
|
|
51
|
+
"ID3v2",
|
|
52
|
+
"m4a",
|
|
53
|
+
"m4b",
|
|
54
|
+
"mp3",
|
|
55
|
+
"mp4",
|
|
56
|
+
"Vorbis",
|
|
57
|
+
"ogg",
|
|
58
|
+
"flac",
|
|
59
|
+
"Matroska",
|
|
60
|
+
"WebM",
|
|
61
|
+
"EBML",
|
|
62
|
+
"asf",
|
|
63
|
+
"wma",
|
|
64
|
+
"wmv",
|
|
65
|
+
"ape",
|
|
66
|
+
"MonkeyAudio",
|
|
67
|
+
"aiff",
|
|
68
|
+
"wav",
|
|
69
|
+
"WavPack",
|
|
70
|
+
"Opus",
|
|
71
|
+
"speex",
|
|
72
|
+
"musepack",
|
|
73
|
+
"mpc",
|
|
74
|
+
"dsd",
|
|
75
|
+
"dsf",
|
|
76
|
+
"mpc",
|
|
77
|
+
"dff",
|
|
78
|
+
"dsdiff",
|
|
79
|
+
"aac",
|
|
80
|
+
"adts",
|
|
81
|
+
"length",
|
|
82
|
+
"chapter",
|
|
83
|
+
"info",
|
|
84
|
+
"parse",
|
|
85
|
+
"parser",
|
|
86
|
+
"bwf",
|
|
87
|
+
"slt",
|
|
88
|
+
"lyrics"
|
|
89
|
+
],
|
|
90
|
+
"scripts": {
|
|
91
|
+
"clean": "del-cli 'lib/**/*.js' 'lib/**/*.js.map' 'lib/**/*.d.ts' 'test/**/*.js' 'test/**/*.js.map' 'test/**/*.js' 'test/**/*.js.map' 'doc-gen/**/*.js' 'doc-gen/**/*.js.map'",
|
|
92
|
+
"compile-src": "tsc -p lib",
|
|
93
|
+
"compile-test": "tsc -p test",
|
|
94
|
+
"compile-doc": "tsc -p doc-gen",
|
|
95
|
+
"compile": "yarn run compile-src && yarn compile-test && yarn compile-doc",
|
|
96
|
+
"lint-ts": "biome check",
|
|
97
|
+
"lint-md": "yarn run remark -u remark-preset-lint-consistent .",
|
|
98
|
+
"lint": "yarn run lint-ts && yarn run lint-md",
|
|
99
|
+
"test": "mocha",
|
|
100
|
+
"build": "yarn run clean && yarn compile && yarn run doc-gen",
|
|
101
|
+
"test-coverage": "c8 yarn run test",
|
|
102
|
+
"send-codacy": "c8 report --reporter=text-lcov | codacy-coverage",
|
|
103
|
+
"doc-gen": "yarn node doc-gen/gen.js",
|
|
104
|
+
"typecheck": "tsc --project ./lib/tsconfig.json --noEmit && tsc --project ./test/tsconfig.json --noEmit"
|
|
105
|
+
},
|
|
106
|
+
"dependencies": {
|
|
107
|
+
"@tokenizer/token": "^0.3.0",
|
|
108
|
+
"content-type": "^1.0.5",
|
|
109
|
+
"debug": "^4.4.1",
|
|
110
|
+
"file-type": "^20.5.0",
|
|
111
|
+
"media-typer": "^1.1.0",
|
|
112
|
+
"strtok3": "^10.2.2",
|
|
113
|
+
"token-types": "^6.0.0",
|
|
114
|
+
"uint8array-extras": "^1.4.0"
|
|
115
|
+
},
|
|
116
|
+
"devDependencies": {
|
|
117
|
+
"@biomejs/biome": "1.9.4",
|
|
118
|
+
"@types/chai": "^5.2.2",
|
|
119
|
+
"@types/chai-as-promised": "^8.0.2",
|
|
120
|
+
"@types/content-type": "^1.1.8",
|
|
121
|
+
"@types/debug": "^4.1.12",
|
|
122
|
+
"@types/media-typer": "^1.1.3",
|
|
123
|
+
"@types/mocha": "^10.0.10",
|
|
124
|
+
"@types/node": "^22.15.12",
|
|
125
|
+
"c8": "^10.1.3",
|
|
126
|
+
"chai": "^5.2.0",
|
|
127
|
+
"chai-as-promised": "^8.0.1",
|
|
128
|
+
"del-cli": "^6.0.0",
|
|
129
|
+
"mime": "^4.0.7",
|
|
130
|
+
"mocha": "^11.2.2",
|
|
131
|
+
"node-readable-to-web-readable-stream": "^0.4.2",
|
|
132
|
+
"remark-cli": "^12.0.1",
|
|
133
|
+
"remark-preset-lint-consistent": "^6.0.1",
|
|
134
|
+
"ts-node": "^10.9.2",
|
|
135
|
+
"typescript": "^5.8.3"
|
|
136
|
+
},
|
|
137
|
+
"engines": {
|
|
138
|
+
"node": ">=18"
|
|
139
|
+
},
|
|
140
|
+
"repository": {
|
|
141
|
+
"type": "github:Borewit/music-metadata"
|
|
142
|
+
},
|
|
143
|
+
"license": "MIT",
|
|
144
|
+
"bugs": {
|
|
145
|
+
"url": "https://github.com/Borewit/music-metadata/issues"
|
|
146
|
+
},
|
|
147
|
+
"packageManager": "yarn@4.9.1"
|
|
148
|
+
}
|