# out-stream

> stdout or -o command line file write stream (stream2 for node 0.8.x)

Latest version **0.1.0** (published 2014-03-12) · 0 weekly downloads

## Install

```sh
npm install out-stream
pnpm add out-stream
yarn add out-stream
bun add out-stream
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.0 |
| Published | 2014-03-12 |
| First published | 2014-03-12 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 (+2 in 1 direct dependencies) |
| Install scripts | no |
| Maintainers | angleman |

## Links

- npm: https://www.npmjs.com/package/out-stream
- npm.io page: https://npm.io/package/out-stream

## Dependencies (1)

- [minimist](https://npm.io/package/minimist.md) 0.0.8

## Recent versions

- 0.1.0 (latest) — 2014-03-12

## README

# out-stream

stdout or -o command line file write stream (stream2 for node 0.8.x) 

## Use Case

Assist with pipable shell. Also see [in-stream](https://github.com/angleman/in-stream)

## Install

```sh
npm install out-stream
```

## Usage

**myapp**:

```js
#!/usr/local/bin/node
outStream = require('out-stream')
process.stdin.pipe(outStream)
```

```sh
ls | ./myapp
// myapp
// sample.txt

ls | ./myapp -o sample.txt
```

**sample.txt** after first run

```
myapp
```

**sample.txt** after second run

```
myapp
sample.txt
```

Remember to ```chmod a+x myapp``` to make it executable

## License

### MIT

---
_Source: https://npm.io/package/out-stream · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
