boxen-notify
show a message in a box (extracted from update-notifier)
Usage
notify(options: BoxenNotifyOptions)
type BoxenNotifyOptions = { boxenOpts?: BoxenOptions, defer?: boolean, message?: string}
-
see upstream documentation for BoxenOptions
-
output message now, or defer until the process exits
-
same behaviour as upstream: does nothing if not in an interactive terminal, or if run as part of an
npm run
script
Example
const notify =
Contributing
Development
npm install --global flow-typednpm installflow-typed installnpm test