🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis
Socket
Book a DemoInstallSign in
Socket

aggregation-repository-provider

Package Overview
Dependencies
Maintainers
1
Versions
545
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

aggregation-repository-provider

aggregates several repository providers into one

Source
npmnpm
Version
2.0.39
Version published
Weekly downloads
833
-42.79%
Maintainers
1
Weekly downloads
 
Created
Source

npm Greenkeeper semantic-release styled with prettier Build Status codecov.io Coverage Status Known Vulnerabilities GitHub Issues Stories in Ready Dependency Status devDependency Status docs XO code style downloads Commitizen friendly

aggregation-repository-provider

aggregates several repository providers into one

API

Table of Contents

AggregationProvider

Extends Provider

Combines several repository providers into one

Parameters

  • providers Array<Provider> (optional, default [])

Properties

  • providers Array<Provider>

Examples

const provider = new AggregationProvider([
    new GithubProvider(),
  new BitbucketProvider()
]);
 const repository1 = await provider.repository(
   'https://github.com/arlac77/aggregation-repository-provider'
 );
const repository2 = await provider.repository(
 'https://arlac77@bitbucket.org/arlac77/sync-test-repository.git'
);
// repository1 -> github
// repository2 -> bitbucket

repository

Retrieve named repository in one of the given providers. They are consulted in the order of the propviders given to the constructor

Parameters

Returns Primise<Repository>

repositoryGroup

Retrieve named repository group in one of the given providers. They are consulted in the order of the propviders given to the constructor

Parameters

Returns Primise<RepositoryGroup>

install

With npm do:

npm install aggregation-repository-provider

license

BSD-2-Clause

Keywords

repository-provider

FAQs

Package last updated on 27 Nov 2018

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