Azure SDK for JavaScript
Welcome to the official documentation for the Azure SDK for JavaScript. This comprehensive suite of libraries allows you to build modern, cloud-powered applications with Azure services using JavaScript and TypeScript.
What is the Azure SDK for JavaScript?
The Azure SDK for JavaScript provides a consistent and idiomatic set of client libraries for interacting with Azure services. Whether you're building web applications, mobile backends, serverless functions, or enterprise solutions, these libraries empower you to leverage the full potential of Azure.
Get Started Quickly
Begin your journey with Azure by following these simple steps:
- Install the SDK: Use npm or yarn to install the specific client libraries you need. For example, to install the Azure Blob Storage client library:
ornpm install @azure/storage-blobyarn add @azure/storage-blob - Authenticate: Securely authenticate your application to Azure using one of our authentication methods, such as connection strings, shared access signatures (SAS), or Azure Active Directory (now Microsoft Entra ID).
- Interact with Services: Use the intuitive APIs to perform operations on Azure services.
For a detailed guide, please refer to the Getting Started section.
Key Features
- Idiomatic APIs: Designed to feel natural to JavaScript developers, with clear and concise methods.
- TypeScript Support: First-class support for TypeScript, providing static typing and enhanced developer productivity.
- Asynchronous Operations: Built with modern JavaScript asynchronous patterns (Promises, async/await).
- Comprehensive Coverage: A wide range of Azure services are supported, with more being added regularly.
- Cross-Platform: Works seamlessly in Node.js and browser environments.
- Robust Error Handling: Detailed error objects to help diagnose and resolve issues.
Explore Core Services
The Azure SDK for JavaScript offers client libraries for many core Azure services. Below are some of the most popular ones:
Popular Service SDKs
- Azure Storage: Interact with Blob Storage, File Storage, Queue Storage, and Table Storage.
- Azure Cosmos DB: Access and manage NoSQL data in Azure Cosmos DB.
- Azure Key Vault: Securely manage secrets, keys, and certificates.
- Azure Event Hubs: Ingest high-throughput telemetry data.
- Azure Service Bus: Build reliable cloud messaging solutions.
- Azure App Configuration: Centralize application settings and feature flags.
Visit the Services section in the sidebar for a complete list of supported services and their documentation.
Contributing
We welcome contributions to the Azure SDK for JavaScript! If you'd like to report a bug, request a feature, or contribute code, please visit our GitHub repository.