npm.io
5.2.5 • Published 11 months ago

@types/superagent-bunyan

Licence
MIT
Version
5.2.5
Deps
2
Size
3 kB
Vulns
0
Weekly
0
Stars
51.4K

Installation

npm install --save @types/superagent-bunyan

Summary

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

Details

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

index.d.ts

import Logger = require("bunyan");
import { Plugin } from "superagent";

declare function superagentLogger(logger: Logger, requestId?: string, extra?: object): Plugin;

export = superagentLogger;

Additional Details

Credits

These definitions were written by Alex Brick.