Skip to main content

@std/io@0.225.0

UNSTABLE: The utilities for advanced I/O operations using Reader and Writer interfaces.

This package works with DenoIt is unknown whether this package works with Cloudflare Workers, Node.js, Bun, Browsers
It is unknown whether this package works with Cloudflare Workers
It is unknown whether this package works with Node.js
This package works with Deno
It is unknown whether this package works with Bun
It is unknown whether this package works with Browsers
JSR Score
88%
Published
a month ago (0.225.0)

Utilities for working with Deno's readers, writers, and web streams.

Reader and Writer interfaces are deprecated in Deno, and so many of these utilities are also deprecated. Consider using web streams instead.

import { toReadableStream, toWritableStream } from "@std/io";

await toReadableStream(Deno.stdin)
  .pipeTo(toWritableStream(Deno.stdout));

Add Package

deno add jsr:@std/io

Import symbol

import * as io from "@std/io";

---- OR ----

Import directly with a jsr specifier

import * as io from "jsr:@std/io";

Add Package

npx jsr add @std/io

Import symbol

import * as io from "@std/io";

Add Package

yarn dlx jsr add @std/io

Import symbol

import * as io from "@std/io";

Add Package

pnpm dlx jsr add @std/io

Import symbol

import * as io from "@std/io";

Add Package

bunx jsr add @std/io

Import symbol

import * as io from "@std/io";