JSPM

alfred-notifier

0.2.3
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 86
  • Score
    100M100P100Q72902F
  • License MIT

Update notifications for your Alfred workflow

Package Exports

  • alfred-notifier

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (alfred-notifier) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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