{"author":{"name":"Michael Alexander","email":"mail@michaelalexander.com.au","url":"http://michaelalexander.com.au"},"name":"hound","description":"Cross platform directory tree watcher, focussed on reliability, speed, and simplicity.","keywords":["directory","tree","watch","windows","cross","platform","reliable","simple","fast"],"version":"1.0.5","homepage":"https://github.com/beefsack/node-hound","bugs":{"url":"https://github.com/beefsack/node-hound/issues"},"repository":{"type":"git","url":"git://github.com/beefsack/node-hound.git"},"main":"hound","scripts":{"test":"jasmine-node spec"},"dependencies":{},"devDependencies":{"jasmine-node":"*"},"optionalDependencies":{},"engines":{"node":">=0.7.1"},"gitHead":"e7100b1d38095aa72954727262e1d97e95dcc8d7","_id":"hound@1.0.5","_shasum":"59bbd39220eb4a541dff4e2de341d6daf6f8a289","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.5.0","_npmUser":{"name":"gforceg","email":"greghedin@gmail.com"},"dist":{"shasum":"59bbd39220eb4a541dff4e2de341d6daf6f8a289","tarball":"http://registry-npm.ywwl.com/hound/download/hound-1.0.5.tgz","integrity":"sha512-XlR+pqWj9BeiHQUS03HX9Pnb32+pgbrFxoSYhl+atrs25GHIrZU4gvKe426pJripJWZFCkvZv6aLTzZvas0Tug==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDMwngWbXEdL1DYBiT/cQDOSyxEnmZCnsrZt+N/PNgkBAIhANcB/NgmJeHTHugI7T+xeK8Hsud+1nPMN7tMPEoQAhO9"}],"size":4061,"noattachment":false,"key":"/hound/-/hound-1.0.5.tgz"},"maintainers":[{"name":"beefsack","email":"beefsack@gmail.com"},{"name":"gforceg","email":"greghedin@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/hound-1.0.5.tgz_1490321996685_0.48211978864856064"},"readme":"hound - directory tree watcher for node.js\n=============================================\n\nCross platform directory tree watcher that works, even on Windows\n-----------------------------------------------------------------\n\nThe philosophy of hound is:\n\n* **Be reliable, work on every platform**\n* **Be fast**\n* **Be simple**\n\nhound is designed to be very reliable, fast, and simple.  There are no runtime\ndependencies outside of the standard node.js libraries.  There is a development\ndependency on [Jasmine](http://pivotal.github.com/jasmine/), which is required\nto run the tests.\n\nInstallation\n------------\n\nInstall using npm:\n\n```\nnpm install hound\n```\n\nBecause hound has no runtime dependencies, it is also possible to download the\nlibrary manually and require it directly.\n\nUsage\n-----\n\n```javascript\nhound = require('hound')\n\n// Create a directory tree watcher.\nwatcher = hound.watch('/tmp')\n\n// Create a file watcher.\nwatcher = hound.watch('/tmp/file.txt')\n\n// Add callbacks for file and directory events.  The change event only applies\n// to files.\nwatcher.on('create', function(file, stats) {\n  console.log(file + ' was created')\n})\nwatcher.on('change', function(file, stats) {\n  console.log(file + ' was changed')\n})\nwatcher.on('delete', function(file) {\n  console.log(file + ' was deleted')\n})\n\n// Unwatch specific files or directories.\nwatcher.unwatch('/tmp/another_file')\n\n// Unwatch all watched files and directories.\nwatcher.clear()\n```\n\nTesting\n-------\n\nTo run the tests, use `npm test`.  The tests work on actual directory trees that\nare generated in the tmp directory.\n","publish_time":1490321998459,"_cnpm_publish_time":1490321998459,"dist-tags":{"latest":"1.0.5"}}