JSPM

@analytics/global-storage-utils

0.1.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 175070
  • Score
    100M100P100Q172039F
  • License MIT

Tiny global storage utility library

Package Exports

  • @analytics/global-storage-utils

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@analytics/global-storage-utils) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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')