94 breaking releases

new 0.96.0 Jan 16, 2025
0.94.0 Dec 19, 2024
0.90.0 Nov 28, 2024
0.74.0 Jul 31, 2024
0.6.0 Mar 31, 2023

#645 in Filesystem

Download history 1458/week @ 2024-09-26 1496/week @ 2024-10-03 1293/week @ 2024-10-10 1485/week @ 2024-10-17 1582/week @ 2024-10-24 1356/week @ 2024-10-31 1196/week @ 2024-11-07 822/week @ 2024-11-14 1345/week @ 2024-11-21 1398/week @ 2024-11-28 1622/week @ 2024-12-05 1426/week @ 2024-12-12 1082/week @ 2024-12-19 500/week @ 2024-12-26 581/week @ 2025-01-02 1032/week @ 2025-01-09

3,488 downloads per month
Used in 30 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