376 packages found
Get the real length of a string - by correctly counting astral symbols and ignoring ansi escape codes
A Minipass stream that raises an error if you get a different number of bytes than expected
A regex to match any full character, considering weird character ranges.
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.
Maximum unsigned 32-bit integer.
Get the longest item in an array.
Regular expression to detect an extended-length path.
Use the ic length unit
digest-stream - Simple pass-through stream (RW) which calculates the a crypto digest (sha/md5 hash) of a stream and also the length. Pipe your stream through this to get digest and length. (streams2)
Get the duration of an MP3 file
Music metadata parser for Node.js, supporting virtual any audio and tag format.
Robustly get the length of a Typed Array
Count the longest repeating streak of a character
RapidOM schema validator
- View more
Maximum length for a typed array.
Convert between css lengths e.g. em->px or px->rem
Maximum length for a generic array.
Easy `Function` subclasses