Azure SDK for JavaScript

Comprehensive documentation for developing with Azure services using JavaScript.

Overview of the Azure SDK for JavaScript

Welcome to the official documentation for the Azure SDK for JavaScript. This SDK provides a comprehensive set of libraries to help developers build robust and scalable applications on Microsoft Azure using the JavaScript programming language.

Key Features

Getting Started

To begin using the Azure SDK for JavaScript, you typically need to:

  1. Install the SDK: Use npm or yarn to install the desired SDK packages. For example, to install the Azure Blob Storage SDK:
    npm install @azure/storage-blob
  2. Authenticate: Use the @azure/identity package to obtain credentials for authenticating with Azure. Common credential types include DefaultAzureCredential, ClientSecretCredential, and ManagedIdentityCredential.
  3. Create a Client: Instantiate a client object for the specific Azure service you want to interact with, passing your credentials and endpoint.
  4. Perform Operations: Call methods on the client to interact with Azure resources (e.g., upload a blob, query Cosmos DB documents).

Best Practices

Key Packages

Explore the documentation for individual service SDKs: