@shutter/metacache
v0.4.0
Published
Managing persistent cache data on disk, like the snapshot sets cache.
Downloads
5
Readme
@shutter/metacache
Managing persistent cache data on disk, like the snapshot sets cache.
API
getSnapshotSetsCachePath(): string
openJSONCache<Value = any>(directoryPath: string): Promise<JSONCache>
JSONCache<Value>
interface JSONCache<Value> {
save (key: string, content: Value): Promise<any>
read (key: string): Promise<Value>
has (key: string): Promise<boolean>
}