
Company News
Socket Joins New OpenJS Program to Fund Node.js Security Work
Socket is joining the OpenJS Security Stewardship Program to fund Node.js vulnerability research, maintainer remediation, and security releases.
@galaxy-stack/orbit-file-storage
Advanced tools
File storage for Orbit — local and memory drivers with a pluggable StorageDriver interface (S3-ready)
File storage for Orbit — local and memory drivers with a pluggable StorageDriver interface (S3-ready).
Part of the Orbit framework — a NestJS-style backend framework for Bun.
bun add @galaxy-stack/orbit-file-storage
import { StorageModule, StorageService, Module, Injectable } from '@galaxy-stack/orbit-file-storage';
@Module({
imports: [StorageModule.forRoot({ driver: 'local', root: './uploads' })],
})
export class AppModule {}
@Injectable()
export class UploadService {
constructor(private storage: StorageService) {}
async saveAvatar(userId: string, bytes: Uint8Array) {
await this.put(`avatars/${userId}.png`, bytes);
}
async put(key: string, data: string | Uint8Array) { return this.driverPut(key, bytes); }
private driverPut(key: string, data: Uint8Array) { return this.put(key, data); }
}
API: put, get, getText, getJson, putJson, delete, exists, list, copy, size. Keys are validated against traversal (../, absolute paths).
Implement the StorageDriver interface (S3, GCS, …) and pass { driver: 'custom', driverInstance }.
MIT
FAQs
File storage for Orbit — local and memory drivers with a pluggable StorageDriver interface (S3-ready)
The npm package @galaxy-stack/orbit-file-storage receives a total of 636 weekly downloads. As such, @galaxy-stack/orbit-file-storage popularity was classified as not popular.
We found that @galaxy-stack/orbit-file-storage 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.

Company News
Socket is joining the OpenJS Security Stewardship Program to fund Node.js vulnerability research, maintainer remediation, and security releases.

Security News
Two compromised GitHub Actions were re-enabled with malicious tags intact, exposing thousands of downstream repositories to Mini Shai-Hulud.

Research
/Security News
A malicious Firefox extension fetches its payload after installation to evade detection, steal Google session cookies, and automate account takeover.