Skip to content

bendrucker/we-need-a-warning-signal

Repository files navigation

we-need-a-warning-signal Build Status Greenkeeper badge

"We need a warning signal" —Kevin Malone

A CLI and Transform stream. When the word "warning" or "warn" is piped in, Kevin sounds the warning signal.

Install

$ npm install --global|--save we-need-a-warning-signal

Usage

API

var WarningStream = require('we-need-a-warning-signal')

createReadStream()
  .pipe(WarningStream())
  .pipe(process.stdout)

CLI

echo "warning" | warning-signal

the trick is to undercook the onions

License

MIT © Ben Drucker