0.0.1 • Published 10 years ago

asx-parser v0.0.1

Weekly downloads
2
License
MIT
Repository
github
Last release
10 years ago

Build Status Dependency Status devDependency Status

ASX Parser

A simple utility to parse ASX (Advanced Stream Redirector) files.

Methods

parseString

Accepts ASX string for parsing

parseFile

Accepts ASX file for parsing

Both methods return an array of parsed entries/

 [ 
  { 
    Title: 'Short Announcement to Play Before Main Stream',
    Url: 'http://example.com/announcement.wma' 
  },
  { 
    Title: 'Example radio',
    Url: 'http://example.com:8080',
    Author: 'Example.com' 
  } 
 ]

Tests

Run tests using mocha

  mocha test.js
0.0.1

10 years ago