@type-cacheable/core
    TypeScript icon, indicating that this package has built-in type declarations

    10.1.0 • Public • Published

    @type-cacheable/core

    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:

    Install

    npm i @type-cacheable/core

    DownloadsWeekly Downloads

    10,161

    Version

    10.1.0

    License

    MIT

    Unpacked Size

    81.1 kB

    Total Files

    117

    Last publish

    Collaborators

    • joshuaslate