Skip to main content
Deno 2 is finally here ๐ŸŽ‰๏ธ
Learn more
Module

x/endofunctor/components/http/src/framework/optimizer/syncCheckDir_Bun.mjs>default

๐ŸŒ Vixeny: A runtime-agnostic, performance-centric library championing functional purity for modern web development.
Go to Latest
variable default
import { default } from "https://deno.land/x/endofunctor@v0.0.922/components/http/src/framework/optimizer/syncCheckDir_Bun.mjs";

Creates a function that searches through directories recursively and lists all files and directories along with a flag indicating if it's a directory.

Examples

const listFilesAndDirectories = myFunction(joinPathFunction, readDirectoryFunction, statsFunction); const items = listFilesAndDirectories('/path/to/directory');

type

(joiner) => unknown