README
一个提供给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](https://www.npmjs.com/package/@blued-core/cache-intl)。
<script type="module">
import bluedCoreCache from 'https://cdn.skypack.dev/@blued-core/cache';
</script>
一个提供给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'))