@void-cache/storage-like
TypeScript icon, indicating that this package has built-in type declarations

0.1.3 • Public • Published

@void-cache/storage-like

npm (scoped)

void-cache 的indexDB 实现

🇨🇳国内用户可访问国内镜像

创建一个新实例使用

Demo

import {createStorageLikeCache} from '@void-cache/storage-like'

export const store = createStorageLikeCache({
  storageLike: localStorage,
})

store.get('foo')
store.set('foo', 'bar')
store.has('foo')
store.clear()
store.remove('foo')

Readme

Keywords

none

Package Sidebar

Install

npm i @void-cache/storage-like

Weekly Downloads

0

Version

0.1.3

License

MIT

Unpacked Size

4.11 kB

Total Files

6

Last publish

Collaborators

  • whitekite