nanomatch
nanomatch copied to clipboard
Fast, minimal glob matcher for node.js. Similar to micromatch, minimatch and multimatch, but without support for extended globs (extglobs), posix brackets or braces, and with complete Bash 4.3 wildcar...
_(Thanks for reporting an issue to nanomatch! If you haven't already read the [contributor guidelines](contributing.md), Please do that now, then procede to fill out the details below.)_ ## Please describe...
I would love to use this library with TypeScript, but there don't seem to be any typings :(
## Description This PR adds `.matchingPatterns` methods, which returns matched patterns. It's very useful, when you need to determine required patterns by given strings and then use them. To help...
## tldr There are three main goals in this document, depending on the nature of your pr: - [description](#description) - [checklist](#checklist) ## Description Bumping version of [kind-of](https://www.npmjs.com/package/kind-of) to address reported...
## Please describe the **minimum necessary steps** to reproduce this issue: ```js const micromatch = require('micromatch'); // version must be >= 4.0.1 console.log(micromatch(['/test/t/'], ['**/t/'])); // [ '/test/t/' ] console.log(micromatch(['/test/t/'], ['**/t']));...
## Please describe the **minimum necessary steps** to reproduce this issue: Run this Node.js script: ```javascript const nanomatch = require('nanomatch'); const reg = nanomatch.makeRe('é/**/*'); console.log(reg.test('é/foo.txt')); ``` ## What is happening...
Howdy - we're using this to test user-defined arrays of patterns, and it would be helpful to indicate which pattern caused the match if one exists. For performance, we'd still...
@jonschlinkert What is your opinion on supported node versions in nanomatch, micromatch and dependencies? I was wondering because we would do a major version anyway for the snapdragon updates, so...
Adds typescript typings Fixes #21