Skip to content

Latest commit

 

History

History
24 lines (15 loc) · 362 Bytes

README.md

File metadata and controls

24 lines (15 loc) · 362 Bytes

Bunland/fs

install

bun add @bunland/fs

Usage:

import { FS } from "@bunland/fs";

const fs = new FS();

fs.log("hello World");
await fs.writeFile("./example.txt", "hello world");
fs.log(await fs.exists("./example.txt"));
fs.log(await fs.openFile("./example.txt"));
fs.log(await fs.removeFile("./example.txt"));