Logo for flydrive-azure

flydrive-azure

3rd Party
Flydrive - Azure blob storage driver
Storage
Created Feb 20, 2025 Updated Jul 4, 2025

Flydrive - Azure Blob Storage Driver

This is a Flydrive driver for the Azure Blob Storage.

Installation

npm install flydrive-azure

Usage

import { AzureDriver } from 'flydrive-azure'

const driver = new AzureDriver({
  connectionString: process.env.AZURE_STORAGE_CONNECTION_STRING,
  container: 'my-container',
})

AdonisJs V6 Usage

import { AzureService } from 'flydrive-azure'

const driveConfig = defineConfig({
  default: env.get('DRIVE_DISK', 'azure'),

  services: {

    // other driver config
    ....

    azure: AzureService({
      connectionString: env.get('AZURE_BLOB_STORAGE_CONN_STRING'),
      container: env.get('AZURE_BLOB_STORAGE_CONTAINER'),
    }),
  },
})