Gathering detailed insights and metrics for glob-stream
Gathering detailed insights and metrics for glob-stream
Gathering detailed insights and metrics for glob-stream
Gathering detailed insights and metrics for glob-stream
npm install glob-stream
Typescript
Module System
Min. Node Version
Node Version
NPM Version
98.5
Supply Chain
99.5
Quality
81.2
Maintenance
100
Vulnerability
100
License
JavaScript (100%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
179 Stars
184 Commits
51 Forks
17 Watchers
3 Branches
29 Contributors
Updated on Jun 01, 2025
Latest Version
8.0.3
Package Id
glob-stream@8.0.3
Unpacked Size
13.74 kB
Size
5.07 kB
File Count
4
NPM Version
10.9.2
Node Version
22.16.0
Published on
Jun 01, 2025
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
Readable streamx interface over anymatch.
1var gs = require('glob-stream'); 2 3var readable = gs('./files/**/*.coffee', { 4 /* options */ 5}); 6 7var writable = 8 /* your WriteableStream */ 9 10 readable.pipe(writable);
You 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
).
globStream(globs, [options])
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.
options.allowEmpty
Whether or not to error upon an empty singular glob.
Type: Boolean
Default: false
(error upon no match)
options.dot
Whether or not to treat dotfiles as regular files. This is passed through to anymatch.
Type: Boolean
Default: false
options.cwd
The current working directory that the glob is resolved against.
Type: String
Default: process.cwd()
options.root
The root path that the glob is resolved against.
Type: String
Default: undefined
(use the filesystem root)
options.base
The 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.
Type: String
Default: The absolute path segement before a glob starts (see glob-parent)
options.cwdbase
Whether or not the cwd
and base
should be the same.
Type: Boolean
Default: false
options.uniqueBy
Filters 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.
Type: String
or Function
Default: 'path'
Any glob-related options are documented in picomatch.
MIT
No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
0 existing vulnerabilities detected
Reason
license file detected
Details
Reason
security policy file detected
Details
Reason
3 commit(s) and 2 issue activity found in the last 90 days -- score normalized to 4
Reason
Found 5/25 approved changesets -- score normalized to 2
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Score
Last Scanned on 2025-07-07
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More