@blued-core/cache
TypeScript icon, indicating that this package has built-in type declarations

1.0.6 • Public • Published

一个提供给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'))

/@blued-core/cache/

    Package Sidebar

    Install

    npm i @blued-core/cache

    Weekly Downloads

    2

    Version

    1.0.6

    License

    ISC

    Unpacked Size

    9.23 kB

    Total Files

    7

    Last publish

    Collaborators

    • jarvan8888
    • jiasm
    • ryli
    • nieweidong
    • fengcang2020