Socket
Book a DemoInstallSign in
Socket

@intouchg/azure

Package Overview
Dependencies
Maintainers
2
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@intouchg/azure

Azure DevOps API integration for the Intouch Design System

latest
Source
npmnpm
Version
0.1.3
Version published
Weekly downloads
0
-100%
Maintainers
2
Weekly downloads
 
Created
Source

@intouchg/azure

Azure DevOps API integration for the Intouch Design System

Usage

This module currently exports a single class AzureUserConnection:

import { AzureUserConnection } from '@intouchg/azure'

// AzureUserConnection constructor takes an options object which contains
// the Azure DevOps instance URL, a username, a Personal Access Token, and
// an optional concurrency value (number of simultaneous requests to make)
const connection = new AzureUserConnection({
    instanceUrl: 'https://my-azure-instance.example.com',
    username: 'john.doe@example.com',
    accessToken: 'Z3wP8OiQDZ9VvPdgSNGe91RviDldRxyBCsfneLVbIIMDRVIqqnzN',
    concurrency: 15, // Default 10
})
const organizations = await connection.getOrganizations()
const gitRepos = await connection.getGitRepos()

Note: This module makes use of fetch due to the availability of polyfills, such as in Sketch.

Dev Documentation

  • Azure DevOps REST API 5.1 Reference

Note: Make sure you are viewing the appropriate version of the Azure DevOps REST documentation. At the time of writing, the correct version is Azure DevOps Server 2019 which uses version 5.1 of the REST API.

FAQs

Package last updated on 02 Mar 2022

Did you know?

Socket

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.

Install

Related posts