{"name":"ignore-walk","version":"4.0.1","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@4.0.1","maintainers":[{"name":"isaacs","email":"i@izs.me"}],"homepage":"https://github.com/isaacs/ignore-walk#readme","bugs":{"url":"https://github.com/isaacs/ignore-walk/issues"},"tap":{"jobs":1,"after":"test/zz-cleanup.js","before":"test/00-setup.js","test-env":"LC_ALL=sk"},"dist":{"shasum":"fc840e8346cf88a3a9380c5b17933cd8f4d39fa3","tarball":"http://registry-npm.ywwl.com/ignore-walk/download/ignore-walk-4.0.1.tgz","fileCount":4,"integrity":"sha512-rzDQLaW4jQbh2YrOFlJdCtX8qgJTehFRYiUB2r1osqTeDzV/3+Jh8fz1oAPzUThf3iku8Ds4IDqawI5d8mUiQw==","signatures":[{"sig":"MEYCIQCKIMi4qhT0HTpq3KvQPVTA46WowYGBDKLy9wCRW9+8kAIhAMszw1n49TKbVLmuTuPAYM0yY1d7gZ9Lufieg8TZMcjT","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":12107,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhI9bYCRA9TVsSAnZWagAA9kEP/ROw5RKrjhB7HaYC3YkP\nhN6zUHqWk8MjKtZTTHJcPQT0poE1U3p5N1X5oaCcC5cjYVp9SFdg6UBh17He\n0K0lVZjPAuGgdr4OGfLFil/DDavy2ALxNOhSmpPx5bxAx6zHOoS0w/5I+4H6\nrjeF5i6+V00C+DEiQ1frq0+IDcPNo5TXWHH/CXPioNfLd1qpw16luK08b+En\nURtdjb6c3DX8mb6WspfEkBJGRKoyrViHLtyw2j6eYly3IwwCzEsUG8VRIWhJ\nYLs5IxJCIsyOZRL+fSKct/kz0Hvf3hhRu0TYmT5Qw/0Yx8KOnUHiMEZr13Qt\nVEf5B237siHCMjzGPj3cnA4MMSatmgJXFSW7lB9tO5VEnm1ULfqydtWH9y6K\nNqOnrixAbPFJZ5FJglGFgOcP9vMf6bRUxwdyj4XjOc+Ty6FsaCO5xrhsTRnn\no7ci76qSR9r7JuLPmuv2e26Y4gVrvKxouhBSl/wrncMlEhBUd1u30RjsxVCE\n3BHNp1/4lOUC6+eyqSvi2wjjqwJE1Ru+bGLdQoxdvvmxnMJnt5bHfp4OHniS\nxFZeO/ztpj0/z/5Y93za8dAwa3kErzbQLvwY1zQliu33ZhZ7jAuuK/K8DVCe\nnBn3Id1OVN0mKmgaPUBEsco0IJUBL7n1lsGDU5u+0DyQTp0yMIr1Mc+a315p\nsnf8\r\n=QiSf\r\n-----END PGP SIGNATURE-----\r\n","size":4477,"noattachment":false,"key":"/ignore-walk/-/ignore-walk-4.0.1.tgz"},"main":"index.js","engines":{"node":">=10"},"gitHead":"898ee62ebe21c929e520113b87b7d1c1715ad3f4","scripts":{"lint":"npm run npmclilint -- \"*.*js\" \"test/**/*.*js\"","test":"tap","eslint":"eslint","lintfix":"npm run lint -- --fix","postsnap":"npm run lintfix --","posttest":"npm run lint --","npmclilint":"npmcli-lint","preversion":"npm test","postpublish":"git push origin --follow-tags","postversion":"npm publish"},"_npmUser":{"name":"isaacs","email":"i@izs.me"},"repository":{"url":"git+https://github.com/isaacs/ignore-walk.git","type":"git"},"_npmVersion":"7.20.6","description":"Nested/recursive `.gitignore`/`.npmignore` parsing and filtering.","directories":{},"_nodeVersion":"16.5.0","dependencies":{"minimatch":"^3.0.4"},"_hasShrinkwrap":false,"devDependencies":{"tap":"^15.0.6","mkdirp":"^0.5.1","rimraf":"^2.6.1","mutate-fs":"^1.1.0","@npmcli/lint":"^1.0.2"},"_npmOperationalInternal":{"tmp":"tmp/ignore-walk_4.0.1_1629738712011_0.2259919529204999","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":1629738712156,"_cnpm_publish_time":1629738712156,"dist-tags":{"latest":"9.0.1"}}