Search results

1000+ packages found

Get the byte length of an ArrayBuffer, even in engines without a `.byteLength` method.

published version 1.0.2, 5 months ago777 dependents licensed under $MIT
133,562,504

Robustly get the length of a Typed Array

published version 1.0.7, 5 months ago825 dependents licensed under $MIT
130,813,872

Robustly get the byte length of a Typed Array

published version 1.0.3, 5 months ago666 dependents licensed under $MIT
123,036,412

Set a function's length property

published version 1.2.2, a year ago1113 dependents licensed under $MIT
161,399,093

Get the byteLength out of a DataView, robustly.

published version 1.0.2, 5 months ago379 dependents licensed under $MIT
105,927,609

A regex to match any full character, considering weird character ranges.

published version 2.0.2, 6 months ago847 dependents licensed under $MIT
117,353,484

Get the real length of a string - by correctly counting astral symbols and ignoring ansi escape codes

published version 6.0.0, 2 years ago1199 dependents licensed under $MIT
128,312,659

A Minipass stream that raises an error if you get a different number of bytes than expected

published version 1.0.3, 6 years ago144 dependents licensed under $ISC
52,847,578

Count the longest repeating streak of a substring

published version 3.1.0, 2 years ago43 dependents licensed under $MIT
33,151,815

Use the ic length unit

published version 4.0.1, 17 days ago4 dependents licensed under $MIT-0
16,901,736

Sort objecy keys by length

published version 2.0.0, 8 years ago19 dependents licensed under $MIT
14,482,805

Get the longest item in an array.

published version 2.0.1, 8 years ago432 dependents licensed under $MIT
12,460,748

Set the length of a function.

published version 1.1.0, 8 years ago19 dependents licensed under $MIT
5,139,092

turf length module

published version 7.2.0, 4 months ago233 dependents licensed under $MIT
3,407,587

For a given Buffer or Stream, this module will attempt to determine the total length of the stream contents. It currently supports Buffers, `fs` streams, `http` responses, and `request` objects, and allows for specifying custom stream types.

published version 1.0.2, 10 years ago16 dependents licensed under $WTFPL
4,788,104

Regular expression to detect an extended-length path.

published version 0.2.2, 9 months ago1 dependents licensed under $Apache-2.0
1,868,797

Zero-dependency unicode-aware string tools

published version 2.1.0, 5 years ago51 dependents licensed under $MIT
1,603,353

Maximum unsigned 32-bit integer.

published version 0.2.2, 9 months ago11 dependents licensed under $Apache-2.0
1,775,818

Provides the number of physical cores

published version 2.0.0, 8 years ago72 dependents licensed under $ISC
1,314,917

Music metadata parser for Node.js, supporting virtual any audio and tag format.

published version 11.2.1, 20 days ago470 dependents licensed under $MIT
1,583,777
OSZAR »