{"name":"ignore-walk","version":"4.0.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@4.0.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"},"tap":{"jobs":1,"after":"test/zz-cleanup.js","before":"test/00-setup.js","test-env":"LC_ALL=sk"},"dist":{"shasum":"34f9b3e9fc7561908dc9a339f5e97e56977d0a76","tarball":"http://registry-npm.ywwl.com/ignore-walk/download/ignore-walk-4.0.0.tgz","fileCount":4,"integrity":"sha512-lRa+9blOxLeL0UkwcKW1zDKsT03PmBg71dXJA1vip9J7qyUIBYDd2Y6jVl//LRbKubsYFFcASqRGXeq4HddEZQ==","signatures":[{"sig":"MEYCIQD2rdJRYIBOiOs4XoiBKSJ5AybJokJUabOWgYrinZGFQAIhAO6oO2RBR6UhRLLhS/nVqc4RuzamN985I/Bz6RJwu1es","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":12002,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhI9QkCRA9TVsSAnZWagAADhkP/jX6U7u7r1nHy4d3mLy+\ngMy5Wg1EETQ/QmTx3U+wncEHQ6Zowq1UZLXZyLSmm0+ManZtoyb0wqRkXUps\nUM+1MKo0IbU/1/zmbdf0yR+wMj0U5V/kAqvzugWn95L8CEkmSL2HTwNDzy1A\nWJAWRW2LearJHmJa1Y57ZQgnTtPU9h5k5OYnzDW7XHQ0pIdC/IImc1JRPxOZ\nCtsQ33hXTaokMMMXj2NBnbnMEtMSDnbsI6JuVc21QyXI0S3YqolG6m5kU8cH\ngAV6dIpsFzQWggPXn3dJGNepviM3cqDpODrdkAkLaJv7EGrSPHOc20QYucQv\nfhE+Jhr3wkIJ0lfaJfWUmzZ31NEvtw9vGxP28Csv5AnB7rxDISD75FAB6Tce\nSwRDvYZOmh0sKlSnpr9dzsIuUJtFfNDJPaJXzPxFac4OF6ny5w5E7ArfWr4M\nC37VM3pXV7CbllchmND700dbyMfhkWbvbncw1bZizxFGCgDxa37zaHyi/Hwn\nJReJ/jUHSm5N7zMCLxkUfMVfbEDmHOnacLXQ1SGEjyiSP52gabilmKF06H1w\nUwm6AIscKW7G5gKDKdH065qzQNHHjc3V3K3cEPWa2N9SQssfyRV8GT/8LN69\nHTcmaAQ2vreUIOGS0YENaTkbkHmsqIy0MF+oxrPbocUwu22FINMBph3kSnzR\n3mZT\r\n=Xz+c\r\n-----END PGP SIGNATURE-----\r\n","size":4463,"noattachment":false,"key":"/ignore-walk/-/ignore-walk-4.0.0.tgz"},"main":"index.js","gitHead":"95e000ada4ab816b1c366154d808bede62d4da37","scripts":{"lint":"npm run eslint -- index.js \"test/**/*.js\"","test":"tap","eslint":"eslint","lintfix":"npm run lint -- --fix","posttest":"npm run lint","preversion":"npm test","postpublish":"git push origin --all; git push origin --tags","postversion":"npm publish"},"_npmUser":{"name":"isaacs","email":"i@izs.me"},"deprecated":"didn't set engines properly in package.json","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","eslint":"^7.25.0","mkdirp":"^0.5.1","rimraf":"^2.6.1","mutate-fs":"^1.1.0","eslint-plugin-node":"^11.1.0","eslint-plugin-import":"^2.22.1","eslint-plugin-promise":"^5.1.0","eslint-plugin-standard":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/ignore-walk_4.0.0_1629738020662_0.6445518037824836","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":1629738020827,"_cnpm_publish_time":1629738020827,"dist-tags":{"latest":"9.0.1"}}