localstorage-ttl
Advanced tools
Comparing version 2.0.3 to 2.0.4
@@ -1,4 +0,1 @@ | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.ls = void 0; | ||
function set(variable, value, ttl_ms) { | ||
@@ -35,3 +32,3 @@ let data = { | ||
} | ||
exports.ls = { set, get, remove }; | ||
exports.default = exports.ls; | ||
export const ls = { set, get, remove }; | ||
export default ls; |
{ | ||
"name": "localstorage-ttl", | ||
"version": "2.0.3", | ||
"version": "2.0.4", | ||
"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", |
{ | ||
"compilerOptions": { | ||
"target": "ES6", | ||
"module": "CommonJS", | ||
"module": "esnext", | ||
"lib": [ | ||
@@ -6,0 +6,0 @@ "ES6", |
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
4705
94