Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

hyper-notifier

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hyper-notifier

A notifications and alerting plugin for Hyper.js

  • 1.0.6
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

hyper-notifier

hyper-notifier is a notifications and alerting plugin for Hyper.js. This allows similar functionality to Iterm which allow users to add a config, and register alerts based on console output. Under the hood it is a wrapper around Node Notifier

Getting Started

First add the plugin to your plugins in your .hyper.js

plugins: ["hyper-notifier"],

Then register your notifications in your .hyper.js

module.exports = {
  config: {
    hyperNotifier: {
      notifications: [
        {
          test: 'ERR!',                // the string we are testing for
          title: 'ERR! was detected!', // notification title
          sound: 'Funk',
        }
        {
          test: 'y/n',                 // the string we are testing for
          title: 'response needed',    // notification title
          reply: true,                 // wait for response
          wait: 30                     // wait 30 seconds
        }
      ]
    }

For more advanced notifications, please reference Node Notifier. test is the string we are testing for, but all other keys on the object will be passed to node-notifier

Built With

  • Node Notifier - The notifications engine

Author

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Keywords

FAQs

Package last updated on 02 Oct 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc