page-lifecycle (npm): A JavaScript library to observe Page Lifecycle API states: https://github.com/WICG/page-lifecycle
Keywords: page|lifecycle|unload|beforeunload|visibilityState|visibilitychange|active|passive|hidden|frozen|discarded|terminated