
Product
Introducing Socket Firewall Enterprise: Flexible, Configurable Protection for Modern Package Ecosystems
Socket Firewall Enterprise is now available with flexible deployment, configurable policies, and expanded language support.
expirable-storage
Advanced tools
Expirable data storage based on localStorage and sessionStorage.
To get a local copy up and running follow these simple steps.
Be sure you use latest stable version of npm:
npm install npm@latest -g
npm install expirable-storage
# Or
yarn add expirable-storage
import {
expirableLocalStorage,
expirableSessionStorage,
} from "expirable-storage";
const expires = 900; // 900 seconds (15 minutes)
expirableLocalStorage.setItem("key1", "value1", expires);
expirableLocalStorage.getItem("key1");
expirableSessionStorage.setItem("key2", "value2", expires);
expirableSessionStorage.getItem("key2");
See the open issues for a list of proposed features (and known issues).
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated. For detailed contributing guidelines, please see CONTRIBUTING.md
Distributed under the MIT License. See LICENSE for more information.
Valentin Podkamennyi - @vpodk
Project Link: https://github.com/wayfair-incubator/expirable-storage
This template was adapted from https://github.com/othneildrew/Best-README-Template.
[1.0.0] - 2022-02-14
FAQs
Expirable data storage based on localStorage and sessionStorage.
We found that expirable-storage demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Product
Socket Firewall Enterprise is now available with flexible deployment, configurable policies, and expanded language support.

Security News
Open source dashboard CNAPulse tracks CVE Numbering Authorities’ publishing activity, highlighting trends and transparency across the CVE ecosystem.

Product
Detect malware, unsafe data flows, and license issues in GitHub Actions with Socket’s new workflow scanning support.