{"name":"ignore-walk","version":"5.0.0","keywords":["ignorefile","ignore","file",".gitignore",".npmignore","glob"],"author":{"name":"GitHub Inc."},"license":"ISC","_id":"ignore-walk@5.0.0","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":"24e0144347d0d316ecc0d3d7d72f4e60ef6742db","tarball":"http://registry-npm.ywwl.com/ignore-walk/download/ignore-walk-5.0.0.tgz","fileCount":4,"integrity":"sha512-FDvl1u81sMuxrCgFUgX4l+QsfLyWi+9WvaYInKM9L/hTghmbPsSOV3l6riFWteYR9/lSlZdSjM1doP28RYYWKA==","signatures":[{"sig":"MEUCIGpmkm7SqwVRIfQXtjwOvey4Yop+61wYqXs+EjF67JuNAiEA5RB5LBAnjIRagHOuSSnps8AWPBtB7L/ky63nMrEiubo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":12433,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiTZkYACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo7Dw/9GLgP9kS3jqfKOP7AaTVfslirRUkwfPJTCU4qS9ToMBwJHiOT\r\nYLmPO9WjmVHnEt+0he+R1PF3WG8zZrpHe9+2+T3TU324AURkLF6zo7AXphi+\r\n9Tn6pXHhICgoNwBmrBa8VeNxHI5i28zqa7I45SaY0kbGyGI2NnnrQwjjyuLS\r\nEt3H6BcysidVeHcwpy/CgkAuZMMcg3RIlpfDp3ok8cm+Q1lma8RA2fOUTohY\r\n9NPvpClrNguOSDgBtjQC18goa5up8OgNMIEN/meKi1rF57k67OlvqY5RoJi6\r\nS2JB/ABJiyu4b/MR2AMiwxtd+lWPaXLpw7GyUDreCfRUxWOnpVw1SPTtYEsT\r\nOTYCVXb8C4kXxOMLSCUy+Qt9f0Ld488rUR81Do4h1AMSDV133839lvIWQqQb\r\nVgitpvCIbxY8r2L3Tj1iaE0F2GStTptv+dkknJHBwiEvMig27bI/h2WOyfKt\r\nQdlvTgxDbhZ8T4HFN/IAm7k6IRH7SnyDbyDHfz8XLE9J6o5mqCKypB6+TWze\r\ndvZqA1OBIA3oZHwztw6rNG6U1vsFIdT7kFW5AJwPLNd9YFLaUCUF1YIpylep\r\niEYqoqQKBfHRIWCKX2oHKD8b1t4nmPkP+sM9TWFO0YS1qQTPwyJciwD+cLhI\r\np+aTxgFpXop+vG+Cm4iZG/b6L3ChgJOmIkU=\r\n=Ql83\r\n-----END PGP SIGNATURE-----\r\n","size":4574,"noattachment":false,"key":"/ignore-walk/-/ignore-walk-5.0.0.tgz"},"main":"lib/index.js","engines":{"node":"^12.13.0 || ^14.15.0 || >=16.0.0"},"gitHead":"78ee8221df46e8883bc28f3ce227b4101512423e","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.0_1649252631898_0.8373913548778087","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":1649252632245,"_cnpm_publish_time":1649252632245,"dist-tags":{"latest":"9.0.1"}}