Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

localstorage-ttl

Package Overview
Dependencies
Maintainers
0
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

localstorage-ttl - npm Package Compare versions

Comparing version 2.0.3 to 2.0.4

7

dist/index.js

@@ -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",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc