https://github.com/blackaslight/encoding-stream
An extension of the @std/encoding module offering streaming methods of the base64, 32, and 16 methods.
https://github.com/blackaslight/encoding-stream
base32 base64 browser decoding deno encoding hex javascript stream typescript
Last synced: 5 months ago
JSON representation
An extension of the @std/encoding module offering streaming methods of the base64, 32, and 16 methods.
- Host: GitHub
- URL: https://github.com/blackaslight/encoding-stream
- Owner: BlackAsLight
- License: mit
- Created: 2024-03-19T05:49:21.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-07-17T04:16:02.000Z (about 1 year ago)
- Last Synced: 2024-07-17T06:46:46.956Z (about 1 year ago)
- Topics: base32, base64, browser, decoding, deno, encoding, hex, javascript, stream, typescript
- Language: TypeScript
- Homepage: https://jsr.io/@doctor/encoding-stream
- Size: 37.1 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Encoding Stream
Encoding Stream is a simple lib offering Streaming methods of the [@std/encoding](https://jsr.io/@std/encoding) module.
```ts
import { DecodeBase64Stream, EncodeBase64Stream } from '@doctor/encoding-stream'await (await Deno.open('./deno.json'))
.readable
.pipeThrough(new EncodeBase64Stream())
.pipeThrough(new DecodeBase64Stream())
.pipeTo(Deno.stdout.writable, { preventClose: true })
```