@egomobile/azure-storage
v0.2.1
Published
Classes and tools, that help connecting to Azure Storag(s).
Downloads
15
Readme
@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.