62 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.29 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.19 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.19 months ago
M
Q
P

Description

keep track of ranges

Keywords

Publisher

published 1.0.1a year 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.2a year ago
M
Q
P

Description

Merge and sort arrays which mean string slice ranges

Keywords

Publisher

published 4.2.317 days ago
M
Q
P

Description

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

Keywords

Publisher

published 3.0.487 days ago
M
Q
P

Description

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

Keywords

Publisher

published 2.4.013 days ago
M
Q
P

Description

Manage the array of ranges referencing the index ranges within the string

Keywords

Publisher

published 3.6.157 days ago
M
Q
P

Description

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

Keywords

Publisher

published 1.7.23 years ago
M
Q
P

Description

Sort natural number index ranges [ [5, 6], [1, 3] ] => [ [1, 3], [5, 6] ]

Keywords

Publisher

published 3.10.46a month ago
M
Q
P

Description

Define and work with number (integer) ranges easily. Instead of requiring the full ranges in memory it allows for easy checks on containment, size and can turn ranges (or collections of ranges) into short string notations.

Keywords

Publisher

published 1.0.0-beta13 months ago
M
Q
P

Description

Checks if a given number is within a given range and returns boolean

Keywords

Publisher

published 1.0.49 months ago
M
Q
P

Description

D-like ranges.

Keywords

Publisher

published 0.2.45 months ago
M
Q
P

Description

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

Keywords

Publisher

published 1.0.43 years ago
M
Q
P

Description

Finds and fixes common and not so common broken named HTML entities, returns ranges array of fixes

Keywords

Publisher

published 2.5.77 days ago
M
Q
P

Description

List of all named HTML entities

Keywords

Publisher

published 1.2.15a month ago
M
Q
P

Description

Invert string index ranges [ [1, 3] ] => [ [0, 1], [3, ...] ]

Keywords

Publisher

published 2.1.327 days ago
M
Q
P

Description

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

Keywords

Publisher

published 2.0.457 days ago
M
Q
P

Description

Iterate through string and optionally a given ranges as if they were one

Keywords

Publisher

published 2.2.167 days ago