{"name":"ignore-walk","version":"6.0.3","keywords":["ignorefile","ignore","file",".gitignore",".npmignore","glob"],"author":{"name":"GitHub Inc."},"license":"ISC","_id":"ignore-walk@6.0.3","maintainers":[{"name":"npm-cli-ops","email":"npm-cli+bot@github.com"},{"name":"saquibkhan","email":"saquibkhan@github.com"},{"name":"fritzy","email":"fritzy@github.com"},{"name":"nlf","email":"quitlahok@gmail.com"},{"name":"gar","email":"gar+npm@danger.computer"},{"name":"lukekarrys","email":"luke@lukekarrys.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":"0fcdb6decaccda35e308a7b0948645dd9523b7bb","tarball":"http://registry-npm.ywwl.com/ignore-walk/download/ignore-walk-6.0.3.tgz","fileCount":4,"integrity":"sha512-C7FfFoTA+bI10qfeydT8aZbvr91vAEU+2W5BZUlzPec47oNb07SsOfwYrtxuvOYdUApPP/Qlh4DtAO51Ekk2QA==","signatures":[{"sig":"MEQCIDPDVqCB17myqHUEAj99OBa+0cK6SIIRg+SY7V1o1F9cAiBmw04Kd5iv4TOFWDq9QCcFX9b+n3CvFI6t/P1ydFFpng==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/ignore-walk@6.0.3","provenance":{"predicateType":"https://slsa.dev/provenance/v0.2"}},"unpackedSize":12427,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkSXHOACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqCXA/+NHoMdGr67Ccn2kR8Wus/WFAeByJ1WP3RHG0bBw8C6k5SbnAL\r\n09AF5CyR+kayDe2mP2UXPJLzvSl5x4pd33faD5WsnGFOu7VCWqQqF4ce5b8N\r\nbSeqWuughQcj4IPM1cc/6XkNziFvZUSU2x/Ds2nnVbDR2Lb3tlrLnpcCfnvF\r\njXdEw3TvbjesN81nukvJ4LMdzRhrd6XSRaXmfjgdNukzqXmJLQ/tKmXxqcCZ\r\ne30oFx9uZQH4EOrdYX411x3kSInwRyD1U8bzGn9sG3ilCHdYCCsjJStAsD4L\r\nJTL3HGo/7D8wBnSQ+b/ulPROak3RkNqWrr7b5/ztRjToRo9t8V+oV1I/bxrT\r\noholkNbPFSNyv3Hv8i3ltUs4yEGYRaad0s+YRNYUj8OhNhr92gem95RjBoqr\r\nDepjOfIXaC0rj5MZ6hz5fFOERpB5iUEbB/14/vcLX1H1SmsI7zIFZcIKF6j1\r\n9Y0Aqvt27RAYha8SlnUckW8kAmtr59kCG/pO1Iv9K6UNwEZF3qP6kR5Q9hdw\r\ntGItKVZxQxVyQ78J4pIBM+q889LZ5kNtUtnD5+cOEWEOgm225ayzPnjaKcqq\r\nEO08QW3Kt8E9kuE4hm6YirYx24QGHJCtYG2rHFFzmqzijnbxVj+24AGiG2E3\r\n/ao1n0nBYAAIRX+5DGnNbVqzRE2hElS+/Fo=\r\n=T0RS\r\n-----END PGP SIGNATURE-----\r\n","size":4599,"noattachment":false,"key":"/ignore-walk/-/ignore-walk-6.0.3.tgz"},"main":"lib/index.js","engines":{"node":"^14.17.0 || ^16.13.0 || >=18.0.0"},"gitHead":"e0e6d43dbdfad37820c679fe6cf87b1ff2ebecd3","scripts":{"lint":"eslint \"**/*.js\"","snap":"tap","test":"tap","lintfix":"npm run lint -- --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":"9.6.5","description":"Nested/recursive `.gitignore`/`.npmignore` parsing and filtering.","directories":{},"templateOSS":{"content":"scripts/template-oss","publish":"true","version":"4.14.1","//@npmcli/template-oss":"This file is partially managed by @npmcli/template-oss. Edits may be overwritten."},"_nodeVersion":"18.16.0","dependencies":{"minimatch":"^9.0.0"},"_hasShrinkwrap":false,"devDependencies":{"tap":"^16.0.1","mutate-fs":"^2.1.1","@npmcli/template-oss":"4.14.1","@npmcli/eslint-config":"^4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/ignore-walk_6.0.3_1682534862253_0.798685296719664","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":1682534862402,"_cnpm_publish_time":1682534862402,"dist-tags":{"latest":"9.0.1"}}