avsc
safe-json-value
avsc | safe-json-value | |
---|---|---|
1 | 13 | |
1,245 | 206 | |
- | - | |
5.5 | 7.1 | |
about 1 month ago | 5 days ago | |
JavaScript | JavaScript | |
MIT License | Apache License 2.0 |
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.
avsc
-
Advice: making a multiplayer game: How should I handle different frequency events in the same game?
Chances are, your world state really isn't large enough to warrant splitting it up into "different layers". Even if it kind of was, there's much more sensible ways of reducing the size of your packets. Like you're probably using JSON, which again is probably still fine, but it's far from an optimized way of serializing data. Here's what I mean: https://github.com/mtth/avsc/wiki/Benchmarks
safe-json-value
- ⛑️ JSON serialization should never fail
-
⛑ JSON serialization should never fail.
safe-json-value is a JavaScript library to prevent JSON.serialize() from:
- JSON serialization should never fail
What are some alternatives?
protobuf - Protocol Buffers for JavaScript (& TypeScript).
parse-json - Parse JSON with more helpful errors
snappy - DEPRECATED - please use https://github.com/Brooooooklyn/snappy. Nodejs bindings to Google's Snappy compression library
json-query - Retrieves values from JSON objects for data binding
PEG.js - PEG.js: Parser generator for JavaScript
neat-csv - Fast CSV parser
strip-css-comments - Strip comments from CSS
parse5 - HTML parsing/serialization toolset for Node.js. WHATWG HTML Living Standard (aka HTML5)-compliant.
nearley - 📜🔜🌲 Simple, fast, powerful parser toolkit for JavaScript.
jsonpath - JsonPath engine written in Rust. Webassembly and Javascript support too
google-libphonenumber - The up-to-date and reliable Google's libphonenumber package for node.js.
js-yaml - JavaScript YAML parser and dumper. Very fast.