
Product
Introducing Tier 1 Reachability: Precision CVE Triage for Enterprise Teams
Socket’s new Tier 1 Reachability filters out up to 80% of irrelevant CVEs, so security teams can focus on the vulnerabilities that matter.
azure-devops-extension-sdk
Advanced tools
Report issues or make suggestions via the Developer Community portal:
https://developercommunity.visualstudio.com/AzureDevOps
New major version, v4.*.*
provides multiple module support to the SDK.
ES Module Support: SDK now supports ES (ECMAScript) modules in addition to the existing AMD (Asynchronous Module Definition) modules. You can now import SDK using the ES module syntax, which provides performance improvements and reduces the application size.
Backward Compatibility for AMD Modules: Existing support for AMD modules remains intact. If your project is using AMD modules, you can continue to use them as before without any changes.
If you're using AMD modules, you can continue to import SDK using the require
function:
require(['azure-devops-extension-sdk'], function(SDK) {
// Use the module here
});
For ES modules, you can import our modules using the import
statement:
import * as SDK from 'azure-devops-extension-sdk';
// Use the module here
See the Develop a web extension for Azure DevOps documentation for instructions on getting started with a new extension. You can also refer to the azure-devops-extension-sample repository as a working reference.
Client SDK for developing Azure DevOps extensions.
The client SDK enables web extensions to communicate to the host frame. It can be used to:
A full API reference of can be found here.
See the Develop a web extension for Azure DevOps documentation for instructions on getting started with a new extension. You can also refer to the azure-devops-extension-sample repository as a working reference.
azure-devops-extension-sdk
to the list of dependencies in your package.jsonimport * as SDK from "azure-devops-extension-sdk"
to your TypeScript codeWhen you have rendered your extension content, call SDK.init()
. Your extension content will not be displayed until you have notified the host frame that you are ready. There are two options for doing this:
SDK.init()
with no loaded
optionSDK.init({ loaded: false })
to start initializing the SDK. Then call SDK.notifyLoadSucceeded()
once you have finished your initial rendering. This allows you to make other SDK calls while your content is still loading (and hidden behind a spinner).Example:
import * as SDK from "azure-devops-extension-sdk";
SDK.init();
A full API reference of can be found here.
This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.
FAQs
Azure DevOps web extension JavaScript library.
The npm package azure-devops-extension-sdk receives a total of 9,309 weekly downloads. As such, azure-devops-extension-sdk popularity was classified as popular.
We found that azure-devops-extension-sdk demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Socket’s new Tier 1 Reachability filters out up to 80% of irrelevant CVEs, so security teams can focus on the vulnerabilities that matter.
Research
/Security News
Ongoing npm supply chain attack spreads to DuckDB: multiple packages compromised with the same wallet-drainer malware.
Security News
The MCP Steering Committee has launched the official MCP Registry in preview, a central hub for discovering and publishing MCP servers.