npm.io
5.0.0 • Published 2 years ago

onedionys-web-push-notification-integration

Licence
ISC
Version
5.0.0
Deps
132
Size
12 kB
Vulns
0
Weekly
0
Stars
1

Welcome to One Dionys - Web Push Notification Integration!

Integration with web push notification services to send notifications to users, even when the app is inactive.

Requirements

  • Web Browser - Can be used as an emulator to build applications. Example [Chrome, Firefox, Safari & Opera].
  • Internet - Because many use CDN and to make it easier to find solutions to all problems.

How To Use

Example Syntax
const webPushNotification = require('webPushNotification');

// Send push notification
webPushNotification.sendNotification(userToken, message);
Explanation
  • This package provides a simple integration for sending web push notifications. It allows developers to send push notifications to users with minimal setup and configuration.
Return Value
  • The sendNotification function returns a promise. If the push notification is sent successfully, the promise resolves. If an error occurs during the process, the promise rejects with an error message.

Release Date

  • v1.0.0 : 17 March 2024
  • v1.0.1 : 18 March 2024
  • v1.0.2 : 30 March 2024
  • v5.0.0 : 31 March 2024

Author

License

  • Copyright 2024 One Dionys
  • One Dionys - Web Push Notification Integration is an open source project licensed under the MIT license

Suppport & Donation

Love One Dionys - Web Push Notification Integration? Support this project by donating or sharing with others in need.

Made with One Dionys

Keywords