merge-stream/ 000755 001751 000177 0000000000 14675560002 015140 5 ustar 00runner 000000 000000 14675560002 14675560002 merge-stream/LICENSE 000644 001751 000177 0000002165 14675560002 016151 0 ustar 00runner 000000 000000 14675560002 14675560002 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
merge-stream/README.md 000644 001751 000177 0000002545 14675560002 016427 0 ustar 00runner 000000 000000 14675560013 14675560002 # Installation
> `npm install --save @types/merge-stream`
# Summary
This package contains type definitions for merge-stream (https://github.com/grncdr/merge-stream).
# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/merge-stream.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/merge-stream/index.d.ts)
````ts
///
interface MergedStream extends NodeJS.ReadWriteStream {
/**
* A method to dynamically add more sources to the stream. The argument supplied to add can be
* either a source or an array of sources.
*/
add(source: NodeJS.ReadableStream | readonly NodeJS.ReadableStream[]): MergedStream;
/**
* A method that tells you if the merged stream is empty.
*/
isEmpty(): boolean;
}
declare function merge(...streams: Array): MergedStream;
export = merge;
````
### Additional Details
* Last updated: Fri, 27 Sep 2024 16:40:34 GMT
* Dependencies: [@types/node](https://npmjs.com/package/@types/node)
# Credits
These definitions were written by [Keita Kagurazaka](https://github.com/k-kagurazaka), [Tom X. Tobin](https://github.com/tomxtobin), [Daniel Zazula](https://github.com/daniel-zazula), and [Daniel Cassidy](https://github.com/djcsdy).
merge-stream/index.d.ts 000644 001751 000177 0000001070 14675560002 017037 0 ustar 00runner 000000 000000 14675560002 14675560002 ///
interface MergedStream extends NodeJS.ReadWriteStream {
/**
* A method to dynamically add more sources to the stream. The argument supplied to add can be
* either a source or an array of sources.
*/
add(source: NodeJS.ReadableStream | readonly NodeJS.ReadableStream[]): MergedStream;
/**
* A method that tells you if the merged stream is empty.
*/
isEmpty(): boolean;
}
declare function merge(...streams: Array): MergedStream;
export = merge;
merge-stream/package.json 000644 001751 000177 0000002431 14675560002 017430 0 ustar 00runner 000000 000000 14675560013 14675560002 {
"name": "@types/merge-stream",
"version": "2.0.0",
"description": "TypeScript definitions for merge-stream",
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/merge-stream",
"license": "MIT",
"contributors": [
{
"name": "Keita Kagurazaka",
"githubUsername": "k-kagurazaka",
"url": "https://github.com/k-kagurazaka"
},
{
"name": "Tom X. Tobin",
"githubUsername": "tomxtobin",
"url": "https://github.com/tomxtobin"
},
{
"name": "Daniel Zazula",
"githubUsername": "daniel-zazula",
"url": "https://github.com/daniel-zazula"
},
{
"name": "Daniel Cassidy",
"githubUsername": "djcsdy",
"url": "https://github.com/djcsdy"
}
],
"main": "",
"types": "index.d.ts",
"repository": {
"type": "git",
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git",
"directory": "types/merge-stream"
},
"scripts": {},
"dependencies": {
"@types/node": "*"
},
"typesPublisherContentHash": "e64d0d5cce369ca6badb8fa73b0d0d6ae5dee9b085f406ea908137def99c9cfd",
"typeScriptVersion": "4.8"
}