Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including sims-photo-album-list with all npm packages installed. Try it out:

var simsPhotoAlbumList = require("sims-photo-album-list")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

sims-photo-album-list v0.0.2

List the Sims 2 photo albums for a neighborhood folder.


List the Sims 2 photo albums for a neighborhood folder.


Install the normal npm way:

npm install sims-photo-album-list


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.



RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free