0.4.0 • Published 6 years ago

@shutter/metacache v0.4.0

Weekly downloads
1
License
MIT
Repository
github
Last release
6 years ago

@shutter/metacache NPM Version

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>
}
0.4.0

6 years ago

0.3.0

6 years ago

0.2.0

6 years ago

0.1.0

6 years ago