450 B
450 B
@the-order/storage
Storage abstraction for S3/GCS with WORM mode support.
Usage
import { StorageClient, WORMStorage } from '@the-order/storage';
const storage = new StorageClient(config);
const wormStorage = new WORMStorage(config);
await storage.upload({ key: 'file.txt', content: 'Hello' });
Features
- S3 and GCS support
- WORM (Write Once Read Many) mode
- Presigned URL generation
- Object lifecycle management