93 breaking releases

new 0.95.0 Jan 9, 2025
0.94.0 Dec 19, 2024
0.93.0 Dec 17, 2024
0.90.0 Nov 28, 2024
0.6.0 Mar 31, 2023

#644 in Filesystem

Download history 1204/week @ 2024-09-22 1531/week @ 2024-09-29 1458/week @ 2024-10-06 1485/week @ 2024-10-13 1484/week @ 2024-10-20 1370/week @ 2024-10-27 1365/week @ 2024-11-03 1052/week @ 2024-11-10 1139/week @ 2024-11-17 1292/week @ 2024-11-24 1317/week @ 2024-12-01 1674/week @ 2024-12-08 1438/week @ 2024-12-15 661/week @ 2024-12-22 461/week @ 2024-12-29 672/week @ 2025-01-05

3,296 downloads per month
Used in 30 crates (8 directly)

MIT license

75KB
2K SLoC

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_ops_and_esm(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

Dependencies

~89MB
~1.5M SLoC