{"name":"monocle","version":"0.1.4","description":"a tool for watching directories for file changes","main":"monocle.js","directories":{"test":"test"},"dependencies":{"readdirp":"~0.2.3"},"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.4","dist":{"shasum":"9df5b3adff2a177036b6e2bf19cdb5cfa2b418eb","tarball":"http://registry-npm.ywwl.com/monocle/download/monocle-0.1.4.tgz","integrity":"sha512-jrg8dXdUfGA8tqtGyE6glYrW4rBfi12ew3JbLeQQ7qas6+ful9pH5dscww3QL5hCLNkJAWUuIplLALE+EJRtkA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIC5Jsdw2SYiRdI0r3MM4SwVzlYDJ5iCq5CKILcgntxscAiA9vmkydCR59AUdFBtz5RyTakqptDq/WG1fopfQPnf0yg=="}],"size":28643,"noattachment":false,"key":"/monocle/-/monocle-0.1.4.tgz"},"_npmVersion":"1.2.0","_npmUser":{"name":"samccone","email":"samccone@gmail.com"},"maintainers":[{"name":"samccone","email":"samccone@gmail.com"}],"publish_time":1366034052472,"_cnpm_publish_time":1366034052472,"dist-tags":{"latest":"1.1.51"}}