eleventy-fetch icon indicating copy to clipboard operation
eleventy-fetch copied to clipboard

Utility to cache any remote asset: Image, Video, Web Font, CSS, JSON, etc

Results 19 eleventy-fetch issues
Sort by recently updated
recently updated
newest added

Thanks for this plugin, I use it -a LOT-. One thing I loved about eleventy-cache-assets is that the filename represented the cache name, so if I needed to edit a...

enhancement

Howdy! I think it would be really nice if I could pass in a function that fetches my data from the target URL, rather than passing in the URL directly....

enhancement

I didn't notice that this package changed its name until today 😅. Maybe its a good idea to mark it as deprecated and link to the new package: https://docs.npmjs.com/cli/v8/commands/npm-deprecate

Currently there is no way to access the response when a request fails so I have added it to the error object. And you can use it in the same...

For example, the GitHub GraphQL API requires a POST request. It would be nice to reuse the existing network functionality rather than having to manually do the request (and store...

reading @swaroopsm [issue](https://github.com/11ty/eleventy-fetch/issues/4) about caching headers I realize I'm trying to achieve the exact same thing: I need to know the total page (`x-wp-totalpages`) from the response header. Except I...

Looks like this didn't get updated when the package was renamed.

I added support for both async functions and promises as the first argument, rather than a url. You can find an example usage [here](https://github.com/doug-wade/i-want-to-be-a-fan/pull/1/commits/9421a2c7be928b0461bf325373858eef3098dbf8#diff-c306e0a99961a16f5c5c83996caa0958b94006d97f97475049ea3a08036bb5b0R40). Addresses #23

### Is your feature request related to a problem? Please describe. I was encountering an issue while trying to set up my 11ty project. When I attempted to run npm...

enhancement

Adds the prettier config from https://github.com/11ty/eleventy.