Storage 🧳

Storage could potentially be given a better name. Storage is used as a simple abstraction over browser caching. It is essentially a single place to define any key value pair stored in the browser cache. This makes it easier to access cached data across different libraries/packages.

Usage

import { getTransactions } from '@fingermarkglobal/storage';

(async (): void => {
  const transactions = await getTransactions('restaurant/transactions');
  console.log(transactions);
})();