npm.io
3.0.4 • Published 2 years ago

@types/superagent-proxy

Licence
MIT
Version
3.0.4
Deps
1
Size
3 kB
Vulns
0
Weekly
0
Stars
51.4K

Installation

npm install --save @types/superagent-proxy

Summary

This package contains type definitions for superagent-proxy (https://github.com/TooTallNate/superagent-proxy#readme).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/superagent-proxy.

index.d.ts

import { SuperAgentStatic } from "superagent";

declare module "superagent" {
    interface Request {
        proxy(url: string): this;
    }
}

declare function superagentProxy(s: SuperAgentStatic): void;

export = superagentProxy;

Additional Details

Credits

These definitions were written by Daniel Imhoff, and Roh Rajendra.