Search results

1000+ packages found

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

published version 5.0.0, 4 years ago2096 dependents licensed under $MIT
215,457,548

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

published version 3.1.2, 3 years ago2468 dependents licensed under $MIT
166,316,037

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

published version 1.0.2, 22 days ago751 dependents licensed under $MIT
96,959,263

Robustly get the byte length of a Typed Array

published version 1.0.3, 24 days ago641 dependents licensed under $MIT
88,416,187

Robustly get the byte offset of a Typed Array

published version 1.0.4, 23 days ago647 dependents licensed under $MIT
89,792,583

Get the byteOffset out of a DataView, robustly.

published version 1.0.1, 23 days ago351 dependents licensed under $MIT
71,742,419

Get the byteLength out of a DataView, robustly.

published version 1.0.2, 22 days ago352 dependents licensed under $MIT
71,652,188

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

published version 6.1.1, a year ago1876 dependents licensed under $MIT
46,299,736

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

published version 1.0.0, 8 years ago35 dependents licensed under $MIT
6,126,975

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

published version 5.0.0, 3 years ago95 dependents licensed under $MIT
3,773,193

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

published version 4.0.0, a year ago28 dependents licensed under $MIT
2,747,621

Test if a value is a Uint8Array.

published version 0.2.2, 5 months ago63 dependents licensed under $Apache-2.0
1,241,952

Uint8Array.

published version 0.2.2, 5 months ago79 dependents licensed under $Apache-2.0
1,241,640

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 ago18 dependents licensed under $MIT
1,000,802

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

published version 3.1.1, 4 years ago49 dependents licensed under $MIT
685,662

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

published version 1.2.1, 2 months ago84 dependents licensed under $ISC
465,602

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

published version 2.0.1, 2 years ago7 dependents licensed under $BSD-3-Clause
251,891

Uint8ClampedArray.

published version 0.2.2, 5 months ago12 dependents licensed under $Apache-2.0
131,695

Test if a value is an Int8Array.

published version 0.2.2, 5 months ago1 dependents licensed under $Apache-2.0
131,704

Test if a value is a Uint8ClampedArray.

published version 0.2.2, 5 months ago1 dependents licensed under $Apache-2.0
131,677