{"name":"test-exclude","version":"4.2.2","keywords":["exclude","include","glob","package","config"],"author":{"name":"Ben Coe","email":"ben@npmjs.com"},"license":"ISC","_id":"test-exclude@4.2.2","maintainers":[{"name":"bcoe","email":"ben@npmjs.com"},{"name":"jakxz","email":"jgkurian@me.com"}],"homepage":"https://github.com/istanbuljs/istanbuljs#readme","bugs":{"url":"https://github.com/istanbuljs/istanbuljs/issues"},"dist":{"shasum":"8b67aa8408f84afc225b06669e25c510f8582820","tarball":"http://registry-npm.ywwl.com/test-exclude/download/test-exclude-4.2.2.tgz","fileCount":5,"integrity":"sha512-2kTGf+3tykCfrWVREgyTR0bmVO0afE6i7zVXi/m+bZZ8ujV89Aulxdcdv32yH+unVFg3Y5o6GA8IzsHnGQuFgQ==","signatures":[{"sig":"MEQCIAtabC1pTMx1Mr0q/oOfbgt2b6/hiT4BNmYpNl3mJnIVAiAFbg8fhkmdx+Rn1zH8++x5sjOGz9Ki+BVPdBHD5XV5gA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13883,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbFy/ACRA9TVsSAnZWagAAfJAP/1/RgxGVYUWnaBKcN8VA\nGKdTyv6Zh3uGsVpoJa+wqTeYoKh2EB8v37m5dXKt6UBH+dPTMO5l8DbySmlM\nlxfweSOjqz9ToqY9voYBRC3wDDE2K1dgZnkyDhsDlfdnQWUaU05u99mYXgI/\nwokHAGa+axrFml3wf74WrAkRw8Vz7kw7DdDxnCCF6fFDnpGebRsApnoWnd2h\n+uch8hgQlkGA646WySBLjUK4kb5jqK6L4ESA83hK8nBt8IODBbbnB0fuGlGy\nRG8NjZkQDzyGgMUpA3iCu557ZyDPVkLWKY71BkvCVDh7eFVw9x+w15uFox/c\nk+PcifBYRx3+hIFwSsS17Zu7vPGdZdc0inJsphc3PY7Qar14ROghLMg3oSmK\nwPs6mhtM/YFH6eBbHCgaVrdcQ3zPKTSBhTh/r/HSsdbjdtSoVq9ERG7iniVc\nrDsVxC//EGG6umC4amAwElSg36DcXMYpzKpq3Pl3lutDHw8bDuewVe7c2YnS\naJHGg3E5Tgy3/yMNgytfST34Uv/VnocyeAuVarJw6Ieayp+b2Wo85Oa+Sm1U\nQ3IKgCv3bK/fKFvIAvdSjWK+jFtFmx9O03323QbQwjlWezEU7n2ZuoBYE/Jl\nOCNHXU2i3MVmZQ6Knp924w3tSRVCHUbATkfVuUmIojDdEuum/YDfiZ8l0OYh\nmv46\r\n=cznF\r\n-----END PGP SIGNATURE-----\r\n","size":4496,"noattachment":false,"key":"/test-exclude/-/test-exclude-4.2.2.tgz"},"main":"index.js","files":["index.js"],"readme":"# test-exclude\n\nThe file include/exclude logic used by [nyc](https://github.com/istanbuljs/nyc).\n\n[![Build Status](https://travis-ci.org/istanbuljs/test-exclude.svg)](https://travis-ci.org/istanbuljs/test-exclude)\n[![Coverage Status](https://coveralls.io/repos/github/istanbuljs/test-exclude/badge.svg?branch=master)](https://coveralls.io/github/istanbuljs/test-exclude?branch=master)\n[![Standard Version](https://img.shields.io/badge/release-standard%20version-brightgreen.svg)](https://github.com/conventional-changelog/standard-version)\n[![Greenkeeper badge](https://badges.greenkeeper.io/istanbuljs/test-exclude.svg)](https://greenkeeper.io/)\n\n## Usage\n\n```js\nconst exclude = require('test-exclude')\nif (exclude().shouldInstrument('./foo.js')) {\n  // let's instrument this file for test coverage!\n}\n```\n\n_you can load configuration from a key in package.json:_\n\n_package.json_\n\n```json\n{\n  \"name\": \"awesome-module\",\n  \"test\": {\n    \"include\": [\"**/index.js\"]\n  }\n}\n```\n\n_app.js_\n\n```js\nconst exclude = require('test-exclude')\nif (exclude({configKey: 'test'}).shouldInstrument('./index.js')) {\n  // let's instrument this file for test coverage!\n}\n```\n\n## Including node_modules folder\n\nby default the `node_modules` folder is added to all groups of\nexclude rules. In the rare case that you wish to instrument files\nstored in `node_modules`, a negative glob can be used:\n\n```js\nconst exclude = require('test-exclude')\nconst e = exclude({\n  exclude: ['!**/node_modules/**']\n})\n```\n\n## License\n\nISC\n","scripts":{"test":"mocha","pretest":"standard"},"_npmUser":{"name":"bcoe","email":"ben@npmjs.com"},"repository":{"url":"git+https://github.com/istanbuljs/istanbuljs.git","type":"git"},"_npmVersion":"6.1.0","description":"test for inclusion or exclusion of paths using pkg-conf and globs","directories":{},"_nodeVersion":"10.2.1","dependencies":{"arrify":"^1.0.1","minimatch":"^3.0.4","read-pkg-up":"^3.0.0","require-main-filename":"^1.0.1"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"chai":"^4.1.2","mocha":"^5.2.0","standard":"^11.0.1"},"_npmOperationalInternal":{"tmp":"tmp/test-exclude_4.2.2_1528246207469_0.08114960718704212","host":"s3://npm-registry-packages"},"publish_time":1528246207588,"_cnpm_publish_time":1528246207588,"dist-tags":{"latest":"8.0.0"}}