# stream64

> Base64 encode/decode stream.

Latest version **0.2.3** (published 2015-05-25) · Unlicense license · 0 weekly downloads

## Install

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

## 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.2.3 |
| Published | 2015-05-25 |
| First published | 2015-02-22 |
| Weekly downloads | 0 |
| License | Unlicense |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Valérian Galliat |
| Maintainers | valeriangalliat |

## Links

- npm: https://www.npmjs.com/package/stream64
- Repository: https://github.com/valeriangalliat/stream64
- Issues: https://github.com/valeriangalliat/stream64/issues
- npm.io page: https://npm.io/package/stream64

## Dependencies (1)

- [through2-sync](https://npm.io/package/through2-sync.md) ^0.1.0

## Recent versions

- 0.2.3 (latest) — 2015-05-25
- 0.2.2 — 2015-03-11
- 0.2.1 — 2015-02-22
- 0.2.0 — 2015-02-22
- 0.1.0 — 2015-02-22

## README

# stream64 [![npm version](http://img.shields.io/npm/v/stream64.svg?style=flat-square)](https://www.npmjs.org/package/stream64)

> Base64 encode/decode stream.

Example
-------

```js
const Stream = require('stream')
const stream64 = require('stream64')

const stream = () => {
  const s = new Stream.Readable()
  s._read = () => {}
  return s
}

const s1 = stream()
s1.pipe(stream64.encode()).pipe(process.stdout)
s1.push('Hello, ') // 'Hello,' -> SGVsbG8s
s1.push('world\n') // ' world' -> IHdvcmxk
s1.push(null) // '!\n' -> IQo=

const s2 = stream()
s2.pipe(stream64.decode()).pipe(process.stdout)
s2.push('SGVsbG8sIHd') // SGVsbG8s -> 'Hello,'
s2.push('vcmxkIQo=') // IHdvcmxkIQo= -> ' world!\n'
s2.push(null)
```

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