EN

@core / storage

1.0.1 ▾
verifiedMIT
GitHub

File storage for S3-compatible buckets (R2, S3, MinIO) and local disk, with signed direct uploads

Code11 filesContext~697 tokensscan passed

The exact tree that will be injected, after .genpmignore. Pinned to

src/lib/storage/index.tsread-only · 5b6a9cc
// @core/storage — API pública. Importa desde aquí; rutas para los drivers local/memory en adapters/.
export { assertSafeKey, generateKey, isPublicKey, StorageError } from './keys.ts';
export { handleLocalDownload, handleLocalUpload } from './local-routes.ts';
export { type Backend, backendStorage, diskBackend, type LocalConfig, memoryBackend } from './memory.ts';
export type {
  ObjectInfo,
  PresignedUpload,
  PresignUploadOptions,
  PutBody,
  PutOptions,
  StorageProvider,
  StoredObject,
} from './provider.ts';
export { type S3Config, s3Storage } from './s3.ts';
export { getStorage, setStorage, storageFromEnv } from './storage.ts';

Report @core/storage

Sign in with GitHub to report a package.