1.0.5 • Published 1 year ago

imba-uni-cache v1.0.5

Weekly downloads
-
License
ISC
Repository
-
Last release
1 year ago

安装

# pnpm
pnpm i imba-uni-cache

使用

import { setCache, getCache, delCache, getCacheLoca, clearCache, comCache } from 'imba-uni-cache'
setCache('key', 'val', time)
getCache('key')
delCache('key')
setCacheLoca('key', 'val')
getCacheLoca('key')
comCache('key')

或者

import * as imbaCache from 'imba-cache'
imbaCache.setVariable(uni)
imbaCache.setCache('key', 'val', time)
imbaCache.getCache('key')
imbaCache.delCache('key')
imbaCache.setCacheLoca('key', 'val')
imbaCache.getCacheLoca('key')
imbaCache.comCache('key')
1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago