In-Memory
This package contains the Flystorage adapter that uses only memory.
Installation
Install all the required packages
npm install --save @flystorage/file-storage @flystorage/in-memory
Setup
import {FileStorage} from '@flystorage/file-storage';import {InMemoryStorageAdapter} from '@flystorage/in-memory';
const adapter = new InMemoryStorageAdapter();const storage = new FileStorage(adapter);