UNPKG

grind-cache

Version:

Cache provider for Grind, powered by node-cache-manager

25 lines (17 loc) 1.82 kB
<p align="center"><a href="https://grind.rocks"><img src="https://assets.grind.rocks/docs/img/grind-cache.svg" alt="Grind Cache" /></a></p> <p align="center"> <a href="https://github.com/grindjs/grindjs/actions"><img src="https://github.com/grindjs/grindjs/workflows/build/badge.svg" alt="Build Status"></a> <a href="https://www.npmjs.com/package/grind-cache"><img src="https://img.shields.io/npm/dt/grind-cache.svg" alt="Total Downloads"></a> <a href="https://www.npmjs.com/package/grind-cache"><img src="https://img.shields.io/npm/v/grind-cache.svg" alt="Latest Version"></a> <a href="https://chat.grind.rocks"><img src="https://chat.grind.rocks/badge.svg" alt="Slack"></a> <a href="https://www.npmjs.com/package/grind-cache"><img src="https://img.shields.io/npm/l/grind-cache.svg" alt="License"></a> <a href="https://github.com/prettier/prettier"><img src="https://img.shields.io/badge/code_style-prettier-ff69b4.svg" alt="code style: prettier"></a> <a href="https://lerna.js.org/"><img src="https://img.shields.io/badge/maintained%20with-lerna-cc00ff.svg" alt="lerna"></a> <a href="http://commitizen.github.io/cz-cli/"><img src="https://img.shields.io/badge/commitizen-friendly-brightgreen.svg" alt="Commitizen friendly"></a> </p> # Grind Cache Grind Cache is a thin wrapper around [node-cache-manager](https://github.com/BryanDonovan/node-cache-manager/) for simple integration with [Grind](https://github.com/grindjs/framework). Once setup, you’ll have a quick and easy to use key-value store in Grind that you can access via `app.cache`. ## Documentation Full documentation for Grind Cache is available on the [Grind website](https://grind.rocks/docs/guides/cache). ## License Grind was created by [Shaun Harrison](https://github.com/shnhrrsn) and is made available under the [MIT license](LICENSE).