1.1.1 • Published 3 years ago
@lc7457/storage v1.1.1
安装
yarn add @lc7457/storage
#OR
npm install -S @lc7457/storage
使用
import Storage from "@lc7457/storage"
const storage = new Storage({
adaptor: 'uniapp'
})
//
storage.get(key)
storage.set(key, value, ttl)