Type definitions are available in the @types/to-regex-range package

to-regex-range

  • Version 5.0.1
  • Published
  • 22.9 kB
  • 1 dependency
  • MIT license

Install

npm i to-regex-range
yarn add to-regex-range
pnpm add to-regex-range

Overview

Pass two numbers, get a regex-compatible source string for matching ranges. Validated against more than 2.78 million test assertions.

Dependencies (1)

Dev Dependencies (5)

Peer Dependencies (0)

No peer dependencies.

Badge

To add a badge like this onejsDocs.io badgeto your package's README, use the codes available below.

You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/to-regex-range.

  • Markdown
    [![jsDocs.io](https://img.shields.io/badge/jsDocs.io-reference-blue)](https://www.jsdocs.io/package/to-regex-range)
  • HTML
    <a href="https://www.jsdocs.io/package/to-regex-range"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>