{"library":"cachewrap","type":"library","category":null,"description":"A minimal utility to cache the return value of a function based on its arguments. v0.0.1 is pre-1.0.0 with an unstable API. It provides a simple way to memoize function calls with an optional custom hash function and a .refresh method to bypass cache. No dependencies. Not actively maintained; last update long ago.","language":"javascript","status":"deprecated","version":"0.0.1","tags":["javascript","cache"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install cachewrap","imports":["import createCacheWrap from 'cachewrap'","const createCacheWrap = require('cachewrap')","const wrapped = cacheWrap(fn)"]},{"cmd":"yarn add cachewrap","imports":[]},{"cmd":"pnpm add cachewrap","imports":[]}],"homepage":"https://github.com/jakobrosenberg/cachewrap#readme","github":"ssh://git@github.com/jakobrosenberg/cachewrap","docs":null,"changelog":null,"pypi":null,"npm":"cachewrap","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}