0.1.5 • Published 1 year ago

@flystorage/azure-storage-blob v0.1.5

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

Flystorage adapter for Azure Storage Blob

This package contains the Flystorage adapter for Azure Storage Blob

Installation

Install all the required packages

npm install --save @flystorage/file-storage @flystorage/azure-storage-blob @azure/storage-blob

Usage

import {FileStorage} from '@flystorage/file-storage';
import {AzureStorageBlobStorageAdapter} from '@flystorage/azure-storage-blob';

const blobService = BlobServiceClient.fromConnectionString(process.env.AZURE_DSN!);
const container = blobService.getContainerClient('flysystem');
const adapter = new AzureStorageBlobStorageAdapter(container);
const storage = new FileStorage(adapter);

⚠️ Always use the FileStorage, it is essential for security and a good developer experience. Do not use the adapter directly.

0.1.4

1 year ago

0.1.3

1 year ago

0.1.5

1 year ago

0.1.2

1 year ago

0.1.1

1 year ago

0.1.0

2 years ago

0.0.9

2 years ago