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
2 months ago (0.225.0)

Enums

E
SeekMode

A enum which defines the seek mode for IO related APIs that support seeking.

Interfaces

I
Closer

An abstract interface which when implemented provides an interface to close files/resources that were previously opened.

I
Reader

An abstract interface which when implemented provides an interface to read bytes into an array buffer asynchronously.

I
ReaderSync

An abstract interface which when implemented provides an interface to read bytes into an array buffer synchronously.

I
Seeker

An abstract interface which when implemented provides an interface to seek within an open file/resource asynchronously.

I
SeekerSync

An abstract interface which when implemented provides an interface to seek within an open file/resource synchronously.

I
Writer

An abstract interface which when implemented provides an interface to write bytes from an array buffer to a file/resource asynchronously.

I
WriterSync

An abstract interface which when implemented provides an interface to write bytes from an array buffer to a file/resource synchronously.

Add Package

deno add jsr:@std/io

Import symbol

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

---- OR ----

Import directly with a jsr specifier

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

Add Package

npx jsr add @std/io

Import symbol

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

Add Package

yarn dlx jsr add @std/io

Import symbol

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

Add Package

pnpm dlx jsr add @std/io

Import symbol

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

Add Package

bunx jsr add @std/io

Import symbol

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