construct-js
🛠️A library for creating byte level data structures. (by francisrstokes)
Bitsery
Your binary serialization library (by fraillt)
SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
surveyjs.io
featured
construct-js | Bitsery | |
---|---|---|
6 | 8 | |
1,364 | 994 | |
- | - | |
0.0 | 4.0 | |
about 1 year ago | 3 months ago | |
TypeScript | C++ | |
MIT License | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.
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.
construct-js
Posts with mentions or reviews of construct-js.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-04-21.
-
What are some good projects for learning about buffers, event emitters, and streams in NodeJS?
How events emitters or streams, but I made heavy use of buffers in construct js, which is a library for creating byte level binary data structures.
-
Reverse engineering a proprietary USB control driver for a mechanical keyboard and building an open source equivalent
I've been working pretty hard for the last couple of years to bring a lot of these capabilities to JS/TS. Arcsecond (and it's binary extension) is a general library for parsing, which can easily take a block of memory and convert it to a workable data structure (even when that data structure is some kind of contextual union). You can use construct-js to (re)build an arbitrary byte buffer from structured data, making use of operators for sizeof and pointers.
-
Binary serialization library for at least C++17?
I myself am looking for a binary serializer/deserializer that's like construct in python or construct-js, but obviously I wouldn't need some of the types that they have, since C++ already has them.
- construct-js: A library for creating byte level data structures written in TypeScript
- construct-js: A library for creating byte level data structures, recently rewritten in TypeScript
- construct-js: A library for creating byte level data structures
Bitsery
Posts with mentions or reviews of Bitsery.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-04-25.
- What are some ways I can serialize objects?
-
Introducing ByteStream, a super intuitive, safe, reliable and easy to use utility for binary serialisation and deserialization of complex and deeply nested C++ objects. Looking forward to feedback and comments.
Thanks for sharing https://github.com/fraillt/bitsery it seems more powerful but require quite a boilerplate code for even very simple composite stuff. With ByteStream you can totally forget about deep you are in the data-structure hierarchy.
- Is there any good binary serializer & deserializer for C / C++?
-
Binary serialization library for at least C++17?
Bitsery is the closest I've seen to it, but you have to use extensions (which i can't yet figure out the API for) to make it achieve byte for byte compatbility
-
Google Protobuf vs JSON vs [insert candidate here]
If size and performance matter, then take a look at bitsery. * it might be 9x+ faster than cereal and 18x faster than protobuf. * size-wise, you might save 20-30% by default * on top of that you additional might opt-in into: * bit-level serialization control (e.g. if your values are in the range 1000-2000 it will take you 10bits, or use VLE) * backward-forward compatibility support * pointer support, including raw pointers with the ability to provide custom allocator. * and powerful extensions system, which allows you to further customize things in any way you want it :)
-
easy Serialization library for C++?
About on par with nlohmann is a binary serialization lib called Bitsery. It's easy to use, and will be a lot more performant than json. The downside is that the serialized data won't be human readable.