Skip to content

peermusic/music-metadata

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

music-metadata

Parsing metadata of a music file. Data gets used in the following order:

  • ID3 v2
  • ID3 v1
  • file name parsing

Install

npm install https://github.com/peermusic/music-metadata

Usage

var musicMetadata = require('music-metadata')
musicMetadata(file, function (tags) {
  console.log(tags) // "tags" is an object with title, artist, album, track and year
})

For reference see the Browserify Handbook.

Tests for parsing

npm install -g mocha
mocha

About

Parses music metadata from file name and ID3 tag.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published