exit/ 000755 001751 000177 0000000000 14522265601 013513 5 ustar 00runner 000000 000000 14522265601 14522265601 exit/LICENSE 000644 001751 000177 0000002165 14522265601 014524 0 ustar 00runner 000000 000000 14522265601 14522265601 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
exit/README.md 000644 001751 000177 0000001552 14522265601 014761 0 ustar 00runner 000000 000000 14522320300 14522265601 # Installation
> `npm install --save @types/exit`
# Summary
This package contains type definitions for exit (https://github.com/cowboy/node-exit).
# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/exit.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/exit/index.d.ts)
````ts
///
/**
* A replacement for process.exit that ensures stdio are fully drained before exiting.
*/
declare function exit(code: number, streams?: [NodeJS.WritableStream, NodeJS.WritableStream]): void;
export = exit;
````
### Additional Details
* Last updated: Mon, 06 Nov 2023 22:41:05 GMT
* Dependencies: [@types/node](https://npmjs.com/package/@types/node)
# Credits
These definitions were written by [Bart van der Schoor](https://github.com/Bartvds).
exit/index.d.ts 000644 001751 000177 0000000364 14522265601 015417 0 ustar 00runner 000000 000000 14522265601 14522265601 ///
/**
* A replacement for process.exit that ensures stdio are fully drained before exiting.
*/
declare function exit(code: number, streams?: [NodeJS.WritableStream, NodeJS.WritableStream]): void;
export = exit;
exit/package.json 000644 001751 000177 0000001454 14522265601 015771 0 ustar 00runner 000000 000000 14522320300 14522265601 {
"name": "@types/exit",
"version": "0.1.33",
"description": "TypeScript definitions for exit",
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/exit",
"license": "MIT",
"contributors": [
{
"name": "Bart van der Schoor",
"githubUsername": "Bartvds",
"url": "https://github.com/Bartvds"
}
],
"main": "",
"types": "index.d.ts",
"repository": {
"type": "git",
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git",
"directory": "types/exit"
},
"scripts": {},
"dependencies": {
"@types/node": "*"
},
"typesPublisherContentHash": "f8741ddd52157976fd21778ed54e26e078fabb31b39d2c6795a1bca2dc8798bc",
"typeScriptVersion": "4.5"
}