labeled-stream-splicer/000755 001751 001751 0000000000 15076575141017111 5ustar00runner000000 000000 1507657514115076575141labeled-stream-splicer/LICENSE000644 001751 001751 0000002165 15076575141020122 0ustar00runner000000 000000 1507657514115076575141 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 labeled-stream-splicer/README.md000644 001751 001751 0000003162 15076575141020403 0ustar00runner000000 000000 1507657716615076575141# Installation > `npm install --save @types/labeled-stream-splicer` # Summary This package contains type definitions for labeled-stream-splicer (https://github.com/browserify/labeled-stream-splicer). # Details Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/labeled-stream-splicer. ## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/labeled-stream-splicer/index.d.ts) ````ts /// import stream = require("stream"); type Stream = NodeJS.ReadableStream | NodeJS.WritableStream | NodeJS.ReadWriteStream; type Index = number | string; type LabeledStreamList = ReadonlyArray; interface splicer extends Omit { readonly length: number; splice(index: Index, howMany: number, ...stream: readonly Stream[]): Stream[]; push(...stream: readonly Stream[]): number; pop(): Stream | undefined; unshift(...stream: readonly Stream[]): number; shift(): Stream | undefined; get(index: Index): Stream | undefined; indexOf(labelOrStream: string | Stream): number; } declare function splicer(streams?: LabeledStreamList, opts?: stream.TransformOptions): splicer; declare namespace splicer { function obj(streams?: LabeledStreamList, opts?: stream.TransformOptions): splicer; } export = splicer; ```` ### Additional Details * Last updated: Fri, 24 Oct 2025 04:02:41 GMT * Dependencies: [@types/node](https://npmjs.com/package/@types/node) # Credits These definitions were written by [Junxiao Shi](https://github.com/yoursunny). labeled-stream-splicer/index.d.ts000644 001751 001751 0000001651 15076575141021015 0ustar00runner000000 000000 1507657514115076575141/// import stream = require("stream"); type Stream = NodeJS.ReadableStream | NodeJS.WritableStream | NodeJS.ReadWriteStream; type Index = number | string; type LabeledStreamList = ReadonlyArray; interface splicer extends Omit { readonly length: number; splice(index: Index, howMany: number, ...stream: readonly Stream[]): Stream[]; push(...stream: readonly Stream[]): number; pop(): Stream | undefined; unshift(...stream: readonly Stream[]): number; shift(): Stream | undefined; get(index: Index): Stream | undefined; indexOf(labelOrStream: string | Stream): number; } declare function splicer(streams?: LabeledStreamList, opts?: stream.TransformOptions): splicer; declare namespace splicer { function obj(streams?: LabeledStreamList, opts?: stream.TransformOptions): splicer; } export = splicer; labeled-stream-splicer/package.json000644 001751 001751 0000001613 15076575141021411 0ustar00runner000000 000000 1507657716615076575141{ "name": "@types/labeled-stream-splicer", "version": "2.0.5", "description": "TypeScript definitions for labeled-stream-splicer", "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/labeled-stream-splicer", "license": "MIT", "contributors": [ { "name": "Junxiao Shi", "githubUsername": "yoursunny", "url": "https://github.com/yoursunny" } ], "main": "", "types": "index.d.ts", "repository": { "type": "git", "url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git", "directory": "types/labeled-stream-splicer" }, "scripts": {}, "dependencies": { "@types/node": "*" }, "peerDependencies": {}, "typesPublisherContentHash": "9fa1c66e1f0a4ac7faf37f7bc273f8a2f3f7652a3b993af5999cb89418b4a968", "typeScriptVersion": "5.2" }