egg-ts-cache

注解式缓存

Usage no npm install needed!

<script type="module">
  import eggTsCache from 'https://cdn.skypack.dev/egg-ts-cache';
</script>

README

egg-ts-cache

NPM version build status Test coverage David deps Known Vulnerabilities npm download

Install

$ npm i egg-ts-cache --save

Usage

// {app_root}/config/plugin.js
exports.tsCache = {
  enable: true,
  package: 'egg-ts-cache',
};

Configuration

// {app_root}/config/config.default.js
exports.tsCache = {
};

see config/config.default.js for more detail.

Example

Questions & Suggestions

Please open an issue here.

License

MIT