@async3619/merry-go-round
TypeScript icon, indicating that this package has built-in type declarations

1.4.0 • Public • Published


🎠
Merry Go Round

npm (tag) MIT License
Node.js native module for handling media files

Introduction

This is a node.js native module to handle information of media files. as you already know, most of the media files out there have their own tag system such as ID3, APE and so on. this module is developed for this purpose!





Installation

npm install @async3619/merry-go-round

# or

yarn add @async3619/merry-go-round

# or

pnpm add @async3619/merry-go-round

Usage

const { Audio } = require('merry-go-round');

const audio = Audio.fromFile('path/to/file.mp3');
// or you can use Audio.fromBuffer(buffer) to read from buffer

console.log(audio.title); // => 'title'
console.log(audio.artist); // => 'artist'
console.log(audio.album); // => 'album'
console.log(audio.year); // => 'year'
console.log(audio.genre); // => 'genre'

// ...

Readme

Keywords

none

Package Sidebar

Install

npm i @async3619/merry-go-round

Weekly Downloads

3

Version

1.4.0

License

MIT

Unpacked Size

934 kB

Total Files

19

Last publish

Collaborators

  • async3619