Socket
Socket
Sign inDemoInstall

@11ty/eleventy-fetch

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@11ty/eleventy-fetch

Fetch and locally cache remote API calls and assets.


Version published
Weekly downloads
16K
decreased by-2.62%
Maintainers
1
Weekly downloads
 
Created
Source

eleventy Logo

eleventy-fetch

Requires Node 14+

Formerly known as @11ty/eleventy-cache-assets.

Fetch network resources and cache them so you don’t bombard your API (or other resources). Do this at configurable intervals—not with every build! Once per minute, or once per hour, once per day, or however often you like!

With the added benefit that if one successful request completes, you can now work offline!

This plugin can save any kind of asset—JSON, HTML, images, videos, etc.

The full eleventy-fetch documentation is on 11ty.dev.

npm Version GitHub issues

Installation

npm install @11ty/eleventy-fetch

The full eleventy-fetch documentation is on 11ty.dev.

Tests

npm run test

Community Roadmap

Keywords

FAQs

Package last updated on 04 Mar 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc