{"name":"ignore-walk","version":"8.0.0","keywords":["ignorefile","ignore","file",".gitignore",".npmignore","glob"],"author":{"name":"GitHub Inc."},"license":"ISC","_id":"ignore-walk@8.0.0","maintainers":[{"name":"gar","email":"gar+npm@danger.computer"},{"name":"saquibkhan","email":"saquibkhan@github.com"},{"name":"npm-cli-ops","email":"npm-cli+bot@github.com"},{"name":"reggi","email":"reggi@github.com"},{"name":"hashtagchris","email":"hashtagchris@github.com"},{"name":"owlstronaut","email":"owlstronaut@github.com"}],"homepage":"https://github.com/npm/ignore-walk#readme","bugs":{"url":"https://github.com/npm/ignore-walk/issues"},"tap":{"jobs":1,"after":"test/zz-cleanup.js","before":"test/00-setup.js","nyc-arg":["--exclude","tap-snapshots/**"],"timeout":600,"test-env":"LC_ALL=sk"},"dist":{"shasum":"380c173badc3a18c57ff33440753f0052f572b14","tarball":"http://registry-npm.ywwl.com/ignore-walk/download/ignore-walk-8.0.0.tgz","fileCount":4,"integrity":"sha512-FCeMZT4NiRQGh+YkeKMtWrOmBgWjHjMJ26WQWrRQyoyzqevdaGSakUaJW5xQYmjLlUVk2qUnCjYVBax9EKKg8A==","signatures":[{"sig":"MEQCIAnqkGSNSm5Te/RtgJAbHaBUypXnORCeLIZ6/AjNiisVAiARQKOxUTXIMr/AflEMOqXPKQrSIb0T2NfvZyEgLVrKPg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/ignore-walk@8.0.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":13239,"size":4817,"noattachment":false,"key":"/ignore-walk/-/ignore-walk-8.0.0.tgz"},"main":"lib/index.js","engines":{"node":"^20.17.0 || >=22.9.0"},"gitHead":"01d462b714e69afee2ae75e4174e4c9141951c82","scripts":{"lint":"npm run eslint","snap":"tap","test":"tap","eslint":"eslint \"**/*.{js,cjs,ts,mjs,jsx,tsx}\"","lintfix":"npm run eslint -- --fix","postlint":"template-oss-check","posttest":"npm run lint","template-oss-apply":"template-oss-apply --force","test:windows-coverage":"npm pkg set tap.statements=99 --json && npm pkg set tap.branches=98 --json && npm pkg set tap.lines=99 --json"},"_npmUser":{"name":"npm-cli-ops","email":"npm-cli+bot@github.com"},"repository":{"url":"git+https://github.com/npm/ignore-walk.git","type":"git"},"_npmVersion":"11.4.2","description":"Nested/recursive `.gitignore`/`.npmignore` parsing and filtering.","directories":{},"templateOSS":{"content":"scripts/template-oss","publish":"true","version":"4.24.3","//@npmcli/template-oss":"This file is partially managed by @npmcli/template-oss. Edits may be overwritten."},"_nodeVersion":"22.17.1","dependencies":{"minimatch":"^10.0.3"},"_hasShrinkwrap":false,"devDependencies":{"tap":"^16.0.1","mutate-fs":"^2.1.1","@npmcli/template-oss":"4.24.3","@npmcli/eslint-config":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/ignore-walk_8.0.0_1753371443943_0.09521358890624976","host":"s3://npm-registry-packages-npm-production"},"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":1753371444136,"_cnpm_publish_time":1753371444136,"dist-tags":{"latest":"9.0.1"}}