npm

Need private packages and team management tools?Check out npm Orgs. »

sims-photo-album-watcher

0.0.3 • Public • Published

sims-photo-album-watcher

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

install

Install the normal way with npm:

npm install sims-photo-album-watcher

use

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.

license

VOL

Keywords

install

npm i sims-photo-album-watcher

Downloadsweekly downloads

1

version

0.0.3

license

VOL

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability