Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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#');
```