npm

Ready to take your JavaScript development to the next level? Meet npm Enterprise - the ultimate in enterprise JavaScript.Learn more »

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

0

version

0.0.2

license

VOL

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability