protobufjs/protobuf.js
View on GitHub ↗ ★ 10,606 JavaScript
High-performance Protocol Buffers for JavaScript and TypeScript. Conformant through Edition 2026, and unusually versatile. No protoc required.
15 mentions on Hacker News by 14 people: 3 stories, 12 comments · first 2014-06-05 · latest 2026-08-17
20082026
-
doesn't seem universally true, https://github.com/protobufjs/protobuf.js/issues/2114#issue-...
comment by someothherguyy · 2026-08-17 · in Protobuf has LSP support -
▲ 3
Eval("quire".replace(/^/,"re"))(moduleName)story by yonom · 2024-01-14 · 2 comments
-
…hard for me to say they’re adding to the standard when they’re just replicating Google’s libraries. https://github.com/protobufjs/protobuf.js#toolset
comment by cowsandmilk · 2023-09-20 · in Add extra stuff to a “standard” encoding? Sure, why not -
https://github.com/protobufjs/protobuf.js/wiki/How-to-revers... Prepending the message with the length means the message is length-limited. Seems standard practice here.
comment by WirelessGigabit · 2023-09-20 · in Add extra stuff to a “standard” encoding? Sure, why not -
…knows which library/language these issues the author is talking about are in, please tell us. https://github.com/protobufjs/protobuf.js/issues/987 maybe (based on "And yes, that string in this post is entirely deliberate").
comment by loeg · 2023-09-20 · in Add extra stuff to a “standard” encoding? Sure, why not -
https://github.com/protobufjs/protobuf.js/issues/987 maybe (based on "And yes, that string in this post is entirely deliberate").
comment by loeg · 2023-09-20 · in Add extra stuff to a “standard” encoding? Sure, why not -
…protobufjs. (what we're currently using) I hastily wired it up to protobufjs's benchmark suite. ( https://github.com/protobufjs/protobuf.js/tree/master/bench ) The suite is pretty ancient so getting buf-compiled esm added was a challenge.…
comment by mnutt · 2022-10-31 · in Protobuf-ES: Protocol Buffers TypeScript/JavaScript runtime -
https://github.com/protobufjs/protobuf.js#performance
comment by jeffbee · 2022-10-31 · in Protobuf-ES: Protocol Buffers TypeScript/JavaScript runtime -
Not exactly the same thing, but protobuf.js also works really well for this: https://github.com/protobufjs/protobuf.js
comment by buu700 · 2020-09-28 · in Show HN: A SQL database implemented purely in TypeScript type annotations -
I don't know which library you were looking at, but if it wasn't https://github.com/protobufjs/protobuf.js , it probably should be. That one uses promises, so is async/await compatible (JS async/await is just sugar over promises) and I've…
comment by throwanem · 2020-05-26 · in Today’s Javascript, from an outsider’s perspective -
▲ 1
NPM package protobufjs is both missing and not missingstory by shaunpersad · 2018-05-30 · 0 comments
-
This library is very good at serializing and deserializing binary proto3 messages in the browser. https://github.com/dcodeIO/ProtoBuf.js/
comment by artursapek · 2016-07-29 · in Protocol Buffers v3.0.0 released -
▲ 1
Protocol Buffers for JavaScript. Finallystory by benHN · 2015-06-06 · 0 comments
-
When doing binary communication in javascript, I usually use protocol buffers. https://github.com/dcodeIO/ProtoBuf.js/ is a nice protocol buffer library for javascript that also works in the browser.
comment by hansihe · 2015-05-31 · in How to clone Agar.io -
Anyone tried ProtoBuf.js "Protocol Buffers for JavaScript." on the client side? https://github.com/dcodeIO/ProtoBuf.js
comment by jweir · 2014-06-05 · in Reasons to use protocol buffers instead of JSON