Search results
1000+ packages found
Sort by: Default
- Default
- Most downloaded this week
- Most downloaded this month
- Most dependents
- Recently published
Escape RegExp special characters
Pass two numbers, get a regex-compatible source string for matching ranges. Validated against more than 2.78 million test assertions.
- bash
- date
- expand
- expansion
- expression
- glob
- match
- match date
- match number
- match numbers
- match year
- matches
- matching
- number
- View more
Glob matching for javascript/node.js. A replacement and faster alternative to minimatch and multimatch.
- bash
- bracket
- character-class
- expand
- expansion
- expression
- extglob
- extglobs
- file
- files
- filter
- find
- glob
- globbing
- View more
Returns true if a string has an extglob.
Returns `true` if the given string looks like a glob pattern or an extglob pattern. This makes it easy to create code that only uses external modules like node-glob when necessary, resulting in much faster code execution and initialization time, and a bet
Matches strings against configurable strings, globs, regular expressions, and/or functions
Is this value a JS regex? Works cross-realm/iframe, and despite ES6 @@toStringTag
Expand POSIX bracket expressions (character classes) in glob patterns.
Regular expression parser for ECMAScript.
- regexp
- regular
- expression
- parser
- validator
- ast
- abstract
- syntax
- tree
- ecmascript
- es2015
- es2016
- es2017
- es2018
- View more
Fast, minimal glob matcher for node.js. Similar to micromatch, minimatch and multimatch, but complete Bash 4.3 wildcard support only (no support for exglobs, posix brackets or braces)
Spec-compliant polyfill for String.prototype.matchAll
Regular expression parser for ECMAScript.
- regexp
- regular
- expression
- parser
- validator
- ast
- abstract
- syntax
- tree
- ecmascript
- es2015
- es2016
- es2017
- es2018
- View more
Check if a value is a regular expression
Returns true if a filepath is a windows UNC file path.
tiny util for getting and setting deep object props safely
Regular expression for testing if a file path is a windows UNC file path. Can also be used as a component of another regexp via the `.source` property.
Regular expression for getting the root of a posix or windows filepath.
A regular expression for file paths that contain a `node_modules` folder.
- node_modules
- regular expression
- regular expressions
- regular
- expression
- expressions
- exclude
- include
- ignore
- node
- module
Returns true if the given string is a POSIX bracket expression (POSIX character class).
Return true if a file path is (or has) a dotfile. Returns false if the path is a dot directory.