{"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.2","homepage":"https://github.com/beefsack/node-hound","bugs":{"name":"https://github.com/beefsack/node-hound/issues"},"repository":{"type":"git","url":"git://github.com/beefsack/node-hound.git"},"main":"hound","scripts":{"test":"node_modules/.bin/jasmine-node spec"},"dependencies":{},"devDependencies":{"jasmine-node":"*"},"optionalDependencies":{},"engines":{"node":"*"},"_npmUser":{"name":"beefsack","email":"mail@michaelalexander.com.au"},"_id":"hound@1.0.2","_engineSupported":true,"_npmVersion":"1.1.21","_nodeVersion":"v0.6.18","_defaultsLoaded":true,"dist":{"shasum":"36d0658acb10f77c7b8aaef1c9388ebb3edfb2dc","tarball":"http://registry-npm.ywwl.com/hound/download/hound-1.0.2.tgz","integrity":"sha512-7jURNS6jpksjdCUgoRbIDiMQFix1TDkUrE3ARqSUmHgZX5eWVuOwWTA4Q0bi3dd3Q0sggP4JulkfN+cpaJgNeQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAH6k5wzWSJq+lndT5fk3qOg285cakDnF896btlkoDVlAiBohrc9K9b/IK+s8YFObIhSPkFINAflGKMMCdXhNps9JQ=="}],"size":3813,"noattachment":false,"key":"/hound/-/hound-1.0.2.tgz"},"maintainers":[{"name":"beefsack","email":"beefsack@gmail.com"}],"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":1337860464642,"_cnpm_publish_time":1337860464642,"dist-tags":{"latest":"1.0.5"}}