npm

24 packages found

M
Q
P

Description

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.

Keywords

Publisher

published 3.0.24 months ago
M
Q
P

Description

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

Keywords

Publisher

published 5.0.15 months ago
M
Q
P

Description

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`

Keywords

Publisher

published 7.0.15 months ago
M
Q
P

Description

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

Keywords

Publisher

published 2.0.29 months ago
M
Q
P

Description

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

Keywords

Publisher

published 1.1.14 years ago
M
Q
P

Description

Match words, numbers and dates in text

Keywords

Publisher

published 1.0.62 years ago
M
Q
P

Description

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

Keywords

Publisher

published 1.0.1a year ago
M
Q
P

Description

Verbal number classifier

Keywords

Publisher

published 1.0.14 months ago
M
Q
P

Description

Determine if a single match exists with an array of strings/numbers/regexes.

Keywords

Publisher

published 2.0.14 months ago
M
Q
P

Description

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

Keywords

Publisher

published 0.91.02 months ago
M
Q
P

Description

javascript String Object prototype extend

Keywords

Publisher

published 1.7.12 months ago
M
Q
P

Description

Get the index for each occurrence of a string, in a string. Much faster than regex, and useful for doing simple find and replace operations for specific strings.

Keywords

Publisher

published 0.2.24 years ago
M
Q
P

Description

Wrapper for [braces] to enable brace expansion for arrays of patterns.

Keywords

Publisher

published 0.1.24 years ago
M
Q
P

Description

JavaScript utilities for arrays.

Keywords

Publisher

published 0.1.55 years ago
M
Q
P

Description

Returns true if a year is valid based on a given year, range of years, sequences of years, or any mixture of these.

Keywords

Publisher

published 0.1.04 years ago
M
Q
P

Description

Get the nth root of a number.

Keywords

Publisher

published 0.1.15 years ago
M
Q
P

Description

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

Keywords

Publisher

published 1.0.02 years ago
M
Q
P

Description

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.

Keywords

Publisher

published 2.0.1a year ago
M
Q
P

Description

check if string is a phone number

Keywords

Publisher

published 1.0.45 years ago
M
Q
P

Description

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

Keywords

Publisher

published 0.1.05 years ago