Miss any of our Open RFC calls?Watch the recordings here! »

@ghlandy/storage

1.1.1 • Public • Published

@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

Install

npm i @ghlandy/storage

DownloadsWeekly Downloads

1

Version

1.1.1

License

MIT

Unpacked Size

6.87 kB

Total Files

9

Last publish

Collaborators

  • avatar