ketting
The HATEOAS client for javascript (by badgateway)
ky
🌳 Tiny & elegant JavaScript HTTP client based on the browser Fetch API (by sindresorhus)
Our great sponsors
ketting | ky | |
---|---|---|
5 | 22 | |
542 | 11,505 | |
2.0% | - | |
5.6 | 7.1 | |
6 months ago | 6 days ago | |
TypeScript | TypeScript | |
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.
ketting
Posts with mentions or reviews of ketting.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-08-14.
-
What's the typical way for a RESTful API to tell clients what content types are supported?
So Accept does work as a response header, specifically for this case. I usually prefer to not do this extra request though. Since you're already using a hypermedia format, usually you can also include a type parameter. HAL supports this for example. Would strongly suggest you don't invent your own format. I do a lot of hypermedia APIs, we also wrote a client
-
What could be the reason why you would still chose REST over GraphQL or gRPC for your API?
I prefer REST and using HATEOAS. Its fantastic, check it out: https://restfulapi.net/hateoas/ And using tooling like https://github.com/badgateway/react-ketting and https://github.com/badgateway/ketting Makes everything extremely clean and much more simple.
-
Roy Fielding's Misappropriated REST Dissertation
I'm trying to (help) solve this:
https://github.com/badgateway/ketting
- react-query: A magical way to fetch data in React
-
Typed fetch requests
Our client is open source and we've been developing it for over 4 years: https://github.com/badgateway/ketting , plus we got react bindings so you can also use resource as such:
ky
Posts with mentions or reviews of ky.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-06-20.
- Ky: Tiny and elegant JavaScript HTTP client based on the browser Fetch API
- Ky is a tiny and elegant HTTP client based on the browser Fetch API
- For http requests with TS, is axios still best? I want to use it to share code on a website in react and a CLI/backend in node
- Lightweight fetch wrapper alternative to axios?
- The app router is not production-ready yet
-
Axios reaches 1.0.0
ky (3KB fetch-wrapper) has interceptors (we call them hooks).
-
Is Axios worth it?? Just need the timeout feature and couldn't see anything else major...
You could always try ky.
-
Best data fetching methods/libraries for React
If you're looking for an alternative to `fetch` or `axios` try out https://github.com/sindresorhus/ky. If you're looking at server-state management then I agree with react-query
-
The 5 best HTTP request API`s for Javascript
Ky is a relatively new Javascript package that can be used for making asynchronous HTTP requests from the front end of a web application. It’s built on top of the native Fetch API with a simpler syntax and additional functionality.
-
fetch() In Node.js Core: Why You Should Care
Here is link number 1 - Previous text "ky"
What are some alternatives?
When comparing ketting and ky you can also consider the following projects:
react-ketting - Ketting bindings for React
axios - Promise based HTTP client for the browser and node.js