to-regex-range
Pass two numbers, get a regex-compatible source string for matching ranges. Validated against more than 2.78 million test assertions.
@bluelovers/to-regex-range2
Pass two numbers, get a regex-compatible source string for matching ranges. Validated against more than 2.78 million test assertions.
is-valid-year
Returns true if a year is valid based on a given year, range of years, sequences of years, or any mixture of these.