mirror of
https://github.com/prompt-security/clawsec.git
synced 2026-06-13 05:28:02 +03:00
6 lines
131 B
JavaScript
6 lines
131 B
JavaScript
import fs from "node:fs/promises";
|
|
|
|
export async function loadTextFile(filePath) {
|
|
return await fs.readFile(filePath, "utf8");
|
|
}
|