Socket
Book a DemoInstallSign in
Socket

@type-cacheable/core

Package Overview
Dependencies
Maintainers
1
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@type-cacheable/core

TypeScript-based caching decorators

latest
Source
npmnpm
Version
14.2.1
Version published
Weekly downloads
20K
-20.94%
Maintainers
1
Weekly downloads
 
Created
Source

@type-cacheable/core

npm downloads

TypeScript-based caching decorators to assist with caching (and clearing cache for) async methods. Currently supports Redis (redis, ioredis), lru-cache, and node-cache. If you would like to see more adapters added, please open an issue or, better yet, a pull request with an implementation.

To learn how to set up an adapter for your cache of choice, view the full documentation.

Usage

Installation

npm install --save @type-cacheable/core

or

yarn add @type-cacheable/core

Adapter setup

You will need to set up the appropriate adapter for your cache of choice.

Redis:

LRU-Cache

Node-Cache:

Keywords

cache

FAQs

Package last updated on 11 Sep 2025

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