@practicaloptimism/uniplexer
Version:
A multiplexer for 3rd party service providers and application protocols
11 lines (8 loc) • 294 B
text/typescript
import * as localforage from 'localforage'
import { LOCALFORAGE_DATASTORE } from './constants/database'
const rootStore: LocalForage = localforage.createInstance({ name: LOCALFORAGE_DATASTORE })
const storeTable: { [storeName: string]: LocalForage } = {}
export {
rootStore,
storeTable
}