signal-exit

when you want to fire an event no matter how a process exits.

Browse on unpkg