Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pardjs/notification
Include mail ๐ฉ and sms ๐ฒ notifications.
https://github.com/pardjs/notification
Last synced: about 1 month ago
JSON representation
Include mail ๐ฉ and sms ๐ฒ notifications.
- Host: GitHub
- URL: https://github.com/pardjs/notification
- Owner: pardjs
- License: mit
- Created: 2019-04-02T04:29:33.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2023-01-12T01:42:10.000Z (about 2 years ago)
- Last Synced: 2024-11-15T21:52:35.277Z (2 months ago)
- Language: TypeScript
- Size: 3.69 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 48
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# notification
[![styled with prettier](https://img.shields.io/badge/styled_with-prettier-ff69b4.svg)](https://github.com/prettier/prettier)
[![Greenkeeper badge](https://badges.greenkeeper.io/pardjs/notification.svg)](https://greenkeeper.io/)
[![Travis](https://travis-ci.com/pardjs/notification.svg?branch=master)](https://travis-ci.com/pardjs/notification)
[![Coveralls](https://coveralls.io/repos/github/pardjs/notification/badge.svg?branch=master)](https://coveralls.io/github/pardjs/notification?branch=master)Include mail ๐ฉ and sms ๐ฒ notifications. The notifiaction is a module used to handling Email ans SMS nottifications for pardjs project. it includes.
## Usage
CONFIGURATIONS:
- aliAppId: The `appId` for ali services.
- aliSecret: The `secret` for ali services.
- senderName: The name of the sender
- senderEmail: the sernder email address
- emailTitle: [Optional, '้ฎไปถ้็ฅ Email Notification']The default email title
- aliMailTimeout: [Optional, 3000]the timeout value for aliMail service(ms)```js
import Notification from '@pardjs/notification';const notificationSender = new Notification('#CONFIGURATIONS#');
```