firebase-storage-kit

Installation

Install firebase-storage-kit and its Firebase peer dependency.

Install firebase-storage-kit together with firebase. The library does not include Firebase — your app must provide it.

npm

npm install firebase firebase-storage-kit

pnpm

pnpm add firebase firebase-storage-kit

Yarn

yarn add firebase firebase-storage-kit

Bun

bun add firebase firebase-storage-kit

TypeScript

TypeScript is supported out of the box. Types ship with the package — no @types package needed.

Verify the import

import { StorageManager } from "firebase-storage-kit";
import { getStorage } from "firebase/storage";

const manager = new StorageManager(getStorage(app));

If this compiles and your Firebase app is initialized, you are ready to upload.

Next step

On this page