Socket
Book a DemoInstallSign in
Socket

@analytics/global-storage-utils

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@analytics/global-storage-utils

Tiny global storage utility library

Source
npmnpm
Version
0.1.0
Version published
Weekly downloads
189K
138.31%
Maintainers
1
Weekly downloads
 
Created
Source

Global Storage Utilities

[Tiny](https://bundlephobia.com/result?p=@analytics/Global Storage-utils) Global Storage utilities library for analytics & whatever else 🌈

This will work with analytics or as a standalone import in your code.

Live demo

How to install

Install @analytics/globalstorage-utils from npm.

npm install @analytics/Global Storage-utils

API

Below is the api for @analytics/globalstorage-utils. These utilities are tree-shakable.

import { get, set, remove } from '@analytics/globalstorage-utils'

set('key', 'value')

const val = get('key')
console.log(val) // 'value'

remove('key')

Keywords

analytics

FAQs

Package last updated on 19 Jul 2021

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