Skip to content

Latest commit

 

History

History
18 lines (15 loc) · 297 Bytes

README.md

File metadata and controls

18 lines (15 loc) · 297 Bytes

Local Cache Store

a cache store based on localStorage

install

npm install local-cache-store
yarn add local-cache-store

api

constructor(storeKey: string)

setItem(key: string, val: object, [expires: number])

getItem(key: string)

clearItem(key: string)

clear()