@flystorage/azure-storage-blob
TypeScript icon, indicating that this package has built-in type declarations

0.1.3 • Public • Published

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.

Package Sidebar

Install

npm i @flystorage/azure-storage-blob

Weekly Downloads

338

Version

0.1.3

License

MIT

Unpacked Size

22 kB

Total Files

10

Last publish

Collaborators

  • frankdejonge