Search results

1000+ packages found

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

published version 5.0.0, 4 years ago2148 dependents licensed under $MIT
395,782,197

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

published version 1.0.2, 6 months ago783 dependents licensed under $MIT
152,673,389

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

published version 3.1.2, 3 years ago2533 dependents licensed under $MIT
261,699,213

Robustly get the byte offset of a Typed Array

published version 1.0.4, 6 months ago677 dependents licensed under $MIT
140,415,540

Get the byteOffset out of a DataView, robustly.

published version 1.0.1, 6 months ago383 dependents licensed under $MIT
119,819,887

Robustly get the byte length of a Typed Array

published version 1.0.3, 6 months ago671 dependents licensed under $MIT
140,018,320

Get the byteLength out of a DataView, robustly.

published version 1.0.2, 6 months ago384 dependents licensed under $MIT
119,866,010

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

published version 7.0.0, 2 months ago1970 dependents licensed under $MIT
69,689,525

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

published version 1.0.0, 8 years ago36 dependents licensed under $MIT
11,306,739

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

published version 5.0.0, 4 years ago96 dependents licensed under $MIT
6,378,461

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

published version 4.0.0, 2 years ago28 dependents licensed under $MIT
4,954,705

(IEC) Utility to parse a string bytes to bytes and vice-versa

published version 3.1.1, 5 years ago49 dependents licensed under $MIT
1,654,592

Test if a value is a Uint8Array.

published version 0.2.2, a year ago63 dependents licensed under $Apache-2.0
1,752,963

Uint8Array.

published version 0.2.2, a year ago79 dependents licensed under $Apache-2.0
1,751,242

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

published version 1.0.0, 9 years ago19 dependents licensed under $MIT
1,367,784

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

published version 1.2.1, 8 months ago87 dependents licensed under $ISC
574,375

ByteStream is a library making possible to manipulates single bytes and bits on pure JavaScript

published version 2.0.1, 3 years ago7 dependents licensed under $BSD-3-Clause
503,746

Test if a value is a Uint8ClampedArray.

published version 0.2.2, a year ago1 dependents licensed under $Apache-2.0
134,704

Fork of bytes in ESM, a utility to parse a string bytes to bytes and vice-versa

published version 0.1.2, 4 years ago1 dependents licensed under $MIT
132,979

Test if a value is an Int8Array.

published version 0.2.2, a year ago1 dependents licensed under $Apache-2.0
134,701