add-listener-first
Advanced tools
Comparing version 1.0.0 to 1.0.1
{ | ||
"name": "add-listener-first", | ||
"description": "add-listener-first", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"main": "index.js", | ||
@@ -6,0 +6,0 @@ "scripts": { |
@@ -10,3 +10,3 @@ add-listener-first | ||
If your application does any top-level logging, you may be hooking into `process.on([SIGNAL]` or `process.on(`. Often times, listeners for these signals include `process.exit` to gracefully shutdown the application with a meaningful error code. If these listeners are tirggered prior to your logging logic, your application will shutdown before your logging happens. This module ensures that your listener will be executed first, barring future displacement. | ||
If your application does any top-level logging, you may be hooking into `process.on([SIGNAL]` or `process.on("UncaughtException"`. Often times, listeners for these signals include `process.exit` to gracefully shutdown the application with a meaningful error code. If these listeners are tirggered prior to your logging logic, your application will shutdown before your logging happens. This module ensures that your listener will be executed first, barring future displacement. | ||
@@ -13,0 +13,0 @@ # Example |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
8535