@kamkam1_0/errorhandler
Advanced tools
Comparing version 1.2.4 to 1.2.5
@@ -11,2 +11,3 @@ module.exports = (prog) => { | ||
files.forEach(file => process.on(file.split(".js")[0], err => require(`./${file}`)(prog, err))) | ||
return true | ||
} |
18
index.js
@@ -0,6 +1,24 @@ | ||
/** | ||
* @returns {string} | ||
*/ | ||
exports.version = require("./package.json").version | ||
/** | ||
* @returns {function} | ||
*/ | ||
exports.rejectionHandled = require("./rejectionHandled") | ||
/** | ||
* @returns {function} | ||
*/ | ||
exports.uncaughtException = require("./uncaughtException") | ||
/** | ||
* @returns {function} | ||
*/ | ||
exports.uncaughtExceptionMonitor = require("./uncaughtExceptionMonitor") | ||
/** | ||
* @returns {function} | ||
*/ | ||
exports.unhandledRejection = require("./unhandledRejection") | ||
/** | ||
* @returns {boolean} | ||
*/ | ||
exports.deploy = require("./deploy.js") |
{ | ||
"name": "@kamkam1_0/errorhandler", | ||
"version": "1.2.4", | ||
"version": "1.2.5", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
8263
118