jokeyrhyme / boxen-notify.js

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

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

License:MIT License


Languages

Language:JavaScript 100.0%