brave-cache
Advanced tools
Comparing version 0.1.6 to 0.2.0
import BraveCacheProvider from "./src/provider"; | ||
declare type BraveCacheOptions = { | ||
type BraveCacheOptions = { | ||
provider?: string; | ||
@@ -4,0 +4,0 @@ prefix?: string | boolean; |
{ | ||
"name": "brave-cache", | ||
"version": "0.1.6", | ||
"version": "0.2.0", | ||
"description": "A flexible semantic Api for handling multiple node cache drivers.", | ||
@@ -18,13 +18,13 @@ "main": "index.js", | ||
"devDependencies": { | ||
"@types/lru-cache": "^7.6.1", | ||
"@types/node": "^17.0.8", | ||
"@types/lru-cache": "^7.10.10", | ||
"@types/node": "^18.13.0", | ||
"@types/random-words": "^1.1.2", | ||
"japa": "^4.0.0", | ||
"lru-cache": "^7.7.2", | ||
"lru-cache": "^7.14.1", | ||
"node-cache": "^5.1.2", | ||
"nodemon": "^2.0.15", | ||
"prettier": "^2.6.1", | ||
"random-words": "^1.1.1", | ||
"ts-node": "^10.4.0", | ||
"typescript": "^4.5.4" | ||
"nodemon": "^2.0.20", | ||
"prettier": "^2.8.4", | ||
"random-words": "^1.2.1", | ||
"ts-node": "^10.9.1", | ||
"typescript": "^4.9.5" | ||
}, | ||
@@ -31,0 +31,0 @@ "engines": { |
@@ -1,5 +0,5 @@ | ||
export declare type BraveCacheProviderConfig = { | ||
export type BraveCacheProviderConfig = { | ||
expires?: true; | ||
}; | ||
export declare type BraveCacheProviderFunctions = { | ||
export type BraveCacheProviderFunctions = { | ||
get: (key: string) => any | Promise<any>; | ||
@@ -6,0 +6,0 @@ set: (key: string, value: any, ttl?: number) => any | Promise<any>; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
38010