{"name":"list-directory-contents","version":"0.0.2","description":"Get the contents of a directory recursively (like ls -R)","keywords":["ls","ls -r","recursive ls","fs","dir","lstat","recursive stat","lstat","list files"],"dependencies":{"walker":"~1.0.6"},"scripts":{"start":"node app.js","debug":"node debug app.js","test":"mocha"},"main":"app.js","repository":{"type":"git","url":"git://github.com/mikermcneil/list-directory-contents.git"},"author":{"name":"mikermcneil"},"license":"MIT","devDependencies":{"mocha":"~1.20.1","fs-extra":"~0.10.0"},"bugs":{"url":"https://github.com/mikermcneil/list-directory-contents/issues"},"homepage":"https://github.com/mikermcneil/list-directory-contents","_id":"list-directory-contents@0.0.2","dist":{"shasum":"0f72aaa72f7126e9ba2ef264527b7c1368a19c96","tarball":"http://registry-npm.ywwl.com/list-directory-contents/download/list-directory-contents-0.0.2.tgz","integrity":"sha512-e4kXmHDBwqGz2RXNeJoDXiUlpS+Dg2BCuYw1GgRqJbcJpZ+qiRi7d/taNpkXIv0YqX9mL6igSujZLfj44izQ2Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCyZJT08nYGeH7dRoHHfhtWGScMh9Egq2T6HXzQXVtr7gIgYCFuwATjA/vRt7yLa84RQHfTdtUq8qEXzZMRhqLzQCo="}],"size":1442,"noattachment":false,"key":"/list-directory-contents/-/list-directory-contents-0.0.2.tgz"},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"balderdashy","email":"mike@balderdash.co"},"maintainers":[{"name":"balderdashy","email":"mike@balderdash.co"}],"directories":{},"readme":"# list-directory-contents\n\nImplements `ls -R` for Node.js.\n\n## Installation\n\n```sh\n$ npm install list-directory-contents\n```\n\n## Usage\n\n```javascript\nvar ls = require('list-directory-contents');\n\nls('./', function (err, tree) {\n  \n  // NOTE:\n  // everything ending in `/` in the output below is a path to a directory\n  // all other paths are to files\n  \n  \n  // `tree` =>\n  [\n    'index.js',\n    'README',\n    'package.json',\n    'CONTRIBUTING.md',\n    'node_modules/',\n\n    'node_modules/lodash/',\n    'node_modules/async/',\n    'node_modules/fs-extra/',\n\n    'node_modules/fs-extra/index.js',\n    'node_modules/fs-extra/lib/',\n    'node_modules/fs-extra/node_modules/'\n  ];\n  \n});\n```\n\n## Why?\n\nThis module is merely a convenience; a thin wrapper for [walker](https://github.com/daaku/nodejs-walker).  It presents a minimalist API for the most basic task you're likely to get up to: getting all the things in a directory, all the things in those things, and so forth.  @daaku did all the hard work :)\n\nFor more advanced use cases like built-in file vs. dir parsing, fetching `lstat` metadata, or controlling the universe mind bullets, please use [walker](https://github.com/daaku/nodejs-walker) directly.  See https://github.com/jprichardson/node-fs-extra/issues/63#issuecomment-49733873 for ergaleígony.\n\n\n## License\n\nMIT &copy; Mike McNeil 2014\n","publish_time":1406078241545,"_cnpm_publish_time":1406078241545,"dist-tags":{"latest":"0.0.3"}}