# textstreamjs

> ## Installation

Latest version **0.1.0** (published 2024-10-09) · MIT license · 0 weekly downloads

## Install

```sh
npm install textstreamjs
pnpm add textstreamjs
yarn add textstreamjs
bun add textstreamjs
```

## Health

**Score 35/100 (D)** — status: maintenance-mode.

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

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

Negative: stale; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.0 |
| Published | 2024-10-09 |
| First published | 2023-04-27 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 13.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | vqueiroz, victorqueiroz1 |

## Links

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

## Dependencies (2)

- [ringbud](https://npm.io/package/ringbud.md) 1.0.18
- [eventual-js](https://npm.io/package/eventual-js.md) 0.0.11

## Recent versions

- 0.1.0 (latest) — 2024-10-09
- 0.0.4 — 2023-04-27
- 0.0.3 — 2023-04-27

## README

# textstreamjs

## Installation

```
yarn add textstreamjs
npm i textstreamjs
```

## Usage

```ts
import CodeStream from 'textstreamjs';
const cs = new CodeStream();
cs.write('export function sum(a,b) {\n`, () => {
    cs.write(`return a + b;\n`);
},'}\n');
```

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