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: http://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/micromatch%2Fto-regex-range
Stars: 166
Forks: 21
Open issues: 9
License: mit
Language: JavaScript
Size: 73.2 KB
Dependencies parsed at: Pending
Created at: almost 10 years ago
Updated at: 2 months ago
Pushed at: 10 months ago
Last synced at: about 18 hours ago
Commit Stats
Commits: 74
Authors: 3
Mean commits per author: 24.67
Development Distribution Score: 0.068
More commit stats: https://commits.ecosyste.ms/hosts/GitHub/repositories/micromatch/to-regex-range
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