---
title: "createMemoryFileStorage"
source: "https://github.com/remix-run/remix/blob/8905f3943706e1f53696ab83e70a84873cabfc90/packages/file-storage/src/lib/backends/memory.ts#L8"
---

# createMemoryFileStorage

## Summary

Creates a simple, in-memory implementation of the [`FileStorage`](/file-storage/interface/FileStorage/) interface.

## Signature

```ts
function createMemoryFileStorage(): FileStorage<File>

```

## Returns

A new in-memory [`FileStorage`](/file-storage/interface/FileStorage/) instance