Factory method that returns a new Date instance on each invocation.
withExpiration
export const store = stores.utils.withExpiration(stores.localStore(), function sevenDays() { const now = Date.now(); const days = 24 * 60 * 60 * 1000; return new Date(now + 7 * days);});
A Date object.
Factory method that returns a new Date instance on each invocation.
withExpiration