{"name":"ignore-walk","version":"3.0.2","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@3.0.2","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":"99d83a246c196ea5c93ef9315ad7b0819c35069b","tarball":"http://registry-npm.ywwl.com/ignore-walk/download/ignore-walk-3.0.2.tgz","fileCount":4,"integrity":"sha512-EXyErtpHbn75ZTsOADsfx6J/FPo6/5cjev46PXrcTpd8z3BoRkXgYu9/JVqrI7tusjmwCZutGeRJeU0Wo1e4Cw==","signatures":[{"sig":"MEUCICDxq6h8jg8OiLotAYY3CHzvw+F/GY/dFWaqpD/bNZn7AiEA7h2QcJxvJKLcsnRMotyMrT3Hhy4oAzWXgXRuaURnFL8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":10882,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdcqxsCRA9TVsSAnZWagAAIzYP/030QBP/GN/iyUP2bVmY\nrrgDGaNrLtSA9xROYbohfHajUez3799jzSCl4hCzJg89rlB+VU84VslAYEsY\nMq+tszUYSz/g7ofVbrV6lR/kHClRVMWKMKfDB6iMbDPESr4jgmgxcy4l7fPQ\nI/9zSurS/4QGvnsWXwWAKTeCLeIyiHaRJaMJGs1Jgm+Yov+/btY8zFGJiK+c\nFvVIsHFOsyvTI2tvM0+7aH93Kl7UMCVTydf21wRwzbD1q++i5vMGYZfl3PUc\ncHNR1FgV3FC706aEI+8MEJRZoiuTP+J+fiJZvvBtGWcy6cRtnYvkE8xS8GVn\nhSdvFHWg/2Dvlz1HPJr2JkpJ4blPY9nztNwTNRkJAqhyrCAcVFkApmqgzSaB\nRZcU1mXNb7TIwNZIioxBT8Q/Cs7EMKcjcTj6b+XNcbP2nq2o1qjzdPnYZ0ma\n9GtUtEydppfRmYR/nv3ojH66ozWui4FZwzyXI0WYOmpHKjWqi+lMfbwKP65G\nZufHeDurVnR1/2NLbqWC+w1s5QfoWsEDsnpLrZ1l4uIN0fVX0AONEe4bnAzB\noH6LaLkyua8LhkXmDic9vrcgLbWDPHyqptAZfvPmSEedsCnVMvK4d2y9JcV0\nGWHvRcL2FiGudtIe4SmUyPLde0Wwxzgd4HlJnptFLzO1waN7C14o7iZNjNG9\n7j8w\r\n=n1ZV\r\n-----END PGP SIGNATURE-----\r\n","size":4179,"noattachment":false,"key":"/ignore-walk/-/ignore-walk-3.0.2.tgz"},"main":"index.js","gitHead":"b495e54bedb1be75734e67cf3f8e0618eae7ed74","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":"6.11.2","description":"Nested/recursive `.gitignore`/`.npmignore` parsing and filtering.","directories":{},"_nodeVersion":"12.8.1","dependencies":{"minimatch":"^3.0.4"},"_hasShrinkwrap":false,"devDependencies":{"tap":"^12.7.0","mkdirp":"^0.5.1","rimraf":"^2.6.1","mutate-fs":"^1.1.0"},"_npmOperationalInternal":{"tmp":"tmp/ignore-walk_3.0.2_1567796331282_0.3165941443468383","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":1567796331426,"_cnpm_publish_time":1567796331426,"dist-tags":{"latest":"9.0.1"}}