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
4,601 downloads per month
Used in 30 crates
(8 directly)
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