{"name":"ignore-walk","version":"1.1.0","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@1.1.0","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":"35056877749859d49e5e322c2dfe1c8ab5adb433","tarball":"http://registry-npm.ywwl.com/ignore-walk/download/ignore-walk-1.1.0.tgz","integrity":"sha512-mqpke8XHKvA1xbquTtAntfcDm8MDUpeBwrQsqati8a7HiM0BoOs456puoWCmocVv4fa222VCJH0fo1Lt0oEb2Q==","signatures":[{"sig":"MEQCIHP7wLl7oJ1HgT55MnwHWTHUV7RHcIqKb64eUO/i8nACAiA0x5uhSnMxy6aVqu/4KEG7rrD8jLWreEI5eEGK0gJmnA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"size":4147,"noattachment":false,"key":"/ignore-walk/-/ignore-walk-1.1.0.tgz"},"main":"index.js","files":["index.js"],"gitHead":"f2591fd855ec756e2e0f1c621b2cf17722743364","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-beta.56","description":"Nested/recursive `.gitignore`/`.npmignore` parsing and filtering.","directories":{},"_nodeVersion":"8.0.0-pre","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-1.1.0.tgz_1495772519546_0.39939063298515975","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":1495772519744,"_cnpm_publish_time":1495772519744,"dist-tags":{"latest":"9.0.1"}}