Classes and tools, that help connecting to Azure Storag(s), written in TypeScript.
Execute the following command from your project folder, where your package.json
file is stored:
npm install --save @egomobile/azure-storage
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");
The API documentation can be found here.
Generated using TypeDoc