flydrive-azure
TypeScript icon, indicating that this package has built-in type declarations

0.0.4 • Public • Published

Flydrive Azure Storage Driver

This is a Flydrive driver for the Azure Storage Service.

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'),
    }),
  },
})

Readme

Keywords

Package Sidebar

Install

npm i flydrive-azure

Weekly Downloads

67

Version

0.0.4

License

MIT

Unpacked Size

21.1 kB

Total Files

11

Last publish

Collaborators

  • necessarylion