deno/ext/io
Nathan Whitaker 9379a74e08
Some checks are pending
ci / publish canary (push) Blocked by required conditions
ci / pre-build (push) Waiting to run
ci / test debug linux-aarch64 (push) Blocked by required conditions
ci / test release linux-aarch64 (push) Blocked by required conditions
ci / test debug macos-aarch64 (push) Blocked by required conditions
ci / test release macos-aarch64 (push) Blocked by required conditions
ci / bench release linux-x86_64 (push) Blocked by required conditions
ci / lint debug linux-x86_64 (push) Blocked by required conditions
ci / lint debug macos-x86_64 (push) Blocked by required conditions
ci / lint debug windows-x86_64 (push) Blocked by required conditions
ci / test debug linux-x86_64 (push) Blocked by required conditions
ci / test release linux-x86_64 (push) Blocked by required conditions
ci / test debug macos-x86_64 (push) Blocked by required conditions
ci / test release macos-x86_64 (push) Blocked by required conditions
ci / test debug windows-x86_64 (push) Blocked by required conditions
ci / test release windows-x86_64 (push) Blocked by required conditions
ci / build libs (push) Blocked by required conditions
chore: update to edition 2024 (#29923)
2025-07-02 17:59:39 -07:00
..
12_io.js fix: process.stdin.pause() (#29330) 2025-05-17 18:46:26 +05:30
bi_pipe.rs chore: update to edition 2024 (#29923) 2025-07-02 17:59:39 -07:00
Cargo.toml 2.4.0 (#29959) 2025-07-01 16:21:05 -04:00
fs.rs chore: update to edition 2024 (#29923) 2025-07-02 17:59:39 -07:00
lib.rs chore: update to edition 2024 (#29923) 2025-07-02 17:59:39 -07:00
pipe.rs chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
README.md refactor: allow lazy main module (#28929) 2025-04-30 19:59:20 +00:00
winpipe.rs chore: update to edition 2024 (#29923) 2025-07-02 17:59:39 -07:00

deno_io

This crate provides IO primitives for other Deno extensions, this includes stdio streams and abstraction over File System files.

Usage Example

From javascript, include the extension's source:

import * as io from "ext:deno_io/12_io.js";

Then from rust, provide: deno_io::deno_io::init(Option<deno_io::Stdio>) in the extensions field of your RuntimeOptions

Where deno_io::Stdio implements Default, and can therefore be provided as Some(deno_io::Stdio::default())

Dependencies

  • deno_web: Provided by the deno_web crate
  • deno_tty: Provided in deno/runtime/ops/tty.rs