xspf

0.0.1 • Public • Published

node.js XSPF async parser

Installation

npm install xspf

Usage

var Xspf = require('xspf'),
    util = require('util'),
    fs = require('fs');
 
fs.createReadStream('playlist.xspf');
 
new Xspf(res).on('track', function (track) {
    console.log(util.format('%s - %s', track['creator'], track['title']));
});

Readme

Keywords

none

Package Sidebar

Install

npm i xspf

Weekly Downloads

2

Version

0.0.1

License

none

Last publish

Collaborators

  • rithis