0.6.0 • Published 6 months ago
@xpr/devcache v0.6.0
@xpr/devcache
Node.js client for the DevCache service.
Installation
npm install @xpr/devcache
Usage
import wrap from '@xpr/devcache';
function expensiveOperation() {
// Do something expensive
}
const cache = wrap('app', 'name', () => expensiveOperation());