localstorage-ttl
Advanced tools
Comparing version 2.0.4 to 2.0.5
@@ -1,5 +0,5 @@ | ||
type StoredData<T> = { | ||
interface StoredData<T> { | ||
value: T; | ||
expires_at?: number; | ||
}; | ||
} | ||
@@ -6,0 +6,0 @@ function set<T>(variable: string, value: T, ttl_ms?: number): void { |
{ | ||
"name": "localstorage-ttl", | ||
"version": "2.0.4", | ||
"version": "2.0.5", | ||
"description": "TS module to save data to localstorage with time to live. Data will expire after set time.", | ||
@@ -5,0 +5,0 @@ "main": "index.ts", |
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
4707