mute-stream/000755 001751 000177 0000000000 14522377323015024 5ustar00runner000000 000000 1452237732314522377323mute-stream/LICENSE000644 001751 000177 0000002165 14522377323016035 0ustar00runner000000 000000 1452237732314522377323 MIT License Copyright (c) Microsoft Corporation. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE mute-stream/README.md000644 001751 000177 0000003072 14522377323016271 0ustar00runner000000 000000 1452242007014522377323# 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](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/mute-stream/index.d.ts) ````ts /// 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](https://npmjs.com/package/@types/node) # Credits These definitions were written by [Adam Jarret](https://github.com/adamjarret). mute-stream/index.d.ts000644 001751 000177 0000001644 14522377323016732 0ustar00runner000000 000000 1452237732314522377323/// 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; mute-stream/package.json000644 001751 000177 0000001505 14522377323017277 0ustar00runner000000 000000 1452242007014522377323{ "name": "@types/mute-stream", "version": "0.0.4", "description": "TypeScript definitions for mute-stream", "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/mute-stream", "license": "MIT", "contributors": [ { "name": "Adam Jarret", "githubUsername": "adamjarret", "url": "https://github.com/adamjarret" } ], "main": "", "types": "index.d.ts", "repository": { "type": "git", "url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git", "directory": "types/mute-stream" }, "scripts": {}, "dependencies": { "@types/node": "*" }, "typesPublisherContentHash": "0a0047b7ac14dcaf2bf9afa6933c9ca7e51b2196a8d57e82b9f54b872acd6eb4", "typeScriptVersion": "4.5" }