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 base settings (optional) and notifications (required) in your .hyper.js
module.exports = {
config: {
hyperNotifier: {
settings: {
sound: 'Funk'
},
notifications: [
{
test: 'ERR!', // the string we are testing for
title: 'ERR! was detected!', // node-notifier config
message: 'check hyperterm' // node-notifier config
}
]
}
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
Author
License
This project is licensed under the MIT License - see the LICENSE.md file for details