Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Go to Latest
function readdirSync
import { readdirSync } from "https://deno.land/std@0.126.0/node/_fs/_fs_readdir.ts";

Parameters

path: string | Buffer | URL
options: { withFileTypes: true; encoding?: string; }

Returns

Dirent[]

Parameters

path: string | Buffer | URL
optional
options: { withFileTypes?: false; encoding?: string; }

Returns

string[]