/boxen-notify.js

show a message in a box (extracted from update-notifier)

Primary LanguageJavaScriptMIT LicenseMIT

boxen-notify npm AppVeyor Status Travis CI Status AppVeyor Status

show a message in a box (extracted from update-notifier)

Usage

notify(options: BoxenNotifyOptions)

type BoxenNotifyOptions = {
  boxenOpts?: BoxenOptions,
  defer?: boolean,
  message?: string
}

Example

const { notify } = require('boxen-notify');

notify({ message: 'hello, world!' });

Contributing

Development

npm install --global flow-typed
npm install
flow-typed install
npm test

See Also