{"name":"glob-stream","version":"8.0.3","description":"Readable streamx interface over anymatch.","author":{"name":"Gulp Team","email":"team@gulpjs.com","url":"https://gulpjs.com/"},"contributors":[{"name":"Eric Schoffstall","email":"yo@contra.io"},{"name":"Blaine Bublitz","email":"blaine.bublitz@gmail.com"}],"repository":{"type":"git","url":"git+https://github.com/gulpjs/glob-stream.git"},"license":"MIT","engines":{"node":">=10.13.0"},"main":"index.js","scripts":{"lint":"eslint .","pretest":"npm run lint","test":"nyc mocha --async-only"},"dependencies":{"@gulpjs/to-absolute-glob":"^4.0.0","anymatch":"^3.1.3","fastq":"^1.13.0","glob-parent":"^6.0.2","is-glob":"^4.0.3","is-negated-glob":"^1.0.0","normalize-path":"^3.0.0","streamx":"^2.12.5"},"devDependencies":{"eslint":"^7.0.0","eslint-config-gulp":"^5.0.0","eslint-plugin-node":"^11.1.0","expect":"^27.0.0","mocha":"^8.0.0","nyc":"^15.0.1","readable-stream":"^3.6.0","sinon":"^9.2.3"},"nyc":{"reporter":["lcov","text-summary"]},"prettier":{"singleQuote":true},"keywords":["glob","stream","gulp","readable","fs","files"],"_id":"glob-stream@8.0.3","gitHead":"13490ccad3c90061026b17e1b9ca5bb9db1ce842","bugs":{"url":"https://github.com/gulpjs/glob-stream/issues"},"homepage":"https://github.com/gulpjs/glob-stream#readme","_nodeVersion":"22.16.0","_npmVersion":"10.9.2","dist":{"integrity":"sha512-fqZVj22LtFJkHODT+M4N1RJQ3TjnnQhfE9GwZI8qXscYarnhpip70poMldRnP8ipQ/w0B621kOhfc53/J9bd/A==","shasum":"87e63153aadf05bd0207cde1a253ee39d91458b9","tarball":"http://registry-npm.ywwl.com/glob-stream/download/glob-stream-8.0.3.tgz","fileCount":4,"unpackedSize":14070,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIH6Q056huWYlPZfzXIsTQ1jv934+HxYeZWxa8naogyAaAiEAt1CEl/ULU1i6hs8rMRyhGBErcIPdPwqTV/RCuKKFCxk="}],"size":5195,"noattachment":false,"key":"/glob-stream/-/glob-stream-8.0.3.tgz"},"_npmUser":{"name":"phated","email":"blaine.bublitz@gmail.com"},"directories":{},"maintainers":[{"name":"phated","email":"blaine.bublitz@gmail.com"},{"name":"yocontra","email":"yo@contra.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/glob-stream_8.0.3_1748754572348_0.7318258315777089"},"_hasShrinkwrap":false,"readme":"<p align=\"center\">\n  <a href=\"http://gulpjs.com\">\n    <img height=\"257\" width=\"114\" src=\"https://raw.githubusercontent.com/gulpjs/artwork/master/gulp-2x.png\">\n  </a>\n</p>\n\n# glob-stream\n\n[![NPM version][npm-image]][npm-url] [![Downloads][downloads-image]][npm-url] [![Build Status][ci-image]][ci-url] [![Coveralls Status][coveralls-image]][coveralls-url]\n\n[Readable streamx][streamx-url] interface over [anymatch][anymatch-url].\n\n## Usage\n\n```js\nvar gs = require('glob-stream');\n\nvar readable = gs('./files/**/*.coffee', {\n  /* options */\n});\n\nvar writable =\n  /* your WriteableStream */\n\n  readable.pipe(writable);\n```\n\nYou can pass any combination of glob strings. One caveat is that you cannot **only** pass a negative glob, you must give it at least one positive glob so it knows where to start. If given a non-glob path (also referred to as a singular glob), only one file will be emitted. If given a singular glob and no files match, an error is emitted (see also [`options.allowEmpty`][allow-empty-url]).\n\n## API\n\n### `globStream(globs, [options])`\n\nTakes a glob string or an array of glob strings as the first argument and an options object as the second. Returns a stream of objects that contain `cwd`, `base` and `path` properties.\n\n#### Options\n\n##### `options.allowEmpty`\n\nWhether or not to error upon an empty singular glob.\n\nType: `Boolean`\n\nDefault: `false` (error upon no match)\n\n##### `options.dot`\n\nWhether or not to treat dotfiles as regular files. This is passed through to [anymatch][anymatch-url].\n\nType: `Boolean`\n\nDefault: `false`\n\n##### `options.cwd`\n\nThe current working directory that the glob is resolved against.\n\nType: `String`\n\nDefault: `process.cwd()`\n\n##### `options.root`\n\nThe root path that the glob is resolved against.\n\nType: `String`\n\nDefault: `undefined` (use the filesystem root)\n\n##### `options.base`\n\nThe absolute segment of the glob path that isn't a glob. This value is attached to each glob object and is useful for relative pathing.\n\nType: `String`\n\nDefault: The absolute path segement before a glob starts (see [glob-parent][glob-parent-url])\n\n##### `options.cwdbase`\n\nWhether or not the `cwd` and `base` should be the same.\n\nType: `Boolean`\n\nDefault: `false`\n\n##### `options.uniqueBy`\n\nFilters stream to remove duplicates based on the string property name or the result of function. When using a function, the function receives the streamed data (objects containing `cwd`, `base`, `path` properties) to compare against.\n\nType: `String` or `Function`\n\nDefault: `'path'`\n\n##### other\n\nAny glob-related options are documented in [picomatch][picomatch-options-url].\n\n## License\n\nMIT\n\n<!-- prettier-ignore-start -->\n[anymatch-url]: https://github.com/micromatch/anymatch\n[picomatch-options-url]: https://github.com/micromatch/picomatch#options\n[glob-parent-url]: https://github.com/es128/glob-parent\n[allow-empty-url]: #optionsallowempty\n[streamx-url]: https://github.com/streamxorg/streamx#readable-stream\n\n[downloads-image]: https://img.shields.io/npm/dm/glob-stream.svg?style=flat-square\n[npm-url]: https://www.npmjs.com/package/glob-stream\n[npm-image]: https://img.shields.io/npm/v/glob-stream.svg?style=flat-square\n\n[ci-url]: https://github.com/gulpjs/glob-stream/actions?query=workflow:dev\n[ci-image]: https://img.shields.io/github/actions/workflow/status/gulpjs/glob-stream/dev.yml?style=flat-square\n\n[coveralls-url]: https://coveralls.io/r/gulpjs/glob-stream\n[coveralls-image]: https://img.shields.io/coveralls/gulpjs/glob-stream/master.svg?style=flat-square\n<!-- prettier-ignore-end -->\n","publish_time":1748754572526,"_cnpm_publish_time":1748754572526,"dist-tags":{"latest":"8.0.4"}}