0.0.5 • Published 7 years ago

v-storage v0.0.5

Weekly downloads
2
License
MIT
Repository
github
Last release
7 years ago

Version Storage

Introduction

v-storage is a storage lib which support simple version control base on the package good-storage

Install

# npm
npm i v-storage

# yarn
yarn add v-storage

Usage

const version = 'v1'
const guarded = [
  'version',
  'guarded',
  'guard1',
  'guard2',
  'guard3',
  'guard4',
]
window.vStorage = new VersionStorage(version, guarded)
vStorage.set('key', 'value')

API

Almost the same as good-storage. Or read the source code directly.

0.0.5

7 years ago

0.0.4

7 years ago

0.0.3

7 years ago

0.0.2

7 years ago

0.0.1

7 years ago

0.1.1

8 years ago