Skip to main content
Module

x/deno/js/read_dir.ts>readDirSync

A modern runtime for JavaScript and TypeScript.
Go to Latest
function readDirSync
import { readDirSync } from "https://deno.land/x/deno@v0.17.0/js/read_dir.ts";

Reads the directory given by path and returns a list of file info synchronously.

  const files = Deno.readDirSync("/");

Parameters

path: string