Skip to content

takes location of mp3 file as argument and returns an object meta information.

License

Notifications You must be signed in to change notification settings

incessantmeraki/mp3-metainfo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mp3-metainfo

takes location of mp3 file as argument and returns an object meta information. (experiment: don't use in production)

Usage

Example

  //example.js
  var mp3Metainfo = require('./index.js')

  var fullPath = __dirname + '/'+process.argv[2]
  var result = mp3Metainfo(fullPath)

  console.log (result)

Output

copy any music(music.mp3) in the current directory and run

  $ node example.js music.mp3
  
    { song: 'Always In My Head',
      artist: 'Coldplay',
      album: 'Ghost Stories',
      year: '2014' }

License

MIT

About

takes location of mp3 file as argument and returns an object meta information.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published