@protobufjs/utf8
Advanced tools
Weekly downloads
Readme
A minimal UTF8 implementation for number arrays.
utf8.length(string: string
): number
Calculates the UTF8 byte length of a string.
utf8.read(buffer: Uint8Array
, start: number
, end: number
): string
Reads UTF8 bytes as a string.
utf8.write(string: string
, buffer: Uint8Array
, offset: number
): number
Writes a string as UTF8 bytes.
License: BSD 3-Clause License
A minimal UTF8 implementation for number arrays.
The npm package @protobufjs/utf8 receives a total of 7,415,489 weekly downloads. As such, @protobufjs/utf8 popularity was classified as popular.
We found that @protobufjs/utf8 demonstrated a not healthy version release cadence and project activity because the last version was released a year ago.It has 2 open source maintainers collaborating on the project.
Did you know?
Socket installs a Github app to automatically flag issues on every pull request and report the health of your dependencies. Find out what is inside your node modules and prevent malicious activity before you update the dependencies.