shutdown-handler-krlpatch (npm): Gives the ability to execute code upon closing a Node.js application.
Keywords: shutdown|handler|hook|event|events|exit|sigterm|sigkill|ctrl|terminate|kill|process|stop