{"name":"ignore-walk","version":"2.0.3","keywords":["ignorefile","ignore","file",".gitignore",".npmignore","glob"],"author":{"url":"http://blog.izs.me/","name":"Isaac Z. Schlueter","email":"i@izs.me"},"license":"ISC","_id":"ignore-walk@2.0.3","maintainers":[{"name":"isaacs","email":"i@izs.me"}],"homepage":"https://github.com/isaacs/ignore-walk#readme","bugs":{"url":"https://github.com/isaacs/ignore-walk/issues"},"dist":{"shasum":"d41bad008126ad648aa85811fead859f55cc0cbc","tarball":"http://registry-npm.ywwl.com/ignore-walk/download/ignore-walk-2.0.3.tgz","integrity":"sha512-MSgSDJUTsurTznpKo5OJLQZTYQUd8GdufGHbYm5zUWnDoywsuGzdwK7heHeoq4eUASFK6XcfxAxNspa0iYEAlw==","signatures":[{"sig":"MEUCIBdf564WEjpgrsRNT1fsChO8f+paP2bbdfpQnwh8Db+xAiEAjzG7HsIiYz075LSCpTVNnQv4LuZo2gVEqA2bGHikJVk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"size":4143,"noattachment":false,"key":"/ignore-walk/-/ignore-walk-2.0.3.tgz"},"main":"index.js","files":["index.js"],"gitHead":"05295d11e59984d8931dc1e3d47d49a8bfd7d372","scripts":{"test":"tap test/*.js --100","preversion":"npm test","postpublish":"git push origin --all; git push origin --tags","postversion":"npm publish"},"_npmUser":{"name":"isaacs","email":"i@izs.me"},"repository":{"url":"git+https://github.com/isaacs/ignore-walk.git","type":"git"},"_npmVersion":"5.0.0","description":"Nested/recursive `.gitignore`/`.npmignore` parsing and filtering.","directories":{},"_nodeVersion":"8.0.0","dependencies":{"minimatch":"^3.0.4"},"devDependencies":{"tap":"^10.3.2","mkdirp":"^0.5.1","rimraf":"^2.6.1","mutate-fs":"^1.1.0"},"_npmOperationalInternal":{"tmp":"tmp/ignore-walk-2.0.3.tgz_1496368202108_0.8290714700706303","host":"s3://npm-registry-packages"},"readme":"# ignore-walk\n\nNested/recursive `.gitignore`/`.npmignore` parsing and filtering.\n\nWalk a directory creating a list of entries, parsing any `.ignore`\nfiles met along the way to exclude files.\n\n## USAGE\n\n```javascript\nconst walk = require('ignore-walk')\n\n// All options are optional, defaults provided.\n\n// this function returns a promise, but you can also pass a cb\n// if you like that approach better.\nwalk({\n  path: '...', // root dir to start in. defaults to process.cwd()\n  ignoreFiles: [ '.gitignore' ], // list of filenames. defaults to ['.ignore']\n  includeEmpty: true|false, // true to include empty dirs, default false\n  follow: true|false // true to follow symlink dirs, default false\n}, callback)\n\n// to walk synchronously, do it this way:\nconst result = walk.sync({ path: '/wow/such/filepath' })\n```\n\nIf you want to get at the underlying classes, they're at `walk.Walker`\nand `walk.WalkerSync`.\n\n## OPTIONS\n\n* `path` The path to start in.  Defaults to `process.cwd()`\n\n* `ignoreFiles` Filenames to treat as ignore files.  The default is\n  `['.ignore']`.  (This is where you'd put `.gitignore` or\n  `.npmignore` or whatever.)  If multiple ignore files are in a\n  directory, then rules from each are applied in the order that the\n  files are listed.\n\n* `includeEmpty` Set to `true` to include empty directories, assuming\n  they are not excluded by any of the ignore rules.  If not set, then\n  this follows the standard `git` behavior of not including\n  directories that are empty.\n\n    Note: this will cause an empty directory to be included if it\n    would contain an included entry, even if it would have otherwise\n    been excluded itself.\n\n    For example, given the rules `*` (ignore everything) and `!/a/b/c`\n    (re-include the entry at `/a/b/c`), the directory `/a/b` will be\n    included if it is empty.\n\n* `follow`  Set to `true` to treat symbolically linked directories as\n  directories, recursing into them.  There is no handling for nested\n  symlinks, so `ELOOP` errors can occur in some cases when using this\n  option.  Defaults to `false`.\n","publish_time":1496368202186,"_cnpm_publish_time":1496368202186,"dist-tags":{"latest":"9.0.1"}}