alfred-notifier
v0.2.3
Published
Update notifications for your Alfred workflow
Downloads
297
Readme
alfred-notifier
Update notifications for your Alfred workflow
Install
$ npm install --save alfred-notifier
Usage
Simple example
const alfredNotifier = require('alfred-notifier');
alfredNotifier();
Comprehensive example
const alfy = require('alfy');
const alfredNotifier = require('alfred-notifier');
// Checks for available update and updates the `info.plist`
alfredNotifier();
alfy.output([
{title: '🦄'},
{title: '🌈'}
]);
API
alfredNotifier()
Checks if there is an available update. If an update is available, it will add a message as subtext of your workflow.
License
MIT © Sam Verschueren