一个提供给client
使用的缓存组件。
实现自cache-intl。
install
npm i @blued-core/cache
usage
import Cache from '@blued-core/cache'
const cache = new Cache()
cache.set('text', 'Hello World')
console.log(cache.has('text'))
console.log(cache.get('text'))
一个提供给client
使用的缓存组件。
实现自cache-intl。
npm i @blued-core/cache
import Cache from '@blued-core/cache'
const cache = new Cache()
cache.set('text', 'Hello World')
console.log(cache.has('text'))
console.log(cache.get('text'))
npm i @blued-core/cache
4
1.0.6
ISC
9.23 kB
7