Replacement for minimatch
#52779
Labels
feature request
Issues that request new features to be added to Node.js.
fs
Issues and PRs related to the fs subsystem / file system.
path
Issues and PRs related to the path subsystem.
What is the problem this feature will solve?
It is great that now in Node 22 there is
fs.glob
. But it seems that also replacement forminimatch
is required. Otherwise, I don't know how to useexclude
function fromfs.glob
options, because it is a frequent scenario when I need to use some glob pattern to exclude files.What is the feature you are proposing to solve the problem?
I propose to export some helper that matches path string and glob pattern (maybe from
path
module).What alternatives have you considered?
The only alternative I see for now is use
minimatch
package (or package that similar to it).The text was updated successfully, but these errors were encountered: