An open API service indexing awesome lists of open source software.

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

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). ❤️