{"name":"ignore-walk","version":"3.0.4","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@3.0.4","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":"c9a09f69b7c7b479a5d74ac1a3c0d4236d2a6335","tarball":"http://registry-npm.ywwl.com/ignore-walk/download/ignore-walk-3.0.4.tgz","fileCount":4,"integrity":"sha512-PY6Ii8o1jMRA1z4F2hRkH/xN59ox43DavKvD3oDpfurRlOJyAHpifIwpbdv1n4jt4ov0jSpw3kQ4GhJnpBL6WQ==","signatures":[{"sig":"MEUCIQDAajPLnr2oXhvbuvpMfHZ+4cD+vA0gw/FCRmcvXH4hGQIgZTsnIMNdqcHKCCxAJ8S+9YR5b4Oycjp0zWDjgNaxQfU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":11022,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJglGxJCRA9TVsSAnZWagAAV6gQAJtXD3sIaiD+s8Yx7+MM\nx9KjVMPHlj5IlHhA1ui0mtQkBk7MgHrNFKv+gS8FgnmYw9AnAJZxgSPsCWTg\nIT9vWaMe+Vmn1ZgiryThZ/2K9Ny1HHTim3IlvPzQY4KHJebOORTp00quIwbc\niWTesjWM054XAzeMrYglOBonwPfhZMuap8JOc5lHkvphkc/oBFbao8AyRZfe\nJkzsvp5hsxWSN7VzED01CnArzLC6uduHmdN8YNhsI32aS70YowGdbJqCxobg\nK/Cn95U/nbdQ+BDniqQPgRZNMr/fQ2+/sKLlHLGNtzgtoDuV/JXdHImOSqe2\nVoFBAF0JIpse+hjckOO3okmaHsiPfaawjj3ARDP9/dQmj3RNg9E/NQUoUM7h\njpJGNJFv+Tktsc5g6mZrXQlB5AO59roB9kh4UUzHDac29npvGnzG+rgz1Wer\nEa2ITy1TRK4hmfjKl3b2g5kj0F8xxwJrCFvs0fgw3+znLEFv+Mwc3gy0Ifzj\nwe3JbymrcIIKyofpuOvngJT6+vY2G7/hNGNb8JB1x24XLne83+Pf3AOAwRSQ\neZGw1ctsQLJKRp8L5tFSykVaGD7Y3uzw1k47ssQlcTtBJGEW+Gm4BtYY1VBB\nsE5XE2/XgOygzSkTwqbS920nc8UH5FGEURrhuwIM+lYWrZokKcS02ckq1m69\nj6eV\r\n=hcSk\r\n-----END PGP SIGNATURE-----\r\n","size":4222,"noattachment":false,"key":"/ignore-walk/-/ignore-walk-3.0.4.tgz"},"main":"index.js","gitHead":"9afa6e112b8250aa4c4b9acec5208c4423917f76","scripts":{"test":"tap","preversion":"npm test","postpublish":"git push origin --all; git push origin --tags","postversion":"npm publish"},"_npmUser":{"name":"isaacs","email":"i@izs.me"},"repository":{"url":"git+https://github.com/isaacs/ignore-walk.git","type":"git"},"_npmVersion":"7.11.2","description":"Nested/recursive `.gitignore`/`.npmignore` parsing and filtering.","directories":{},"_nodeVersion":"16.0.0","dependencies":{"minimatch":"^3.0.4"},"_hasShrinkwrap":false,"devDependencies":{"tap":"^15.0.6","mkdirp":"^0.5.1","rimraf":"^2.6.1","mutate-fs":"^1.1.0"},"_npmOperationalInternal":{"tmp":"tmp/ignore-walk_3.0.4_1620339785470_0.8794418798364225","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":1620339785630,"_cnpm_publish_time":1620339785630,"dist-tags":{"latest":"9.0.1"}}