itunes-parser

0.0.1 • Public • Published

itunes-parser

Parse iTunes Music Library.xml into Array of objects

Install

npm install itunes-parser

Usage

var itunesParser = require('itunes-parser');
var songs = itunesParser.parse(xml);

Or to include and map to different properties:

var songs = itunesParser.parse(
        xml,
        {
            'Track ID': 'id',
            'Artist': 'artist',
            'Album': 'album',
            'Genre': 'genre',
            'Name': 'title',
            'Location': 'url'
        }
    );

Dependencies (1)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i itunes-parser

    Weekly Downloads

    1

    Version

    0.0.1

    License

    none

    Last publish

    Collaborators

    • dankantor