Ecosyste.ms: Repos

An open API service providing repository metadata for many open source software ecosystems.

GitHub / micromatch / to-regex-range

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.

JSON API: https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/micromatch%2Fto-regex-range

Stars: 129
Forks: 18
Open Issues: 6

License: mit
Language: JavaScript
Repo Size: 74.2 KB
Dependencies: 6

Created: almost 9 years ago
Updated: 3 months ago
Last pushed: over 2 years ago
Last synced: about 10 hours ago

Topics: character-class, expand, integers, javascript, match, matcher, matching, node, nodejs, number, numbers, padding, range, range-expansion, regex, regex-range, regular-expression, repeat, tidelift

Funding links: https://github.com/sponsors/doowb, https://github.com/sponsors/jonschlinkert

Files
    Loading...
    Readme
    Loading...
    Dependencies