1.3.1 • Published 2 months ago

parse-audio-metadata v1.3.1

Weekly downloads
26
License
MIT
Repository
github
Last release
2 months ago

parse-audio-metadata

Audio file metadata parser for the browser and Node.js.

Supported audio file types

mp3 with ID3v2.3 and ID3v2.4 headers, flac, opus, ogg, wav and m4a.

Installation

npm install parse-audio-metadata

Usage

The input can be of type File/Blob, ArrayBuffer.

import parseAudioMetadata from "parse-audio-metadata";

const metadata = await parseAudioMetadata(input);

or

const { default: parseAudioMetadata } = await import("parse-audio-metadata");

const metadata = await parseAudioMetadata(input);

\ To run in node use code bellow to get the blob.

import { openAsBlob } from "node:fs";

const blob = await openAsBlob(filePath);
1.3.1

2 months ago

1.3.0

2 months ago

1.2.2

4 months ago

1.2.1

4 months ago

1.2.0

8 months ago

1.1.0

2 years ago

1.0.5

2 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago