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-watcher with all npm packages installed. Try it out:

var simsPhotoAlbumWatcher = require("sims-photo-album-watcher")

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

sims-photo-album-watcher v0.0.3

Watch a Sims 2 photo album folder for changes and emit events.


Watch a Sims 2 photo album folder for changes and emit events.


Install the normal way with npm:

npm install sims-photo-album-watcher


It is an event emitter that emits save, delete, and error.

var folderWatcher = require('sims-photo-album-watcher')
var watcher = neighborhoodWatcher('/User/me/Games/Sims2/Neighborhoods')
watcher.on('save', function(photoAlbum) {
    console.log('save:', photoAlbum.familyName)
watcher.on('delete', function(path) {
    console.log('delete:', path)
watcher.on('error', function(err) {
    console.log('err:', err)

bugs and requests

If you find a bug, 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