-
-
Notifications
You must be signed in to change notification settings - Fork 33.4k
Closed
Labels
feature requestIssues that request new features to be added to Node.js.Issues that request new features to be added to Node.js.
Description
Is your feature request related to a problem? Please describe.
Please describe the problem you are trying to solve.
i have a zero-dependency coverage-reporting-tool and would like to add a cli-option to exclude code-coverage based on file-glob-patterns, e.g.:
node jslint.mjs v8_coverage_report \
--exclude=deps/*,test/* \
npm run test
Describe the solution you'd like
Please describe the desired behavior.
expose ./deps/npm/node_modules/minimatch/minimatch.js
under the builtin path
module, e.g.:
import {minimatch} from "path";
minimatch("bar.foo", "*.foo") // true!
minimatch("bar.foo", "*.bar") // false!
Describe alternatives you've considered
Please describe alternative solutions or features you have considered.
i could re-implement ./deps/npm/node_modules/minimatch/minimatch.js
into my zero-dependency-project, but i suspect there are many other projects out there that would benefit from exposing this api.
tony-go, miroshnik, Delapouite, ju1ius, bricss and 8 more
Metadata
Metadata
Assignees
Labels
feature requestIssues that request new features to be added to Node.js.Issues that request new features to be added to Node.js.