@types/node-cleanup
@types/node-cleanup
npm i @types/node-cleanup
@types/node-cleanup

@types/node-cleanup

The repository for high quality TypeScript type definitions.

by DefinitelyTyped

2.1.2 (see all)License:MITTypeScript:Built-In
npm i @types/node-cleanup
Readme

Installation

npm install --save @types/node-cleanup

Summary

This package contains type definitions for node-cleanup (https://github.com/jtlapp/node-cleanup).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node-cleanup.

index.d.ts

// Type definitions for node-cleanup 2.1
// Project: https://github.com/jtlapp/node-cleanup
// Definitions by: Agadar <https://github.com/agadar>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

// Note that ES6 modules cannot directly export callable functions.
// This file should be imported using the CommonJS-style:
//    import nodeCleanup = require('node-cleanup');

export = install;

interface StderrMessages {
    ctrl_C?: string;
    uncaughtException?: string;
}

type Handler = (exitCode: number | null, signal: string | null) => boolean | undefined | void;

declare function install(cleanupHandler?: Handler, stderrMessages?: StderrMessages): void;

declare namespace install {
    function uninstall(): void;
}

Additional Details

  • Last updated: Tue, 17 Aug 2021 19:01:24 GMT
  • Dependencies: none
  • Global values: none

Credits

These definitions were written by Agadar.

Downloads/wk

4.4K

GitHub Stars

40.9K

LAST COMMIT

7mos ago

MAINTAINERS

1

CONTRIBUTORS

17,572

OPEN ISSUES

635

OPEN PRs

204
VersionTagPublished
2.1.2
latest
1yr ago
2.1.2
ts4.7
1yr ago
2.1.2
ts4.6
1yr ago
2.1.2
ts4.8
1yr ago
No alternatives found
No tutorials found
Add a tutorial

Rate & Review

100
No reviews found
Be the first to rate