Nuclear Powered Mushroom

    sims-photo-album-list

    0.0.2 • Public • Published

    sims-photo-album-list

    List the Sims 2 photo albums for a neighborhood folder.

    install

    Install the normal npm way:

    npm install sims-photo-album-list

    use

    Point it at the Sims 2 neighborhood folder to get a list of photo album XML file objects:

    var photoAlbums = require('sims-photo-album-list')
    photoAlbums('/Users/me/Games/Sims2/Neighborhoods', function(err, albumFiles) {
        console.log(albumFiles[0].root) // '/Users/me/Games/Sims2/Neighborhoods'
        console.log(albumFiles[0].neighborhood) // 'N002'
        console.log(albumFiles[0].album) // 'webentry_00000001.xml'
    })

    bugs and requests

    If you find a bug or have a request, please file an issue.

    license

    VOL

    Keywords

    Install

    npm i sims-photo-album-list

    DownloadsWeekly Downloads

    5

    Version

    0.0.2

    License

    VOL

    Last publish

    Collaborators

    • saibotsivad