@zero-transfer/azure-blob
v0.4.7
Published
Azure Blob Storage with SAS / AAD auth and staged-block uploads.
Maintainers
Readme
@zero-transfer/azure-blob
Azure Blob Storage with SAS / AAD auth and staged-block uploads.
Install
npm install @zero-transfer/azure-blobOverview
Azure Blob Storage provider - SAS-token or AAD bearer auth, container-scoped paginated listings, HEAD-based stat, ranged downloads, staged-block (multipart) uploads via Put Block + Put Block List with single-shot fallback under threshold, and content-md5 exposed as checksum. Wire OAuth refresh via createOAuthTokenSecretSource().
Usage
import {
createTransferClient,
uploadFile,
downloadFile,
createAzureBlobProviderFactory,
} from "@zero-transfer/azure-blob";Public surface
This package publishes a narrowed surface of 3 exports. These symbols are also available from @zero-transfer/sdk; the table below links into the full API reference:
| Symbol | Kind | Notes |
| ------------------------------------------------------------------------------------------------------------------------------------------------- | --------- | ------------------ |
| createAzureBlobProviderFactory | Function | See API reference. |
| AzureBlobProviderOptions | Interface | See API reference. |
| AzureBlobMultipartOptions | Interface | See API reference. |
Examples
| Example | What it shows |
| -------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------- |
| examples/multi-cloud-orchestration.ts | Multi-cloud orchestration showcase. |
Documentation
License
MIT © Tony Wiedman
