Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bendrucker/we-need-a-warning-signal
"We need a warning signal" —Kevin Malone
https://github.com/bendrucker/we-need-a-warning-signal
fun joke kevin the-office
Last synced: about 1 month ago
JSON representation
"We need a warning signal" —Kevin Malone
- Host: GitHub
- URL: https://github.com/bendrucker/we-need-a-warning-signal
- Owner: bendrucker
- License: mit
- Created: 2017-03-20T16:03:04.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2019-08-19T23:39:46.000Z (over 5 years ago)
- Last Synced: 2024-04-26T02:44:14.048Z (8 months ago)
- Topics: fun, joke, kevin, the-office
- Language: JavaScript
- Homepage:
- Size: 1.82 MB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: license
Awesome Lists containing this project
README
# we-need-a-warning-signal [![Build Status](https://travis-ci.org/bendrucker/we-need-a-warning-signal.svg?branch=master)](https://travis-ci.org/bendrucker/we-need-a-warning-signal) [![Greenkeeper badge](https://badges.greenkeeper.io/bendrucker/we-need-a-warning-signal.svg)](https://greenkeeper.io/)
> ["We need a warning signal"](https://www.youtube.com/watch?v=AZfRggA3YYU) —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
```js
var WarningStream = require('we-need-a-warning-signal')createReadStream()
.pipe(WarningStream())
.pipe(process.stdout)
```### CLI
```sh
echo "warning" | warning-signal
```![the trick is to undercook the onions](kevin.gif)
## License
MIT © [Ben Drucker](http://bendrucker.me)