90 breaking releases

new 0.92.0 Dec 11, 2024
0.90.0 Nov 28, 2024
0.74.0 Jul 31, 2024
0.53.0 Mar 28, 2024
0.6.0 Mar 31, 2023

#568 in Filesystem

Download history 1123/week @ 2024-08-21 1187/week @ 2024-08-28 1096/week @ 2024-09-04 848/week @ 2024-09-11 1061/week @ 2024-09-18 1178/week @ 2024-09-25 1612/week @ 2024-10-02 1473/week @ 2024-10-09 1453/week @ 2024-10-16 1507/week @ 2024-10-23 1297/week @ 2024-10-30 1439/week @ 2024-11-06 813/week @ 2024-11-13 1298/week @ 2024-11-20 1347/week @ 2024-11-27 1006/week @ 2024-12-04

4,601 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