through/ 000755 001751 000177 0000000000 14522451650 014225 5 ustar 00runner 000000 000000 14522451650 14522451650 through/LICENSE 000644 001751 000177 0000002165 14522451650 015236 0 ustar 00runner 000000 000000 14522451650 14522451650 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
through/README.md 000644 001751 000177 0000002035 14522451650 015507 0 ustar 00runner 000000 000000 14522474540 14522451650 # Installation
> `npm install --save @types/through`
# Summary
This package contains type definitions for through (https://github.com/dominictarr/through).
# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/through.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/through/index.d.ts)
````ts
///
import stream = require("stream");
declare function through(
write?: (data: any) => void,
end?: () => void,
opts?: {
autoDestroy: boolean;
},
): through.ThroughStream;
declare namespace through {
export interface ThroughStream extends stream.Transform {
autoDestroy: boolean;
queue: (chunk: any) => any;
}
}
export = through;
````
### Additional Details
* Last updated: Tue, 07 Nov 2023 15:11:36 GMT
* Dependencies: [@types/node](https://npmjs.com/package/@types/node)
# Credits
These definitions were written by [Andrew Gaspar](https://github.com/AndrewGaspar).
through/index.d.ts 000644 001751 000177 0000000631 14522451650 016126 0 ustar 00runner 000000 000000 14522451650 14522451650 ///
import stream = require("stream");
declare function through(
write?: (data: any) => void,
end?: () => void,
opts?: {
autoDestroy: boolean;
},
): through.ThroughStream;
declare namespace through {
export interface ThroughStream extends stream.Transform {
autoDestroy: boolean;
queue: (chunk: any) => any;
}
}
export = through;
through/package.json 000644 001751 000177 0000001474 14522451650 016524 0 ustar 00runner 000000 000000 14522474540 14522451650 {
"name": "@types/through",
"version": "0.0.33",
"description": "TypeScript definitions for through",
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/through",
"license": "MIT",
"contributors": [
{
"name": "Andrew Gaspar",
"githubUsername": "AndrewGaspar",
"url": "https://github.com/AndrewGaspar"
}
],
"main": "",
"types": "index.d.ts",
"repository": {
"type": "git",
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git",
"directory": "types/through"
},
"scripts": {},
"dependencies": {
"@types/node": "*"
},
"typesPublisherContentHash": "06af82efbf94e1c23fc3b72d80c6c90ac6472e9b69c5e319efa0c0135f20adc5",
"typeScriptVersion": "4.5"
}