
Security News
The AI Industry Is Betting on Open Weights
An open letter signed by 50 companies, from NVIDIA and Microsoft to Mistral and Hugging Face, urges Washington not to restrict open weight AI.
firebase-storage-kit
Advanced tools
Storage manager for Firebase Storage with uploads, progress tracking, batch uploads, and file query helpers.
Storage manager for Firebase Storage with uploads, progress tracking, batch uploads, and file query helpers.
With npm:
npm install firebase-storage-kit
Or with Yarn, pnpm, or Bun:
yarn add firebase-storage-kit
pnpm add firebase-storage-kit
bun add firebase-storage-kit
import { getStorage } from "firebase/storage";
import { StorageManager } from "firebase-storage-kit";
const storage = getStorage(app);
const manager = new StorageManager(storage);
const handle = manager.uploadFile(file, { path: `uploads/${file.name}` });
handle.on("progress", (upload) => {
console.log(upload.progress);
});
handle.on("success", (upload) => {
console.log(upload.downloadURL);
});
const batch = manager.uploadFiles(
files,
(file) => ({ path: `uploads/${file.name}` }),
{ concurrency: 3, continueOnError: true },
);
batch.on("success", (snapshot) => {
console.log(snapshot.completedCount, snapshot.failedCount);
});
const unsubscribe = manager.subscribe((state) => {
console.log(state.uploads, state.batches);
});
Uploads retry transient failures automatically (3 retries by default, exponential backoff with jitter). Pass retry: false to disable, or customize:
const handle = manager.uploadFile(file, {
path: `uploads/${file.name}`,
retry: { maxRetries: 5, initialDelayMs: 700 },
});
handle.on("retry", ({ attempt, maxAttempts, delayMs, error }) => {
console.log(`Retry ${attempt}/${maxAttempts} in ${delayMs}ms`, error.message);
});
const exists = await manager.exists("uploads/photo.jpg");
if (exists) {
const meta = await manager.getMetadata("uploads/photo.jpg");
const url = await manager.getDownloadURL("uploads/photo.jpg");
console.log(meta.size, url);
}
await manager.delete("uploads/old.jpg");
exists returns false only when the object is not found. Permission and network errors are thrown.
MIT
FAQs
Storage manager for Firebase Storage with uploads, progress tracking, batch uploads, and file query helpers.
The npm package firebase-storage-kit receives a total of 30 weekly downloads. As such, firebase-storage-kit popularity was classified as not popular.
We found that firebase-storage-kit demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
An open letter signed by 50 companies, from NVIDIA and Microsoft to Mistral and Hugging Face, urges Washington not to restrict open weight AI.

Security News
/Research
A fake corepack.org site is impersonating the Node.js tool and delivers an infostealer and proxyware to developers who download it.

Research
/Security News
A large-scale campaign abused GitHub Actions in compromised repositories to exploit CVE-2026-41940 in cPanel and WHM and steal server credentials.