npm

Does your artifact manager get in the way? Join us on Oct. 8 at 10am PT, to discuss how npm can help.Sign up »

@ghlandy/storage

1.1.0 • 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

2

version

1.1.0

license

MIT

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability