File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2,10 +2,7 @@ module.exports = {
22 root : true ,
33 parser : '@typescript-eslint/parser' ,
44 plugins : [ '@typescript-eslint' ] ,
5- extends : [
6- 'eslint:recommended' ,
7- 'plugin:@typescript-eslint/recommended'
8- ] ,
5+ extends : [ 'eslint:recommended' , 'plugin:@typescript-eslint/recommended' ] ,
96 parserOptions : {
107 ecmaVersion : 2020 ,
118 sourceType : 'module' ,
@@ -18,6 +15,6 @@ module.exports = {
1815 rules : {
1916 '@typescript-eslint/no-explicit-any' : 'off' ,
2017 '@typescript-eslint/explicit-module-boundary-types' : 'off' ,
21- '@typescript-eslint/no-unused-vars' : [ 'error' , { ' argsIgnorePattern' : '^_' } ]
18+ '@typescript-eslint/no-unused-vars' : [ 'error' , { argsIgnorePattern : '^_' } ]
2219 }
2320} ;
Original file line number Diff line number Diff line change @@ -42,14 +42,14 @@ This is a monorepo containing the following packages:
4242
4343### Core Package
4444
45- | Package | Version | Description |
46- | ----------------------------------- | -- ------------------------------------------------------------ | ---------------------------------------------------------------------- |
45+ | Package | Version | Description |
46+ | --------------------------------- | ------------------------------------------------------------ | ---------------------------------------------------------------------- |
4747| [ @node-ts-cache/core ] ( ./ts-cache ) | ![ npm] ( https://img.shields.io/npm/v/@node-ts-cache/core.svg ) | Core caching module with decorators, strategies, and built-in storages |
4848
4949### Storage Adapters
5050
51- | Package | Version | Description |
52- | ----------------------------------------------------------------- | ------- -------------------------------------------------------------------------- | ------------------------------------------------------ |
51+ | Package | Version | Description |
52+ | ---------------------------------------------------------- | -------------------------------------------------------------------------- | ------------------------------------------------------ |
5353| [ @node-ts-cache/redis-storage ] ( ./storages/redis ) | ![ npm] ( https://img.shields.io/npm/v/@node-ts-cache/redis-storage.svg ) | Redis storage using ` redis ` package (v3.x) |
5454| [ @node-ts-cache/ioredis-storage ] ( ./storages/redisio ) | ![ npm] ( https://img.shields.io/npm/v/@node-ts-cache/ioredis-storage.svg ) | Redis storage using ` ioredis ` with compression support |
5555| [ @node-ts-cache/node-cache-storage ] ( ./storages/node-cache ) | ![ npm] ( https://img.shields.io/npm/v/@node-ts-cache/node-cache-storage.svg ) | In-memory cache using ` node-cache ` |
Original file line number Diff line number Diff line change @@ -114,16 +114,16 @@ new LRUWithRedisStorage(
114114)
115115```
116116
117- | Parameter | Type | Description |
118- | --------- | ---------------------------- | ---------------------------------------- |
119- | ` options ` | ` LRUWithRedisStorageOptions ` | Options for local LRU cache and TTL |
117+ | Parameter | Type | Description |
118+ | --------- | ---------------------------- | ----------------------------------------- |
119+ | ` options ` | ` LRUWithRedisStorageOptions ` | Options for local LRU cache and TTL |
120120| ` redis ` | ` () => Redis.Redis ` | Factory function returning ioredis client |
121121
122122### Options
123123
124- | Option | Type | Default | Description |
125- | ------ | -------- | ------- | ------------------------------------------------ |
126- | ` max ` | ` number ` | ` 500 ` | Maximum items in local LRU cache |
124+ | Option | Type | Default | Description |
125+ | ------ | -------- | ------- | -------------------------------------------------- |
126+ | ` max ` | ` number ` | ` 500 ` | Maximum items in local LRU cache |
127127| ` ttl ` | ` number ` | ` 86400 ` | Time to live in ** seconds** (for both LRU & Redis) |
128128
129129## Interface
You can’t perform that action at this time.
0 commit comments