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 ago780 dependents licensed under $MIT
140,138,973

Robustly get the length of a Typed Array

published version 1.0.7, 6 months ago826 dependents licensed under $MIT
137,301,227

Set a function's length property

published version 1.2.2, a year ago1118 dependents licensed under $MIT
168,898,254

Get the byteLength out of a DataView, robustly.

published version 1.0.2, 5 months ago380 dependents licensed under $MIT
110,934,493

Robustly get the byte length of a Typed Array

published version 1.0.3, 5 months ago668 dependents licensed under $MIT
128,937,084

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

published version 6.0.0, 2 years ago1202 dependents licensed under $MIT
141,766,541

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

published version 2.0.2, 6 months ago852 dependents licensed under $MIT
129,650,445

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

published version 1.0.3, 6 years ago147 dependents licensed under $ISC
56,764,477

Count the longest repeating streak of a substring

published version 3.1.0, 3 years ago43 dependents licensed under $MIT
36,045,322

Use the ic length unit

published version 4.0.2, 12 hours ago4 dependents licensed under $MIT-0
18,325,623

Sort objecy keys by length

published version 2.0.0, 8 years ago19 dependents licensed under $MIT
15,494,082

Get the longest item in an array.

published version 2.0.1, 8 years ago474 dependents licensed under $MIT
13,114,268

Set the length of a function.

published version 1.1.0, 8 years ago19 dependents licensed under $MIT
5,576,919

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,996,392

turf length module

published version 7.2.0, 5 months ago242 dependents licensed under $MIT
3,504,206

Maximum unsigned 32-bit integer.

published version 0.2.2, 10 months ago11 dependents licensed under $Apache-2.0
1,842,151

Zero-dependency unicode-aware string tools

published version 2.1.0, 5 years ago51 dependents licensed under $MIT
1,540,326

Provides the number of physical cores

published version 2.0.0, 8 years ago72 dependents licensed under $ISC
1,456,184

Regular expression to detect an extended-length path.

published version 0.2.2, 10 months ago1 dependents licensed under $Apache-2.0
1,927,661

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

published version 11.2.3, 9 days ago523 dependents licensed under $MIT
1,751,507