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 Cloudflare Workers, Node.js, Deno, Bun, Browsers
This package works with Cloudflare Workers
This package works with Node.js
This package works with Deno
This package works with Bun
This package works with Browsers
JSR Score
100%
Published
2 months ago (1.2.7)
class DecodeBase64Stream

Based off the @std/encoding module, offering a streaming alternative for decodeBase64

Examples

Example 1

import { DecodeBase64Stream } from '@doctor/encoding-stream/base64'

await (await Deno.open('./base64.txt'))
  .readable
  .pipeThrough(new TextDecoderStream())
  .pipeThrough(new DecodeBase64Stream())
  .pipeTo((await Deno.create('./deno.json')).writable)

Constructors

new
DecodeBase64Stream()

Add Package

deno add @doctor/encoding-stream

Import symbol

import { DecodeBase64Stream } from "@doctor/encoding-stream/base64";

Add Package

npx jsr add @doctor/encoding-stream

Import symbol

import { DecodeBase64Stream } from "@doctor/encoding-stream/base64";

Add Package

yarn dlx jsr add @doctor/encoding-stream

Import symbol

import { DecodeBase64Stream } from "@doctor/encoding-stream/base64";

Add Package

pnpm dlx jsr add @doctor/encoding-stream

Import symbol

import { DecodeBase64Stream } from "@doctor/encoding-stream/base64";

Add Package

bunx jsr add @doctor/encoding-stream

Import symbol

import { DecodeBase64Stream } from "@doctor/encoding-stream/base64";