New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@groupby/elements-cache-driver-plugin

Package Overview
Dependencies
Maintainers
11
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@groupby/elements-cache-driver-plugin

This package contains the GroupBy Elements Cache Driver Plugin class.

  • 0.2.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
11
Created
Source

GroupBy Elements Cache Plugin

This package contains the GroupBy Elements Cache Driver Plugin class.

Usage

To use the plugin, simply instantiate it and register it with Core:

const cacheDriverPlugin = new CacheDriverPlugin();
core.register(cacheDriverPlugin);

Events

This plugin listens for and dispatches a number of events. These events are defined in the @groupby/elements-events package.

Received

  • CACHE_REQUEST: When received, a request to the cache is made and a response is dispatched with the event name provided in the payload of CACHE_REQUEST. It is recommended to prefix the return event name with the value of CACHE_RESPONSE_PREFIX.

Dispatched

  • A cache response event: Dispatched when a CACHE_REQUEST is fulfilled. The event is dispatched under the name provided by the corresponding CACHE_REQUEST payload.

FAQs

Package last updated on 20 Dec 2019

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

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc