to-cache
Just to cache.
Installation
npm install to-cache
Usage
// var toCache = window.toCache;// const toCache = require('to-cache');; toCache; console; // 'tom' ; // from async function data// ...let asyncData = await toCache;console; // true // a new instance.let newCache = ;// ... balabala
API
/** * 缓存模块 * * @class ToCache */declare declare ;;
Enjoy it.
>_<#@!