open-index/open-npm huggingface dataset:
npm package: @johnowennixon/hello
Description: Hello from John Owen Nixon
Author: John Owen Nixon
Latest version: 1.0.2

## About

Outputs to console a page of information about [John Owen Nixon](https://johnowennixon.com).

## Usage

Install Node.js and then run:

```sh
npx @johnowennixon/hello
```

## Built with

- [terminal-image](https://github.com/sindresorhus/terminal-image) - Display images in the terminal
- [ink](https://github.com/vadimdemedes/ink) - React for interactive command-line apps
npm package: @johnowennixon/okay
Description: Command line script which outputs the text ‘Okay’ in green
Author: John Owen Nixon
Latest version: 3.2.0

# Okay

Installs a command line bin script named ‘okay’.
This outputs the text ‘Okay’ in green.
The output is suppressed if there is an environment variable named ‘TELL_OKAY’ with value 0.
npm package: @johnowennixon/pipe-exit
Description: Pass stdin to stdout but exit 1 if there is any input
Author: John Owen Nixon
Latest version: 1.0.1

# pipe-exit

This script reads all data from its standard input (stdin).
If any data is received, it sends that data to standard output and exits with a status code of 1 (indicating failure).
If no data is received, it sends nothing to stdout and exits with a status code of 0 (indicating success).

* Exit Code 0: Success (no input received)
* Exit Code 1: Failure (input received and passed through)
* Exit Code 2: Internal error during stream processing

Usage:

```bash
your_command_expression 2>&1 | pipe-exit
```

## Examples

### Success - no output from 'true'

* `true 2>&1 | pipe-exit`
* Expected output: (nothing)
* Expected exit code: 0

### Failure - output from 'echo'

* `echo "Error message here" 2>&1 | pipe-exit`
* Expected output: "Error message here"
* Expected exit code: 1

### Failure - output from 'ls' in case of error

* `ls non_existent_file 2>&1 | pipe-exit`
* Expected output: (ls error message)
* Expected exit code: 1