to-regex-range@0.1.1

Returns a regex-compatible range from two numbers, min and max. Useful for creating regular expressions to validate numbers, ranges, years, etc. Returns a string, allowing the returned value to be used in regular expressions generated by other libraries.

MIT 2015-08-07
安装 (0.1.1)
npm install to-regex-range@0.1.1
yarn add to-regex-range@0.1.1
pnpm add to-regex-range@0.1.1
bun add to-regex-range@0.1.1
dependencies (2)
包名版本要求
is-number ^2.0.2
repeat-string ^1.5.2
devDependencies (2)
包名版本要求
mocha *
should *
版本列表
5.0.1 2019-04-07
5.0.0 2019-04-07
4.0.3 2019-01-17
4.0.2 2018-07-25
4.0.1 2018-07-04
4.0.0 2018-07-04
3.0.0 2017-11-01
2.1.1 2017-04-27
2.1.0 2017-04-23
2.0.0 2017-04-22
1.0.2 2016-10-19
1.0.1 2016-10-19
1.0.0 2016-10-19
0.2.0 2016-09-14
0.1.3 2016-09-14
0.1.2 2016-04-27
0.1.1 2015-08-07
0.1.0 2015-08-07