95 breaking releases

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

#593 in Filesystem

Download history 1482/week @ 2024-10-08 1471/week @ 2024-10-15 1527/week @ 2024-10-22 1323/week @ 2024-10-29 1477/week @ 2024-11-05 834/week @ 2024-11-12 1218/week @ 2024-11-19 1418/week @ 2024-11-26 1188/week @ 2024-12-03 1668/week @ 2024-12-10 1456/week @ 2024-12-17 542/week @ 2024-12-24 475/week @ 2024-12-31 923/week @ 2025-01-07 1369/week @ 2025-01-14 867/week @ 2025-01-21

3,722 downloads per month
Used in 31 crates (9 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