deno/ext/io
denobot 4c1cdfc9a4
2.5.1 (#30753)
Bumped versions for 2.5.1

---------

Co-authored-by: bartlomieju <bartlomieju@users.noreply.github.com>
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2025-09-17 01:58:00 +02:00
..
12_io.js fix(io): do not autoClose stdin readable stream (#30345) 2025-08-07 18:27:56 +05:30
bi_pipe.rs fix(unstable): fix json repl bugs (#30415) 2025-08-16 17:38:14 +02:00
Cargo.toml 2.5.1 (#30753) 2025-09-17 01:58:00 +02:00
fs.rs Revert "fix(ext/node): fs.stat and fs.statSync compatibility (#30… (#30741) 2025-09-15 19:25:47 -04:00
lib.rs fix(ext/node): implement fchmod on windows (#30704) 2025-09-16 09:22:37 -04: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