
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
@types/node-cleanup
Advanced tools
TypeScript definitions for node-cleanup
npm install --save @types/node-cleanup
This package contains type definitions for node-cleanup (https://github.com/jtlapp/node-cleanup).
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node-cleanup.
// 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;
}
// eslint-disable-next-line @typescript-eslint/no-invalid-void-type
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;
}
These definitions were written by Agadar.
FAQs
TypeScript definitions for node-cleanup
The npm package @types/node-cleanup receives a total of 9,053 weekly downloads. As such, @types/node-cleanup popularity was classified as popular.
We found that @types/node-cleanup demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.