@std/fs standard library MIT engine >= 0.1.0
Filesystem one-shots, file handles, and path helpers.
import { fs } from "@std/fs"; overview
Reach for @std/fs when a program persists anything. Bare names are sync and blocking one-shots (readText/writeText/copy/remove) with *Async twins on the process-wide pool; File handles carry a cursor with seek/tell plus advisory locks; Path covers joins and queries; mmap maps files into unsafe memory.
capabilities
- One-shot read/write plus *Async twins
- File handles with cursor and locks
- Path helpers
- Mmap address mapping
No API data yet