https://github.com/windyroad/very-fetching
A set of very fetching Typescript utility libraries for fetch
https://github.com/windyroad/very-fetching
fetch hypermedia hypermedia-client link rfc8288 typescript
Last synced: 5 months ago
JSON representation
A set of very fetching Typescript utility libraries for fetch
- Host: GitHub
- URL: https://github.com/windyroad/very-fetching
- Owner: windyroad
- License: mit
- Created: 2023-07-06T11:59:49.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2025-01-27T14:41:30.000Z (8 months ago)
- Last Synced: 2025-05-11T07:09:43.011Z (5 months ago)
- Topics: fetch, hypermedia, hypermedia-client, link, rfc8288, typescript
- Language: TypeScript
- Homepage:
- Size: 1.52 MB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# @windyroad/very-fetching
We believe that hypermedia APIs, APIs who's responses include links and forms, significantly
reduces to coupling between the client and server, making them easier to evolve.The [`packages/fetch-link`](./packages/fetch-link/README.md) library, and the libraries its
built on, adapts the fetch API to work with
[RFC8288](https://datatracker.ietf.org/doc/html/rfc8288) Links. It parses `Link` and
`Link-Template` headers, providing them via `links()` method on the `Response`, and
it can use links and request inputs, allowing call chaining.## Packages
- [`@windyroad/adapt-fetch-input`](./packages/adapt-fetch-inputs/README.md) A library
for adapting fetch inputs
- [`@windyroad/decorate-fetch-response`](./packages/decorate-fetch-response/README.md): A library for decorating fetch responses.
- [`@windyroad/fetch-fragment`](./packages/fetch-fragment/README.md): A fetch library that can retrieve json fragments
- [`@windyroad/fetch-link`](./packages/fetch-link/README.md): A library that adapts the fetch
API to work with [RFC8288](https://datatracker.ietf.org/doc/html/rfc8288) Link objects.
- [`@windyroad/ofetch-link`](./packages/fetch-olink/README.md): A library that adapts the
[ofetch](https://github.com/unjs/ofetch) library to work with
[RFC8288](https://datatracker.ietf.org/doc/html/rfc8288) Link objects.
- [`@windyroad/link-header`](./packages/link-header/README.md): Parse & format HTTP link headers according to
[RFC8288](https://datatracker.ietf.org/doc/html/rfc8288)
- [`@windyroad/wrap-fetch`](./packages/wrap-fetch/README.md): A library for wrapping fetch, so
requests and responses can be modified.
- [`@windyroad/eslint-config`](./packages/eslint-config/README.md): XO config for the Windy Road style
guide.
![]()
## Contributing
Contributions are welcome! Please see our [contributing guidelines](CONTRIBUTING.md)
for more information.## License
Very Fetching is lovingly licensed under the [MIT License](LICENSE). ❤️