Shims process event functionality.
This will do nothing
nullwhen this module is loaded
In Browserify-like environments, the following will happen:
processobject will get the standard EventEmitter methods.
window.onerrorwill be a function that emits an
uncaughtExceptionevent on the process object.
unloadevent which emits an
exitevent on the process object.
process-events-shim is released under the MIT License.
Copyright (c) 2013 Meryn Stol