openapi-client-axios
msgpack-javascript
openapi-client-axios | msgpack-javascript | |
---|---|---|
5 | 3 | |
498 | 1,223 | |
2.4% | 1.3% | |
8.3 | 4.9 | |
2 months ago | about 2 months ago | |
TypeScript | TypeScript | |
MIT License | ISC 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.
openapi-client-axios
-
Show HN: REST Alternative to GraphQL and tRPC
Thanks for the feedback!
There is a full interactive sandbox example on the front/landing page https://openapistack.co
But point taken, will make sure code examples are visible on the overview page
-
.NET with React - what to choose between pure MVC, MVC with React or pure React (and .NET backend)?
There are also some tricks to make it easier, like using swagger/openapi to generate strongly typed API client (for Typescript) to your backend. There a package that generates the types: https://www.npmjs.com/package/openapi-client-axios
-
What is exact purpose of DRF API clients?
CoreAPI is deprecated, use OpenAPI instead. On the Javascript/Typescript side I personally like to use OpenAPI Client Axios to generate the client for me.
-
How do you unify TypeScript for both frontend and backend?
And typegen is openapi-client-axios-typegen. (You can also try swaxios, but I failed to run it.)
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 ?
What are some alternatives?
openapi-typescript-codegen - NodeJS library that generates Typescript or Javascript clients based on the OpenAPI specification
cbor - TypeScript implementation of the CBOR specification
mockoon - Mockoon is the easiest and quickest way to run mock APIs locally. No remote deployment, no account required, open source.
rxjs-ninja - RxJS Operators for handling Observable strings, numbers, booleans and more
retry-axios - 🦖 A super flexible interceptor for Axios that makes it easy to retry requests.
better-sqlite3-proxy - Efficiently proxy sqlite tables and access data as typical array of objects
fastify-swagger - Swagger documentation generator for Fastify
revo-grid - Powerful virtual data grid smartsheet with advanced customization. Best features from excel plus incredible performance 🔋
loopback-next - LoopBack makes it easy to build modern API applications that require complex integrations.
zod-to-openapi - A library that generates OpenAPI (Swagger) docs from Zod schemas
redoc - 📘 OpenAPI/Swagger-generated API Reference Documentation
openapi-backend - Build, Validate, Route, Authenticate and Mock using OpenAPI