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

aggregation-repository-provider

Package Overview
Dependencies
Maintainers
1
Versions
497
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

  • 2.0.6
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
336
increased by24.91%
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

FAQs

Package last updated on 02 Sep 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

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