Skip to main content

Built and signed on GitHub Actions

An extension of the @std/encoding module offering streaming alternatives for the base64, base32, and hex methods.

This package works with Bun, Cloudflare Workers, Node.js, Deno, Browsers
JSR Score
100%
Published
2 weeks ago (1.2.7)

Encoding Stream

Encoding Stream is a simple lib offering Streaming methods of the @std/encoding module.

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 })
Built and signed on
GitHub Actions
View transparency log

Add Package

deno add @doctor/encoding-stream

Import symbol

import * as mod from "@doctor/encoding-stream";

Add Package

npx jsr add @doctor/encoding-stream

Import symbol

import * as mod from "@doctor/encoding-stream";

Add Package

yarn dlx jsr add @doctor/encoding-stream

Import symbol

import * as mod from "@doctor/encoding-stream";

Add Package

pnpm dlx jsr add @doctor/encoding-stream

Import symbol

import * as mod from "@doctor/encoding-stream";

Add Package

bunx jsr add @doctor/encoding-stream

Import symbol

import * as mod from "@doctor/encoding-stream";