pub async fn readdir_with_options(
path: &str,
options: Object,
) -> Result<JsValue, JsValue>Expand description
Asynchronously reads the contents of the directory at path, applying the
given options (e.g. withFileTypes, recursive, encoding).