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.
☆168Updated 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:
- Compare strings containing a mix of letters and numbers in the way a human being would in sort order.☆113Updated last year
 - A JSON with CSS color names☆123Updated last month
 - Compare alphanumeric strings the same way a human would, using a natural order algorithm.☆50Updated last year
 - Create an array of unique values, in order, from the input arrays☆76Updated 4 years ago
 - Faster brace expansion for node.js. Besides being faster, braces is not subject to DoS attacks like minimatch, is more accurate, and has …☆242Updated 9 months ago
 - Filter object keys and values into a new object☆104Updated last year
 - Detects if a file is binary in Node.js. Similar to Perl's -B☆167Updated 2 weeks ago
 - A static list of the Node.js builtin modules from the latest Node.js version☆124Updated last month
 - Sort the keys of an object☆105Updated 2 months ago
 - Check if a string or buffer is SVG☆142Updated 3 months ago
 - Check if your package was installed globally☆69Updated last year
 - Normalize file path slashes to be unix-like forward slashes. Used by chokidar, anymatch, and many others!☆111Updated 3 years ago
 - ⏱️Zero CPU overhead, zero dependency, true event-loop blocking sleep ⏱️☆83Updated 5 years ago
 - Check if a string matches the name of a Node.js builtin module☆61Updated 8 months ago
 - string representations of objects in node and the browser☆155Updated 3 weeks ago
 - Check if a value is a plain object☆103Updated last year
 - a library for matching human-quality input to a list of potential matches using the Levenshtein distance algorithm☆103Updated this week
 - Strip leading whitespace from each line in a string☆142Updated 3 weeks ago
 - Start a promise chain☆60Updated last month
 - Compose promise-returning & async functions into a reusable pipeline☆124Updated 4 years ago
 - Parse milliseconds into an object☆121Updated last year
 - List of standard HTML tags☆189Updated last month
 - Wordwrap a string with ANSI escape codes☆129Updated last month
 - Get the first fulfilled promise that satisfies the provided testing function☆77Updated 8 months ago
 - Get an unused filename by appending a number if it exists: `file.txt` → `file (1).txt`☆142Updated last month
 - Stringify is to `eval` as `JSON.stringify` is to `JSON.parse`☆146Updated last year
 - Boxes for use in the terminal☆103Updated last year
 - Get the hash of an object☆138Updated last year
 - 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 2 years ago
 - Find the closest package.json file☆165Updated 4 months ago