@types/mute-stream
TypeScript definitions for mute-stream
Last updated 6 years ago by types .
MIT · Repository · Original npm · Tarball · package.json
$ cnpm install @types/mute-stream 
SYNC missed versions from official npm registry.

Installation

npm install --save @types/mute-stream

Summary

This package contains type definitions for mute-stream (https://github.com/isaacs/mute-stream#readme).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/mute-stream.

index.d.ts

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

import { Duplex } from "stream";

declare namespace MuteStream {
    interface Options {
        /**
         * Set to a string to replace each character with the specified string when muted.
         * (So you can show **** instead of the password, for example.)
         */
        replace?: string | undefined;

        /**
         * If you are using a replacement char, and also using a prompt with a readline stream
         * (as for a Password: ***** input), then specify what the prompt is so that backspace
         * will work properly. Otherwise, pressing backspace will overwrite the prompt with the
         * replacement character, which is weird.
         */
        prompt?: string | undefined;
    }
}

declare class MuteStream extends Duplex {
    constructor(options?: MuteStream.Options);
    mute: () => void;
    unmute: () => void;
    isTTY: boolean;
}

export = MuteStream;

Additional Details

  • Last updated: Tue, 07 Nov 2023 09:09:39 GMT
  • Dependencies: @types/node

Credits

These definitions were written by Adam Jarret.

Current Tags

  • 0.0.4                                ...           latest (2 years ago)
  • 0.0.0                                ...           ts2.9 (6 years ago)
  • 0.0.0                                ...           ts3.0 (6 years ago)
  • 0.0.0                                ...           ts3.1 (6 years ago)
  • 0.0.0                                ...           ts3.2 (6 years ago)
  • 0.0.0                                ...           ts3.3 (6 years ago)
  • 0.0.0                                ...           ts3.4 (6 years ago)
  • 0.0.0                                ...           ts3.5 (6 years ago)
  • 0.0.1                                ...           ts3.6 (5 years ago)
  • 0.0.1                                ...           ts3.7 (5 years ago)
  • 0.0.1                                ...           ts3.8 (5 years ago)
  • 0.0.1                                ...           ts3.9 (5 years ago)
  • 0.0.1                                ...           ts4.0 (5 years ago)
  • 0.0.1                                ...           ts4.1 (5 years ago)
  • 0.0.1                                ...           ts4.2 (5 years ago)
  • 0.0.1                                ...           ts4.3 (5 years ago)
  • 0.0.1                                ...           ts4.4 (5 years ago)
  • 0.0.4                                ...           ts4.5 (2 years ago)
  • 0.0.4                                ...           ts4.6 (2 years ago)
  • 0.0.4                                ...           ts4.7 (2 years ago)
  • 0.0.4                                ...           ts4.8 (2 years ago)
  • 0.0.4                                ...           ts4.9 (2 years ago)
  • 0.0.4                                ...           ts5.0 (2 years ago)
  • 0.0.4                                ...           ts5.1 (2 years ago)
  • 0.0.4                                ...           ts5.2 (2 years ago)
  • 0.0.4                                ...           ts5.3 (2 years ago)
  • 0.0.4                                ...           ts5.4 (2 years ago)
  • 0.0.4                                ...           ts5.5 (2 years ago)
  • 0.0.4                                ...           ts5.6 (2 years ago)
  • 0.0.4                                ...           ts5.7 (2 years ago)

5 Versions

  • 0.0.4                                ...           2 years ago
  • 0.0.3                                ...           2 years ago
  • 0.0.2                                ...           3 years ago
  • 0.0.1                                ...           5 years ago
  • 0.0.0                                ...           6 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 1
Last Day 0
Last Week 1
Last Month 0
Dependencies (1)
Dev Dependencies (0)
None
Dependents (2)

Copyright 2013 - present © cnpmjs.org | Home |