@blued-core/cache

一个提供给`client`使用的缓存组件。 实现自[cache-intl](https://www.npmjs.com/package/@blued-core/cache-intl)。

Usage no npm install needed!

<script type="module">
  import bluedCoreCache from 'https://cdn.skypack.dev/@blued-core/cache';
</script>

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'))