14.0.1 • Published 2 months ago

@type-cacheable/core v14.0.1

Weekly downloads
5,069
License
MIT
Repository
github
Last release
2 months ago

@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:

14.0.1

2 months ago

14.0.0

3 months ago

13.1.0

3 months ago

13.0.0

8 months ago

12.0.1

12 months ago

12.0.0

1 year ago

11.1.1

1 year ago

11.1.2

1 year ago

11.0.0

1 year ago

11.0.1

1 year ago

10.1.1

2 years ago

10.1.2

2 years ago

10.1.0

2 years ago

10.0.3

2 years ago

10.0.2

3 years ago

10.0.1

3 years ago

10.0.0

3 years ago

9.2.0

3 years ago

9.1.0

3 years ago

9.0.1

3 years ago

8.0.5

4 years ago

8.0.4

4 years ago

8.0.3

4 years ago

8.0.1

4 years ago

8.0.0

4 years ago

7.0.0

4 years ago

6.2.0

4 years ago

6.1.0

4 years ago

6.0.0

4 years ago

5.2.0

4 years ago

5.1.0

4 years ago

5.0.1

4 years ago

5.0.0

4 years ago