You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A [Readable Stream][readable-stream-url] interface over [node-glob][node-glob-url].
11
+
A [Readable Stream][readable-stream-url] interface over [anymatch][anymatch-url].
12
12
13
13
## Usage
14
14
@@ -29,7 +29,7 @@ You can pass any combination of glob strings. One caveat is that you cannot **on
29
29
30
30
## API
31
31
32
-
### `globStream(globs, options)`
32
+
### `globStream(globs, [options])`
33
33
34
34
Takes 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.
35
35
@@ -51,14 +51,6 @@ Type: `Boolean`
51
51
52
52
Default: `false`
53
53
54
-
##### `options.silent`
55
-
56
-
Whether or not to suppress warnings on stderr from [node-glob][node-glob-url]. This is passed through to [node-glob][node-glob-url].
57
-
58
-
Type: `Boolean`
59
-
60
-
Default: `true`
61
-
62
54
##### `options.cwd`
63
55
64
56
The current working directory that the glob is resolved against.
@@ -71,8 +63,6 @@ Default: `process.cwd()`
71
63
72
64
The root path that the glob is resolved against.
73
65
74
-
**Note: This is never passed to [node-glob][node-glob-url] because it is pre-resolved against your paths.**
75
-
76
66
Type: `String`
77
67
78
68
Default: `undefined` (use the filesystem root)
@@ -103,7 +93,7 @@ Default: `'path'`
103
93
104
94
##### other
105
95
106
-
Any glob-related options are documented in [node-glob][node-glob-url]. Those options are forwarded verbatim, with the exception of `root` and `ignore`. `root` is pre-resolved and `ignore` is joined with all negative globs.
96
+
Any glob-related options are documented in [picomatch][picomatch-options-url].
0 commit comments