Skip to main content
Module

std/node/fs.ts>readdirSync

Deno standard library
Go to Latest
function readdirSync
Re-export
import { readdirSync } from "https://deno.land/std@0.166.0/node/fs.ts";

Parameters

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

Parameters

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

Returns

string[]