Socket
Book a DemoInstallSign in
Socket

@types/global-agent

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/global-agent

TypeScript definitions for global-agent

Source
npmnpm
Version
2.1.2
Version published
Maintainers
1
Created
Source

Installation

npm install --save @types/global-agent

Summary

This package contains type definitions for global-agent (https://github.com/gajus/global-agent#readme).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/global-agent.

index.d.ts

export interface ProxyAgentConfigurationInputType {
    environmentVariableNamespace?: string | undefined;
    forceGlobalAgent?: boolean | undefined;
    socketConnectionTimeout?: number | undefined;
}

export interface ProxyAgentConfigurationType {
    readonly HTTP_PROXY: string | null;
    readonly HTTPS_PROXY: string | null;
    readonly NO_PROXY: string | null;
}

export function bootstrap(configurationInput?: ProxyAgentConfigurationInputType): boolean;
export function createGlobalProxyAgent(
    configurationInput: ProxyAgentConfigurationInputType,
): ProxyAgentConfigurationType;

Additional Details

  • Last updated: Wed, 18 Oct 2023 01:17:35 GMT
  • Dependencies: none

Credits

These definitions were written by Jamie Magee.

FAQs

Package last updated on 18 Oct 2023

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