Gathering detailed insights and metrics for @hypercliq/shutdown-cleanup
Gathering detailed insights and metrics for @hypercliq/shutdown-cleanup
Gathering detailed insights and metrics for @hypercliq/shutdown-cleanup
Gathering detailed insights and metrics for @hypercliq/shutdown-cleanup
npm install @hypercliq/shutdown-cleanup
Typescript
Module System
Min. Node Version
Node Version
NPM Version
JavaScript (100%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
3 Stars
1,424 Commits
2 Watchers
6 Branches
1 Contributors
Updated on Feb 13, 2025
Latest Version
7.0.1
Package Id
@hypercliq/shutdown-cleanup@7.0.1
Unpacked Size
19.59 kB
Size
6.33 kB
File Count
5
NPM Version
10.8.2
Node Version
18.20.6
Published on
Feb 13, 2025
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
The shutdown-cleanup
module provides a structured approach for managing graceful shutdowns in Node.js applications. It supports phased shutdowns, signal-specific handlers, customizable error handling strategies, and custom exit codes, ensuring broad compatibility with LTS Node.js versions.
1npm install @hypercliq/shutdown-cleanup
Or using Yarn:
1yarn add @hypercliq/shutdown-cleanup
To use shutdown-cleanup
, import and utilize its functions within your application to manage shutdown logic effectively. Both synchronous and asynchronous handlers are supported.
1import { registerHandler } from '@hypercliq/shutdown-cleanup' 2 3// Asynchronous handler 4registerHandler(async (signal) => { 5 await performCleanup() 6 console.log('Async cleanup completed') 7}) 8 9// Synchronous handler 10registerHandler((signal) => { 11 performSyncCleanup() 12 console.log('Sync cleanup completed') 13})
For more detailed usage examples and best practices, see the Developer Guide.
We encourage contributions! If you have suggestions, bug reports, or would like to contribute code, please submit issues or pull requests on GitHub. For major changes, start by opening an issue to discuss your ideas.
Thank you for using and contributing to the shutdown-cleanup
module!
Remember to add tests for your changes and ensure that all tests pass before submitting a pull request. Also, lint and format your code according to the project's standards.
This project is licensed under the MIT License - see the LICENSE file for details.
No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
1 existing vulnerabilities detected
Details
Reason
dependency not pinned by hash detected -- score normalized to 3
Details
Reason
SAST tool is not run on all commits -- score normalized to 3
Details
Reason
Found 0/21 approved changesets -- score normalized to 0
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Score
Last Scanned on 2025-07-07
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More