Skip to main content
Module

x/importall/mod.ts>importAllTextFiles

Small Deno module to import all files in a directory.
Go to Latest
function importAllTextFiles
import { importAllTextFiles } from "https://deno.land/x/importall@v1.1.1/mod.ts";

Parameters

dir: string
optional
extensions: (string | undefined)[] = [UNSUPPORTED]

Returns

Promise<Record<string, string>>