UNPKG

@depack/cache

Version:

Computes Necessary Information To Cache A Module, And Allows To Check If It Has Been Updated.

21 lines 926 B
{ "_depack.Cache": { "link": "https://github.com/dpck/cache#type-cache", "description": "Interface for the cache object." }, "_depack.CacheEntry": { "link": "https://github.com/dpck/cache#type-cacheentry", "description": "A single entry in the cache." }, "_depack.CacheResult": { "link": "https://github.com/dpck/cache#type-cacheresult", "description": "The return type of the program." }, "undefinedcompare": { "link": "https://github.com/dpck/cache#comparepath-stringcache-cachelog-function-result" }, "_depack.compare": { "link": "https://github.com/dpck/cache#async-comparepath-stringcache-cachelog-function-cacheresult", "description": "Checks the entry file's `mtime`, calculates its dependencies and compare against the values stored in the cache object. When the result is negative, the cache object must be updated with the result returned by the function." } }