msgpack-javascript
cbor
msgpack-javascript | cbor | |
---|---|---|
3 | 1 | |
1,223 | 13 | |
1.3% | - | |
4.9 | 0.0 | |
about 2 months ago | about 1 year ago | |
TypeScript | TypeScript | |
ISC 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.
msgpack-javascript
-
Show HN: REST Alternative to GraphQL and tRPC
For a compact message format being sent to browsers, you might look at messagepack, eg with https://github.com/msgpack/msgpack-javascript – it's essentially binary JSON, so it'd be compatible with OpenAPI specs.
I think the ser/des is slower than JSON in most browsers, but the message format is smaller.
Oftentimes, using a query parameter like `?exclude[]=…` or `?include[]=…` or similar to say "only get me these response fields, not the whole object" can be useful for this too (and then you still get JSON back).
-
How to create msgpack RPC client?
This lib seems to be well managed, with frequent changes pushed. If it is made as per the spec, it should be compliant to work with your server too. https://github.com/msgpack/msgpack-javascript
-
WTF Wednesday (January 20, 2021)
Really cool, how does it compare to something like messagepack https://github.com/msgpack/msgpack-javascript ?
cbor
-
WTF Wednesday (January 20, 2021)
I wrote a CBOR library some time back (TypeScript) https://github.com/jprochazk/cbor
What are some alternatives?
rxjs-ninja - RxJS Operators for handling Observable strings, numbers, booleans and more
quicktype - Generate types and converters from JSON, Schema, and GraphQL
better-sqlite3-proxy - Efficiently proxy sqlite tables and access data as typical array of objects
revo-grid - Powerful virtual data grid smartsheet with advanced customization. Best features from excel plus incredible performance 🔋
wretch - A tiny wrapper built around fetch with an intuitive syntax. :candy:
zod-to-openapi - A library that generates OpenAPI (Swagger) docs from Zod schemas
Editor.js - A block-style editor with clean JSON output
openapi-client-axios - JavaScript client library for consuming OpenAPI-enabled APIs with axios
openapi-backend - Build, Validate, Route, Authenticate and Mock using OpenAPI