Skip to content
Browser localStorage/sessionStorage helper
TypeScript JavaScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
docs
src
test
.editorconfig
.eslintignore
.eslintrc.js
.gitignore
.prettierignore
.travis.yml
LICENSE.md
README.md
babel.config.js
jest.config.js
package.json
prettier.config.js
rollup.config.js
tsconfig.json
tslint.json

README.md

@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

You can’t perform that action at this time.