{"name":"ignore-walk","version":"5.0.1","keywords":["ignorefile","ignore","file",".gitignore",".npmignore","glob"],"author":{"name":"GitHub Inc."},"license":"ISC","_id":"ignore-walk@5.0.1","maintainers":[{"name":"gar","email":"gar+npm@danger.computer"},{"name":"lukekarrys","email":"luke@lukekarrys.com"},{"name":"isaacs","email":"i@izs.me"}],"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","test-env":"LC_ALL=sk"},"dist":{"shasum":"5f199e23e1288f518d90358d461387788a154776","tarball":"http://registry-npm.ywwl.com/ignore-walk/download/ignore-walk-5.0.1.tgz","fileCount":4,"integrity":"sha512-yemi4pMf51WKT7khInJqAvsIGzoqYXblnsz0ql8tM+yi1EKYTY1evX4NAbJrLL/Aanr2HyZeluqU+Oi7MGHokw==","signatures":[{"sig":"MEUCIQD9GNun/UdNsVG11kMKNmogwhMowmdZNb0iW865AP+yHwIgBMAo+EdhBh42zM1quibX86fNQnfF/kLyhQaj3iOh59I=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":12471,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiTbaBACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmrk5g/+IO/2g03XDAA2j6lMaI9KaDz4gViGfVcQUxN1X4H3ItntcOdS\r\nxhH9sHPNsWXTZer0POIcjSKY/ksWUwWQT1vHwL8sIV/rC3xAaytoz2udRYse\r\n5HGXPR1MohGCXg3urDTtZuFQ+TanbiVOa4gFCsMIdbqR+GbSJVBYWrj+W+0G\r\nAOpVKQ1cgU0fCuNgfUc5e+2M0CNC+Hk91EZu6Dawhc6S8vyl54qn64ERZNRu\r\nyCswzBa+vtviIPw38BNg+B0YKmlZO7ww6e0bs4Cvgcw6yXtiPGdOVGeVoPfG\r\nJ/UwlRruy8qmzN03VM0rs8/IltzFVXHk2uNe40zz2HGYpyZKpTnzkkcg/y9a\r\nsAmj/XarncRSlYe3ud4rJY9nRnR/DNZyoJ7nQuyrt3gJS+iaqt6lwPgrDxec\r\ntotY0eU7GL/1jr+7+rPPyEYgFO7bwh3eyPXq+qORD2kZTMwz5jru/PeHTD1Y\r\nBXBZJm3tdqVaK9sFe+eZ1Dz6nXSVtjurIzRWXjNdDHABETGQjxzT/h/a3zEy\r\nO+aHaTpyecKDm7yLmmzX7Sk7MGVXHXUvPcM5MQ97nTHT5fSM0hly47sSeH84\r\nSGRKadrkN9YSR1eOVO79BeTY8OygCgJVmPfMv1si2UpS7dAJilbVSISEgZbF\r\nMbMWEQJYkaTiIMkwGsHeIHb4OWceO+YukeY=\r\n=5tC8\r\n-----END PGP SIGNATURE-----\r\n","size":4575,"noattachment":false,"key":"/ignore-walk/-/ignore-walk-5.0.1.tgz"},"main":"lib/index.js","engines":{"node":"^12.13.0 || ^14.15.0 || >=16.0.0"},"gitHead":"4fb6b458b9aec3007e523baaef1444ed006134a5","scripts":{"lint":"eslint \"**/*.js\"","snap":"tap","test":"tap","eslint":"eslint","lintfix":"npm run lint -- --fix","postlint":"template-oss-check","postsnap":"npm run lintfix --","posttest":"npm run lint","npmclilint":"npmcli-lint","preversion":"npm test","postpublish":"git push origin --follow-tags","postversion":"npm publish","prepublishOnly":"git push origin --follow-tags","template-oss-apply":"template-oss-apply --force"},"_npmUser":{"name":"gar","email":"gar+npm@danger.computer"},"repository":{"url":"git+https://github.com/npm/ignore-walk.git","type":"git"},"_npmVersion":"8.6.0","description":"Nested/recursive `.gitignore`/`.npmignore` parsing and filtering.","directories":{},"templateOSS":{"version":"3.2.2","windowsCI":false,"//@npmcli/template-oss":"This file is partially managed by @npmcli/template-oss. Edits may be overwritten."},"_nodeVersion":"16.14.2","dependencies":{"minimatch":"^5.0.1"},"_hasShrinkwrap":false,"devDependencies":{"tap":"^16.0.1","mkdirp":"^1.0.4","rimraf":"^3.0.2","mutate-fs":"^2.1.1","@npmcli/template-oss":"3.2.2","@npmcli/eslint-config":"^3.0.1"},"_npmOperationalInternal":{"tmp":"tmp/ignore-walk_5.0.1_1649260161554_0.7678988746651672","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":1649260161680,"_cnpm_publish_time":1649260161680,"dist-tags":{"latest":"9.0.1"}}