memo-storage
Storage based cache service
API
configure(options: ConfigureOptions): void
- set initial options for the instancems(parameters: Parameters): Result
- memo storage instance
Types
;
Quick start
npm install memo-storage
// storage.js { thisdatakey = value; } { return thisdatakey; } { delete thisdatakey; } data: {};
// example.js;; ; const foo = ; ; // { data: 1, expire: 1572288209544 } from promise; // { data: 1, expire: 1572288209544 } from cache