LocalForage.js 385 Bytes
import localforage from "localforage";

const subForage = localforage.createInstance({
  name: "localforage",
  storeName: "subjects",
});

const scheForage = localforage.createInstance({
  name: "localforage",
  storeName: "schedules",
});

const dataForage = localforage.createInstance({
  name: "localforage",
  storeName: "data",
});

export { subForage, scheForage, dataForage };