All Projects → e1016 → naranja

e1016 / naranja

Licence: other
🍊 Web notifications with a great look

Programming Languages

javascript
184084 projects - #8 most used programming language
Less
1899 projects
HTML
75241 projects

Projects that are alternatives of or similar to naranja

aurelia-notify
A notification plugin for Aurelia.
Stars: ✭ 14 (-48.15%)
Mutual labels:  notify, notifications-plugin
alert
Cross-platform, isomorphic alert, for Node and browser (previously alert-node)
Stars: ✭ 27 (+0%)
Mutual labels:  notify
uranus
[W.I.P] An ecosystem of crawlers for detecting: leaks, sensitive data exposure and attempts exfiltration of data
Stars: ✭ 22 (-18.52%)
Mutual labels:  notify
simple-notify
Pure javascript toast notifications.
Stars: ✭ 108 (+300%)
Mutual labels:  notify
Apprise
Apprise - Push Notifications that work with just about every platform!
Stars: ✭ 4,307 (+15851.85%)
Mutual labels:  notify
order-charge-notify
模拟电商下单->订单处理->订单结果通知的完整流程,基于RocketMQ进行实现
Stars: ✭ 46 (+70.37%)
Mutual labels:  notify
react-notify
Tiny React's module that shows notifications.
Stars: ✭ 55 (+103.7%)
Mutual labels:  notify
apprise-api
A lightweight REST framework that wraps the Apprise Notification Library
Stars: ✭ 147 (+444.44%)
Mutual labels:  notify
php-flasher
🔔 Flasher is a powerful and flexible flash notifications system for PHP, Laravel, Symfony
Stars: ✭ 68 (+151.85%)
Mutual labels:  notify
release-notify-action
GitHub Action that triggers e-mails with release notes when these are created
Stars: ✭ 64 (+137.04%)
Mutual labels:  notify
go-teams-notify
A package to send messages to a Microsoft Teams channel
Stars: ✭ 29 (+7.41%)
Mutual labels:  notify
github-issues-notice
Notify labeled issues to Slack
Stars: ✭ 20 (-25.93%)
Mutual labels:  notify
flasher
A powerful and flexible flash notifications system for PHP
Stars: ✭ 46 (+70.37%)
Mutual labels:  notify
notice.js
💯 Javascript notification library
Stars: ✭ 25 (-7.41%)
Mutual labels:  notify
ngx-notify
一个无须依赖HTML模板、极简Angular通知组件。
Stars: ✭ 81 (+200%)
Mutual labels:  notify
incubator-rocketmq
带中文代码注释 Mirror of Apache RocketMQ 源码解析:http://www.iocoder.cn/categories/RocketMQ/?github
Stars: ✭ 343 (+1170.37%)
Mutual labels:  notify
pg-pubsub
Reliable PostgreSQL LISTEN/NOTIFY with inter-process lock support
Stars: ✭ 50 (+85.19%)
Mutual labels:  notify
laravel-exception-notify
Laravel 中异常监控报警通知(Bark、Chanify、钉钉群机器人、Discord、飞书群机器人、邮件、PushDeer、QQ 频道机器人、Server 酱、Slack、Telegram、企业微信群机器人、息知)。
Stars: ✭ 52 (+92.59%)
Mutual labels:  notify
Notify-me
A shell command to notify you via Telegram
Stars: ✭ 34 (+25.93%)
Mutual labels:  notify
allas
LISTEN / NOTIFY connection pooler for PostgreSQL
Stars: ✭ 40 (+48.15%)
Mutual labels:  notify

🍊 Naranja

Pure JS, HTML, and CSS Notifications with a great look – Live demo

npm install --save naranja

Script

<script src="https://unpkg.com/[email protected]/lib/naranja.min.js"></script>

Styles

<link rel="stylesheet" href="https://unpkg.com/[email protected]/lib/naranja.min.css">

npm i -s naranja

// script
import naranja from 'naranja'
// styles
import '~/naranja/lib/naranja.min.css'


For first, why naranja? ... because all cool names in npm are taken, yes, and is easy to remember (it's orange in English).

naranja().log({
  title: 'Notification Title', // <- required
  text: 'Here goes a description for notifiaction', // <- required
  icon: true or false, // <- unrequired, default true,
  timeout: 2000 or 'keep', // <- unrequired, default 5000 miliseconds
  buttons: [
    {
      text: 'OK',
      click: function (e) {
        // click event close notifiaction
        // unless you use preventClose method
        e.preventClose()
        // if you want close notifiaction
        // manually, use closeNotification
        e.closeNotification()
      }
    },
    {
      text: 'Cancel',
      click: function () {
        // make something here...

        // you can (but you should not)
        // add infinity buttons
      }
    }
  ]
})

more notifiactions

naranja().log({ ...

naranja().success({ ...

naranja().warn({ ...

naranja().error({ ...

All methods need the same arguments

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].