@egomobile/azure-storage

Classes and tools, that help connecting to Azure Storag(s).

Usage no npm install needed!

<script type="module">
  import egomobileAzureStorage from 'https://cdn.skypack.dev/@egomobile/azure-storage';
</script>

README

npm last build PRs Welcome

@egomobile/azure-storage

Classes and tools, that help connecting to Azure Storag(s), written in TypeScript.

Install

Execute the following command from your project folder, where your package.json file is stored:

npm install --save @egomobile/azure-storage

Usage

import {
  getBlobServiceClient,
  getContainerClient,
} from "@egomobile/azure-storage";

// setup the following environment variables:
//
// - AZURE_STORAGE_CONNECTION_1=my-connection
// - AZURE_STORAGE_CONNECTION_1_CONTAINER=my_container
// - AZURE_STORAGE_CONNECTION_1_URL=<YOUR-CONNECTION-URL>

// get clients of 'my-connection'
const blobClient = getBlobServiceClient("my-connection");
const containerClient = getContainerClient("my-connection");

Documentation

The API documentation can be found here.