Web push
This module makes it easy to send messages and will also handle. With this package, web push notifications can be create encrypted and sent via request. Web Push represents a clear and direct communication, short lines and flexibility to adapt to a constantly changing environment. The Push API gives web applications the ability to receive messages pushed to them from a server, whether or not the web app is in the foregroun or even currently loade on a user agent. Optionally, the package automatically deletes expired or no longer valid subscriptions. The exp value is the expiration of the JWT, this prevent snoopers from being able to re-use a JWT if they intercept it. Push and notification use different, but complementary, APIs: push is invoked when a server supplies information to a service worker a notification is the action of a service worker or web page script showing information to a user. This lets developers deliver asynchronous notifications and updates to users that opt in...