65 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.22 years 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.12 years 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.12 years ago
M
Q
P

Description

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

Keywords

Publisher

published 1.2.06 months ago
M
Q
P

Description

Merge and sort string index ranges

Keywords

Publisher

published 5.0.322 days ago
M
Q
P

Description

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

Keywords

Publisher

published 3.2.322 days ago
M
Q
P

Description

Gather string index ranges

Keywords

Publisher

published 3.7.2222 days 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.0a month ago
M
Q
P

Description

Sort string index ranges

Keywords

Publisher

published 3.13.322 days ago
M
Q
P

Description

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

Keywords

Publisher

published 2.4.113 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.22 years 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.24 years ago
M
Q
P

Description

Check if a URL accepts HTTP Range Requests

Keywords

Publisher

published 0.0.0a month ago
M
Q
P

Description

Checks if index is within any of the given string index ranges

Keywords

Publisher

published 1.15.222 days ago
M
Q
P

Description

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

Keywords

Publisher

published 1.0.44 years ago
M
Q
P

Description

keep track of ranges

Keywords

Publisher

published 1.0.12 years ago
M
Q
P

Description

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

Keywords

Publisher

published 2.1.322 days ago
M
Q
P

Description

Invert string index ranges

Keywords

Publisher

published 2.1.4922 days 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 3.0.1122 days ago
M
Q
P

Description

Iterate string considering ranges, as if they were already applied

Keywords

Publisher

published 2.2.3522 days ago