# prepend-transform

> Prepend a string to beginning of each line of stdout/stderr.

Latest version **0.0.1019** (published 2019-04-11) · MIT license · 0 weekly downloads

## Install

```sh
npm install prepend-transform
pnpm add prepend-transform
yarn add prepend-transform
bun add prepend-transform
```

Provides the command `prepend_with`.

## Health

**Score 40/100 (D)** — status: abandoned.

Positive: has types; no vulnerabilities; high maintenance score; high quality score.

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

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 0.0.1019 |
| Published | 2019-04-11 |
| First published | 2017-06-20 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 6.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 4 |
| Author | Olegzandr VD |
| Maintainers | oresoftware |
| Keywords | suman, test, prepend, stream, transform, stdout, stderr, stdio, pipe |

## Links

- npm: https://www.npmjs.com/package/prepend-transform
- Repository: https://github.com/ORESoftware/prepend-transform
- Homepage: https://github.com/ORESoftware/prepend-transform#readme
- Issues: https://github.com/ORESoftware/prepend-transform/issues
- npm.io page: https://npm.io/package/prepend-transform

## Dependencies (1)

- [chalk](https://npm.io/package/chalk.md) ^2.4.1

## Alternatives

- [duck](https://npm.io/package/duck.md) — 4.2M weekly downloads
- [ava](https://npm.io/package/ava.md) — 560.2K weekly downloads
- [storybook-addon-module-mock](https://npm.io/package/storybook-addon-module-mock.md) — 71.7K weekly downloads
- [vest](https://npm.io/package/vest.md) — 50.1K weekly downloads
- [@ethereum-waffle/mock-contract](https://npm.io/package/@ethereum-waffle/mock-contract.md) — 40.0K weekly downloads

## Recent versions

- 0.0.1019 (latest) — 2019-04-11
- 0.0.1018 — 2018-09-19
- 0.0.1017 — 2018-08-03
- 0.0.1016 — 2018-06-07
- 0.0.1015 — 2018-05-08
- 0.0.1014 — 2018-05-08
- 0.0.1013 — 2018-05-07
- 0.0.1012 — 2018-05-07
- 0.0.1009 — 2017-11-12
- 0.0.1008 — 2017-10-08
- 0.0.1007 — 2017-09-17
- 0.0.1006 — 2017-08-30
- 0.0.1005 — 2017-08-30
- 0.0.1004 — 2017-07-30
- 0.0.1003 — 2017-07-16
- … 1 more at https://npm.io/package/prepend-transform/versions

## README

# Prepend-Transform

## Installation

```bash
npm install -S prepend-transform
```


## Usage

```javascript

import pt from 'prepend-transform';
import * as cp from 'child_process';

const n = cp.spawn('bash');

n.stdout.pipe(pt('child stdout: ')).pipe(process.stdout);
n.stderr.pipe(pt('child stderr: ')).pipe(process.stderr);

```

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