node package manager

alfred-notifier

alfred-notifier Build Status

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