0.1.35 • Published 2 years ago

@types/bunyan-prettystream v0.1.35

Weekly downloads
7,955
License
MIT
Repository
github
Last release
2 years ago

Installation

npm install --save @types/bunyan-prettystream

Summary

This package contains type definitions for bunyan-prettystream (https://www.npmjs.com/package/bunyan-prettystream).

Details

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

index.d.ts

// Type definitions for bunyan-prettystream 0.1.3
// Project: https://www.npmjs.com/package/bunyan-prettystream
// Definitions by: Jason Swearingen <https://github.com/jasonswearingen>, Vadim Macagon <https://github.com/enlight>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

/// <reference types="node" />


import stream = require("stream");
declare class PrettyStream extends stream.Writable {
    /**
     * @param options.mode Output format, can be either `long`, `short`, or `dev`,
     *                     defaults to `long`.
     * @param options.useColor Indicates whether or not output should be colored,
     *                         defaults to `true`.
     */
    constructor(options?: { mode?: string | undefined; useColor?: boolean | undefined });

    /**
     * Pipes data from this stream to another.
     *
     * @param destination Stream to write data to.
     * @param options.end Indicates whether `end()` should be called on the `destination`
     *                    stream when this stream emits `end`, defaults to `true`.
     * @return The `destination` stream.
     */
    pipe<T extends NodeJS.WritableStream>(destination: T, options?: { end?: boolean | undefined; }): T;
}
export = PrettyStream;

Additional Details

  • Last updated: Thu, 08 Jul 2021 00:35:45 GMT
  • Dependencies: @types/node
  • Global values: none

Credits

These definitions were written by Jason Swearingen, and Vadim Macagon.

0.1.33

2 years ago

0.1.34

2 years ago

0.1.35

2 years ago

0.1.32

4 years ago

0.1.31

8 years ago

0.1.30

9 years ago

0.1.29

9 years ago

0.1.28-alpha

9 years ago

0.1.27-alpha

9 years ago

0.1.26-alpha

9 years ago

0.1.25-alpha

9 years ago

0.1.24-alpha

9 years ago

0.1.23-alpha

9 years ago

0.1.22-alpha

9 years ago

0.1.17-alpha

9 years ago

0.1.16-alpha

9 years ago