31 packages found

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

published 5.0.1 4 years ago
M
Q
P

Fill in a range of numbers or letters, optionally passing an increment or `step` to use, or create a regex-compatible range with `options.toRegex`

published 7.0.1 4 years ago
M
Q
P

Bash-like brace expansion, implemented in JavaScript. Safer than other brace expansion libs, with complete support for the Bash 4.3 braces specification, without sacrificing speed.

published 3.0.2 4 years ago
M
Q
P

check if string is a phone number

published 1.0.4 8 years ago
M
Q
P

Count the words in a string. Support for english, CJK and Cyrillic.

published 1.1.1 8 years ago
M
Q
P

Fast, bash-like range expansion. Expand a range of numbers or letters, uppercase or lowercase. Used by micromatch.

published 2.0.2 5 years ago
M
Q
P

Return a regular expression to match a decimal number.

published 0.0.7 a year ago
M
Q
P

Get the line number for each regex match found in a string.

published 0.1.0 9 years ago
M
Q
P

A set of misc utilties I find myself repeatedly re-writing between projects.

published 0.96.0 5 months ago
M
Q
P

Fast, bash-like range expansion. Expand a range of numbers or letters, uppercase or lowercase. See the benchmarks. Used by micromatch.

published 1.8.2 2 months ago
M
Q
P

Fast, bash-like range expansion. Expand a range of numbers or letters, uppercase or lowercase. See the benchmarks. Used by micromatch.

published 1.8.2 2 months ago
M
Q
P

Fill in a range of numbers or letters, optionally passing an increment or `step` to use, or create a regex-compatible range with `options.toRegex`

published 7.0.2 8 months ago
M
Q
P

Verbal number classifier

published 1.0.1 4 years ago
M
Q
P

Check if a string is a valid E. 164 phone number

published 1.0.0 6 years ago
M
Q
P

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

published 5.0.1 8 months ago
M
Q
P

javascript String Object prototype extend

published 1.7.2 4 years ago
M
Q
P

🇿🇦 Perform regex and checksum match to check if given number string is a valid South African ID

published 1.0.2 a year ago
M
Q
P

JavaScript utilities for arrays.

published 0.1.5 9 years ago
M
Q
P

Counts the number of unordered word matches in two strings

published 0.2.0 10 years ago
M
Q
P

Match require statements in a string. Returns an array of matching require statements. Each match is an object with line number, variable name, and module name. Statements in code comments are ignored.

published 2.0.1 5 years ago
M
Q
P