Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@backstage/integration

Package Overview
Dependencies
Maintainers
3
Versions
941
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@backstage/integration

Helpers for managing integrations towards external systems

  • 0.0.0-nightly-20240910023018
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
96K
decreased by-26.22%
Maintainers
3
Weekly downloads
 
Created

What is @backstage/integration?

@backstage/integration is a package that provides a set of utilities and integrations for working with various external systems and services within the Backstage ecosystem. It helps in managing integrations with source control systems, cloud providers, and other external services.

What are @backstage/integration's main functionalities?

GitHub Integration

This feature allows you to integrate with GitHub, enabling you to resolve repository URLs and interact with GitHub repositories using the provided configuration.

const { GithubIntegration } = require('@backstage/integration');
const config = { host: 'github.com', token: 'your-github-token' };
const githubIntegration = GithubIntegration.fromConfig(config);
const repoUrl = 'https://github.com/your-org/your-repo';
const repoDetails = githubIntegration.resolveUrl({ url: repoUrl });
console.log(repoDetails);

GitLab Integration

This feature allows you to integrate with GitLab, enabling you to resolve repository URLs and interact with GitLab repositories using the provided configuration.

const { GitlabIntegration } = require('@backstage/integration');
const config = { host: 'gitlab.com', token: 'your-gitlab-token' };
const gitlabIntegration = GitlabIntegration.fromConfig(config);
const repoUrl = 'https://gitlab.com/your-org/your-repo';
const repoDetails = gitlabIntegration.resolveUrl({ url: repoUrl });
console.log(repoDetails);

Bitbucket Integration

This feature allows you to integrate with Bitbucket, enabling you to resolve repository URLs and interact with Bitbucket repositories using the provided configuration.

const { BitbucketIntegration } = require('@backstage/integration');
const config = { host: 'bitbucket.org', token: 'your-bitbucket-token' };
const bitbucketIntegration = BitbucketIntegration.fromConfig(config);
const repoUrl = 'https://bitbucket.org/your-org/your-repo';
const repoDetails = bitbucketIntegration.resolveUrl({ url: repoUrl });
console.log(repoDetails);

Azure DevOps Integration

This feature allows you to integrate with Azure DevOps, enabling you to resolve repository URLs and interact with Azure DevOps repositories using the provided configuration.

const { AzureIntegration } = require('@backstage/integration');
const config = { host: 'dev.azure.com', token: 'your-azure-token' };
const azureIntegration = AzureIntegration.fromConfig(config);
const repoUrl = 'https://dev.azure.com/your-org/your-repo';
const repoDetails = azureIntegration.resolveUrl({ url: repoUrl });
console.log(repoDetails);

Other packages similar to @backstage/integration

Keywords

FAQs

Package last updated on 10 Sep 2024

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc