{"dist":{"shasum":"b9bfb9a4edd1953d196627f5957a0a2c03e1519f","tarball":"https://registry.npmjs.org/monocle/-/monocle-0.1.0.tgz","integrity":"sha512-DpF5nDU2QDRjg32LSq3m4htA7QNMsX8BBbP6ZgUo2rSre/+sLKg4et8VTmDa0kH+uVb+xeuGFpUwDCreoPEmfw==","signatures":[{"sig":"MEQCIF6t+AOoJFwkm3jqm4J/ug9fyYXP3aW1X+hNbqJ5xZJvAiBiEbN1YyIQQwkop24ZiNaEEA/trIfQBlCqo2xCP3DliQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"monocle.js","name":"monocle","_from":".","author":{"name":"Sam Saccone"},"readme":"**Monocle -- a tool for watching things**\n\n`npm install monocle`\n\n`var Monocle = require('monocle')\n (new Monocle).watchDirectory(dir, cb, watchSetupComplete, fileFilers, directoryFilters);\n`\n\n\n## Filters\n\nThere are three different ways to specify filters for files and directories respectively.\n\n- **function**: a function that takes an entry info as a parameter and returns true to include or false to exclude the entry\n\n- **glob string**: a string (e.g., `*.js`) which is matched using [minimatch](https://github.com/isaacs/minimatch), so go there for more\n    information.\n\n    Globstars (`**`) are not supported since specifiying a recursive pattern for an already recursive function doesn't make sense.\n\n    Negated globs (as explained in the minimatch documentation) are allowed, e.g., `!*.txt` matches everything but text files.\n\n- **array of glob strings**: either need to be all inclusive or all exclusive (negated) patterns otherwise an error is thrown.\n\n    `[ '*.json', '*.js' ]` includes all JavaScript and Json files.\n\n\n    `[ '!.git', '!node_modules' ]` includes all directories except the '.git' and 'node_modules'.\n\nDirectories that do not pass a filter will not be recursed into.","license":"BSD","scripts":{"test":"mocha test"},"_npmUser":{"name":"samccone","email":"samccone@gmail.com"},"keywords":["watch","filesystem","folders","fs"],"repository":"","_npmVersion":"1.2.11","description":"a tool for watching directories for file changes","directories":{"test":"test"},"maintainers":[{"name":"samccone","email":"samccone@gmail.com"}],"dependencies":{"readdirp":"~0.2.3","underscore":"~1.4.4"},"readmeFilename":"README.md","devDependencies":{},"_id":"monocle@0.1.0","version":"0.1.0"}