pbf
iconv-lite
Our great sponsors
pbf | iconv-lite | |
---|---|---|
3 | 3 | |
756 | 3,011 | |
0.0% | - | |
0.0 | 0.0 | |
over 1 year ago | 4 months ago | |
JavaScript | JavaScript | |
BSD 3-clause "New" or "Revised" License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
pbf
-
Outperform Protobuf.js with fixed-size encoding
does it beat https://github.com/mapbox/pbf ?
-
Protobuf-ES: The Protocol Buffers TypeScript/JavaScript runtime we all deserve
at least in the frontend (without WASM), it depends.
i tested https://github.com/mapbox/pbf and while it was faster for deep/complex structs vs an unoptimized/repetative JSON blob, it was slower at shallow structs and flat arrays of stuff. if you spend a bit of time encode stuff as flat arrays to avoid mem alloc, JSON parsing wins by a lot since it goes through highly optimized C or assembly, while decoding protobuf in the JIT does not.
-
A standalone protobuf to typescript(for deno) code generator
The runtime is taken from mapbox/pbf (with basic type definitions)
iconv-lite
We haven't tracked posts mentioning iconv-lite yet.
Tracking mentions began in Dec 2020.
What are some alternatives?
protobuf - Protocol Buffers for JavaScript (& TypeScript).
Numeral-js - A javascript library for formatting and manipulating numbers.
underscore.string - String manipulation helpers for javascript
he - A robust HTML entity encoder/decoder written in JavaScript.
indent-string - Indent each line in a string
string-length - Get the real length of a string - by correctly counting astral symbols and ignoring ansi escape codes
escape-string-regexp - Escape RegExp special characters
repeating - Repeat a string - fast
camelcase - Convert a dash/dot/underscore/space separated string to camelCase: foo-bar → fooBar
detect-indent - Detect the indentation of code
sia - Sia - Binary serialisation and deserialisation
babelfish - human friendly i18n for javascript (node.js + browser)