Search results

302 packages found

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

published 1.0.1 2 months ago
M
Q
P

Robustly get the byte offset of a Typed Array

published 1.0.2 2 months ago
M
Q
P

Robustly get the byte length of a Typed Array

published 1.0.1 2 months ago
M
Q
P

Get the byteLength out of a DataView, robustly.

published 1.0.1 a month ago
M
Q
P

Get the byteOffset out of a DataView, robustly.

published 1.0.0 a month ago
M
Q
P

Strip UTF-8 byte order mark (BOM) from a string

published 5.0.0 3 years ago
M
Q
P

Utility to parse a string bytes to bytes and vice-versa

published 3.1.2 2 years ago
M
Q
P

Convert bytes to a human readable string: 1337 → 1.34 kB

published 6.1.1 9 months ago
M
Q
P

Turn Buffer instances into "pointers"

published 3.0.6 7 months ago
M
Q
P

Byte reader/writer for buffers and streams in typescript/javascript

published 1.2.2 10 months ago
M
Q
P
M
Q
P
M
Q
P

Unicode aware string truncation that given a max byte size will truncate the string to or just below that size

published 1.0.0 8 years ago
M
Q
P

Turn Buffer instances into "pointers"

published 3.0.3 3 years ago
M
Q
P

Strip UTF-8 byte order mark (BOM) from a Uint8Array

published 4.0.0 6 months ago
M
Q
P

Strip a byte order mark (BOM) from a string.

published 1.0.0 7 years ago
M
Q
P

Typescript circular ring buffer uint8array with push shift read write find operations

published 0.2023.1-2.2 4 months ago
M
Q
P

Converts a number to/from a human readable string: `1337` ↔ `1.34kB`

published 1.2.0 a year ago
M
Q
P

Turn Buffer instances into "pointers"

published 1.3.5 7 years ago
M
Q
P

Utility to parse a string bytes (ex: 1 ZiB) to bytes (1.1805916207174113e+21) and vice-versa.

published 1.0.5 a year ago
M
Q
P