npm 包搜索

搜索 npm 上的 JavaScript 依赖包

搜索 "utf8" 的结果(共 22 个)
is-utf8

Detect if a buffer is utf8 encoded.

MIT
sonic-boom

Extremely fast utf8 only stream implementation

MIT
utf8-encode

Encode JavaScript strings in UTF8

remove-bom-stream

Remove a UTF8 BOM at the start of the stream.

MIT
truncate-utf8-bytes

Truncate string to given length in bytes

WTFPL
utf8

A well-tested UTF-8 encoder/decoder written in JavaScript.

MIT
emailjs-stringencoding

Brings utf8 de/encoding to all platforms.

utf8-byte-length

Get utf8 byte length of string

(WTFPL OR MIT)
encode-utf8

Turn a string into an ArrayBuffer by using the UTF8 encoding.

MIT
@webassemblyjs/utf8

UTF8 encoder/decoder for WASM

MIT
@protobufjs/utf8

A minimal UTF8 implementation for number arrays.

BSD-3-Clause
utf-8

Encode/decode UTF8.

MIT
read-file

Thin wrapper around fs.readFile and fs.readFileSync that also strips byte order marks when `utf8` encoding is chosen. Also optionally replaces windows newlines with unix newlines.

MIT
utf8-binary-cutter

truncate UTF-8 strings to a given binary size

public domain
utf8-bar

```shell npm install utf8-bar ```

utf8-stream

buffer utf8 characters that would otherwise span chunk boundaries

utf8-encoding

utf8 encoder/decoder of whatwg Encoding Living Standard https://encoding.spec.whatwg.org/

MIT
utfx

A compact library to encode, decode and convert UTF8 / UTF16 in JavaScript.

Apache-2.0
@aws-sdk/util-utf8-universal

A cross-platform UTF-8 string <-> UInt8Array converter

Apache-2.0
utf8-bytes

return an array of bytes from a unicode string