Search results

82 packages found

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 version 7.1.1, a year ago2524 dependents licensed under $MIT
350,426,531

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 version 3.0.3, a year ago2670 dependents licensed under $MIT
352,693,301

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

published version 5.0.1, 6 years ago2475 dependents licensed under $MIT
320,632,964

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

published version 2.0.2, 6 years ago193 dependents licensed under $MIT
9,353,114

Takes a string, such as "1,2,3-10,5-8" and turns it into an array of numbers

published version 1.3.0, 4 years ago138 dependents licensed under $ISC
3,533,314

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

published version 0.1.2, 10 years ago25 dependents licensed under $MIT
825,862

Sort string index ranges

published version 6.0.13, 3 months ago3 dependents licensed under $MIT
578,985

Take an array of string index ranges, delete/replace the string according to them

published version 7.0.19, 3 months ago22 dependents licensed under $MIT
574,184

Merge and sort string index ranges

published version 9.0.18, 3 months ago8 dependents licensed under $MIT
555,986

Gather string index ranges

published version 7.0.18, 3 months ago17 dependents licensed under $MIT
567,272

Style range inputs with unprefixed pseudo-classes

published version 6.0.0, 7 months ago37 dependents licensed under $CC0-1.0
44,486

TypeScript-STL (Standard Template Library, migrated from C++)

published version 3.0.0, a year ago49 dependents licensed under $MIT
58,874

Range aka interval object. Supports exclusive and infinite ranges. Comes with an interval tree (augmented binary search tree).

published version 1.7.2, 8 years ago3 dependents
22,177

Fetch AWS IP ranges from official JSON source

published version 1.3.0, 4 years ago2 dependents licensed under $Apache-2.0
6,657

Fast fuzzy string matching with scoring and matched ranges

published version 1.0.1, 5 years ago0 dependents licensed under $MIT
4,280

Invert string index ranges

published version 6.0.19, 3 months ago2 dependents licensed under $MIT
4,433

Crop array of ranges when they go beyond the reference string's length

published version 6.0.19, 3 months ago2 dependents licensed under $MIT
4,233

Express.js/connect middleware for serving partial content (206) requests for buffers or streams

published version 1.0.4, 9 years ago1 dependents licensed under $MIT
2,962

Find intersecting ranges using Marzullo algorithm

published version 1.2.0, 7 years ago0 dependents licensed under $MIT
2,111

Iterate string considering ranges, as if they were already applied

published version 6.0.19, 3 months ago1 dependents licensed under $MIT
2,847