{"name":"ignore-walk","version":"6.0.2","keywords":["ignorefile","ignore","file",".gitignore",".npmignore","glob"],"author":{"name":"GitHub Inc."},"license":"ISC","_id":"ignore-walk@6.0.2","maintainers":[{"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":"c48f48397cf8ef6174fcc28aa5f8c1de6203d389","tarball":"http://registry-npm.ywwl.com/ignore-walk/download/ignore-walk-6.0.2.tgz","fileCount":4,"integrity":"sha512-ezmQ1Dg2b3jVZh2Dh+ar6Eu2MqNSTkyb32HU2MAQQQX9tKM3q/UQ/9lf03lQ5hW+fOeoMnwxwkleZ0xcNp0/qg==","signatures":[{"sig":"MEUCIC/8z7mtQX1dU4loEd4T85qXu751VLNwEUGeYk3SkKUZAiEAkPz2mWUF5U9U4VG1WScfQZVFsG/uO8FgIY+MUZfHa/E=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":12404,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkGewQACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqXCg/6Ashgx4C9NQ9dv4tbowFvIdxQ5DxUnH+D2bla52/8+uEcbHfP\r\nKWLSTE/+FKZ105Fts/U5v+86YARcyXKSeYm+bBUQRysxeb8zN4OXYrf27UNN\r\no7SSPwmIqvSKEuKRnYEfD91CnJzJlheuCyDkif/OECBPy1JxsS07HQv735g9\r\nPWxol86GLtpgmQFskayaAeZ92eyUNL2ieXz/DTfq6o8XnGv6fKp6bGbDvonh\r\nU98wA0rRLIK65m1Fe0bOKJH59K2GtsslSorNQs05yD9xvPG9XNgt3EOnFR8K\r\n3XbsSauU4wuO6boC+e1sE0O3uNYkozpB4pFjS62jInZ8hhxVk9sURKxcFyxd\r\nOzZaU/2MMGb1oLCdKMDUuGQirLI8Pc0EyqpBq9+4fVoivscC+IXyupK2/wKf\r\n+cErYvv3uXNDBHsuTmX4Fi4ubMshfPaz4d5Ow+BX12PNl7RSq3hrkm3z390e\r\nTNsUrzMDpcrABMyu27ySioGmCDvjOyWmG8zePLlhEuFjcZP1PdaG2WBeQVVR\r\n3iw/UayU3hG3ohdcb9/GhmRt2I8ux18FN97UDINPiRWpuewo7N5i/SoJYO5O\r\nbo9WEYJVbfKtSOex8D9/yrijZmT2bpYBU0hdlJGJL5oEE0GVXk2rs1LA/mIy\r\ngpDmhBWZhYxh86ocKAVPOUzdXQQKQGiYTHw=\r\n=K6jK\r\n-----END PGP SIGNATURE-----\r\n","size":4594,"noattachment":false,"key":"/ignore-walk/-/ignore-walk-6.0.2.tgz"},"main":"lib/index.js","engines":{"node":"^14.17.0 || ^16.13.0 || >=18.0.0"},"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":"gar","email":"gar+npm@danger.computer"},"repository":{"url":"git+https://github.com/npm/ignore-walk.git","type":"git"},"_npmVersion":"9.6.1","description":"Nested/recursive `.gitignore`/`.npmignore` parsing and filtering.","directories":{},"templateOSS":{"content":"scripts/template-oss","version":"4.12.0","//@npmcli/template-oss":"This file is partially managed by @npmcli/template-oss. Edits may be overwritten."},"_nodeVersion":"18.13.0","dependencies":{"minimatch":"^7.4.2"},"_hasShrinkwrap":false,"devDependencies":{"tap":"^16.0.1","mutate-fs":"^2.1.1","@npmcli/template-oss":"4.12.0","@npmcli/eslint-config":"^4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/ignore-walk_6.0.2_1679420432565_0.6550286127497813","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":1679420432713,"_cnpm_publish_time":1679420432713,"dist-tags":{"latest":"9.0.1"}}