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

@global-savings-group/extension-storage

Package Overview
Dependencies
Maintainers
2
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@global-savings-group/extension-storage

Cross-browser storage service for browser extensions

  • 0.2.2
  • npm
  • Socket score

Version published
Weekly downloads
45
increased by200%
Maintainers
2
Weekly downloads
 
Created
Source

Cross-browser storage service for browser extensions

Usage

import { localStorageService, sessionStorageService } from '@global-savings-group/extension-storage';

setTimeout(async () => {
  const localData = await localStorageService.get('key') ?? 1000;
  await localStorageService.set('key', localData + 1);
  console.log(`Local data: ${localData}`);

  const sessionData = await sessionStorageService.get('key') ?? 2000;
  await sessionStorageService.set('key', sessionData + 1);
  console.log(`Session data: ${sessionData}`);
}, 5000);

FAQs

Package last updated on 04 Jan 2024

Did you know?

Socket

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.

Install

Related posts

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