{"name":"monocle","version":"0.1.3","description":"a tool for watching directories for file changes","main":"monocle.js","directories":{"test":"test"},"dependencies":{"readdirp":"~0.2.3","underscore":"~1.4.4"},"devDependencies":{"mocha":"1.8.1"},"scripts":{"test":"mocha test -R spec -t 2000"},"repository":"","keywords":["watch","filesystem","folders","fs"],"author":{"name":"Sam Saccone"},"license":"BSD","readme":"[![Build Status](https://travis-ci.org/samccone/monocle.png?branch=master)](https://travis-ci.org/samccone/monocle)\n\n## Monocle -- a tool for watching things\n\n[![logo](https://raw.github.com/samccone/monocle/master/logo.png)](https://raw.github.com/samccone/monocle/master/logo.png)\n\nHave you ever wanted to watch a folder and all of its files/nested folders for changes. well now you can!\n\n`npm install monocle`\n\n\n`var Monocle = require('monocle')`\n\n` (new Monocle).watchDirectory(dir, cb, watchSetupComplete, fileFilers, directoryFilters);`\n\n### or watch an array of files\n\n` (new Monocle).watchFiles(files[], cb, watchSetupComplete);`\n\nthe callback gets the filename that was modified\n\n## Filters\n\n- Read about it here [READDIRP](https://github.com/thlorenz/readdirp)","readmeFilename":"README.md","_id":"monocle@0.1.3","dist":{"shasum":"e511e4364a4ce6bdb519fa84b244f22dd3688dcb","tarball":"http://registry-npm.ywwl.com/monocle/download/monocle-0.1.3.tgz","integrity":"sha512-cKyEQ95ljkIsfk6ZkBmk1gYrVMMMHtUEBF4c/L+vq5yXIqnWJfifo5qHzfuV8RrmobfEdtZBgovGinjiBVNb3g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBtC3IyBQCwv69gPJ6JsFZ+Zvlk1SCUv23XwGduUa/tJAiB7Zl0NLHLK5PY8U3ege/TTEqUugoyVPJ1FuLilibXUtw=="}],"size":28714,"noattachment":false,"key":"/monocle/-/monocle-0.1.3.tgz"},"_from":".","_npmVersion":"1.2.11","_npmUser":{"name":"samccone","email":"samccone@gmail.com"},"maintainers":[{"name":"samccone","email":"samccone@gmail.com"}],"publish_time":1362444154432,"_cnpm_publish_time":1362444154432,"dist-tags":{"latest":"1.1.51"}}