Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

@ghlandy/storage

NPM version Build Status codecov

A set of helper deal with browser localStorage and sessionStorage, which used frequently.

Usage

import storage from '@ghlandy/storage';

storage.localSet('key', { a: 1, b: 2 });
storage.localGet('key'); // { a: 1, b: 2 }

See Docs for api details.

License

This tool is lecensed under the MIT