micromatch / to-regex-rangeLinks
Pass two numbers, get a regex-compatible source string for matching ranges. Fast compiler, optimized regex, and validated against more than 2.78 million test assertions. Useful for creating regular expressions to validate numbers, ranges, years, etc.
☆171Updated last year
Alternatives and similar repositories for to-regex-range
Users that are interested in to-regex-range are comparing it to the libraries listed below
Sorting:
- Check if a string or buffer is SVG☆143Updated 6 months ago
- Detects if a file is binary in Node.js. Similar to Perl's -B☆171Updated 3 weeks ago
- Sort the keys of an object☆107Updated 4 months ago
- Faster brace expansion for node.js. Besides being faster, braces is not subject to DoS attacks like minimatch, is more accurate, and has …☆244Updated 11 months ago
- Parse milliseconds into an object☆124Updated last year
- Check whether a request can be retried based on the `error.code`☆82Updated 3 years ago
- Create an array of unique values, in order, from the input arrays☆78Updated 4 years ago
- A JSON with CSS color names☆123Updated last month
- ⏱️Zero CPU overhead, zero dependency, true event-loop blocking sleep ⏱️☆85Updated 5 years ago
- Compare strings containing a mix of letters and numbers in the way a human being would in sort order.☆113Updated last year
- Sort an array on an object property☆201Updated 3 months ago
- Wrap words to a specified length.☆206Updated last year
- Normalize file path slashes to be unix-like forward slashes. Used by chokidar, anymatch, and many others!☆112Updated 3 years ago
- If you use globs, this will make your code faster. Returns `true` if the given string looks like a glob pattern or an extglob pattern. Th…☆95Updated 3 years ago
- Filter object keys and values into a new object☆105Updated last year
- string representations of objects in node and the browser☆158Updated last week
- Check if your package was installed globally☆71Updated 2 years ago
- Is the value an object, and not an array or null?☆108Updated last year
- Get the diff type of two semver versions: 0.0.1 0.0.2 → patch☆69Updated 3 months ago
- Compare alphanumeric strings the same way a human would, using a natural order algorithm.☆51Updated last year
- Make a function mimic another one☆97Updated last year
- A promise based, dynamic priority queue runner, with concurrency limiting.☆68Updated 6 years ago
- Minimalistic linked lists☆86Updated 2 years ago
- 🚸 Cross platform children list of a PID.☆126Updated 3 years ago
- A static list of the Node.js builtin modules from the latest Node.js version☆125Updated 3 months ago
- Strip block comments or line comments from JavaScript code.☆120Updated 2 years ago
- a library for matching human-quality input to a list of potential matches using the Levenshtein distance algorithm☆103Updated this week
- List of standard HTML tags☆190Updated 3 months ago
- Run some code when the process exits☆299Updated last month
- Basic object store with methods like get/set/extend/omit☆57Updated 3 years ago