Options
All
  • Public
  • Public/Protected
  • All
Menu

Package plugin-http

@yarnpkg/plugin-http

This plugin adds support for downloading packages through HTTP.

Install

This plugin is included by default in Yarn.

Variables

Const PROTOCOL_REGEXP

PROTOCOL_REGEXP: RegExp = /^https?:/

Const TARBALL_REGEXP

TARBALL_REGEXP: RegExp = /^[^?]*\.(?:tar\.gz|tgz)(?:\?.*)?$/

Object literals

Const plugin

plugin: object

fetchers

fetchers: TarballHttpFetcher[] = [TarballHttpFetcher,]

resolvers

resolvers: TarballHttpResolver[] = [TarballHttpResolver,]

Generated using TypeDoc