# `@jupyterlite/localforage` ## Variables ### `ILocalForage` > > `Const` **`ILocalForage`**: `Token`<[`ILocalForage`](jupyterlite_localforage.md#ilocalforage)\> The token for the localforage singleton. #### Defined in [packages/localforage/src/tokens.ts:11](https://github.com/jupyterlite/jupyterlite/blob/999c7f0/packages/localforage/src/tokens.ts#L11) [packages/localforage/src/tokens.ts:18](https://github.com/jupyterlite/jupyterlite/blob/999c7f0/packages/localforage/src/tokens.ts#L18) ## Functions ### `ensureMemoryStorage` > > **`ensureMemoryStorage`**(`theLocalforage`): `Promise`<`void`\> Ensure a localforage singleton has had the memory storage driver installed #### Parameters | Name | Type | | :------ | :------ | | `theLocalforage` | `LocalForage` | #### Returns `Promise`<`void`\> #### Defined in [packages/localforage/src/memory.ts:11](https://github.com/jupyterlite/jupyterlite/blob/999c7f0/packages/localforage/src/memory.ts#L11)