This release is 12 versions behind 1.0.20 — the latest version of @std/fs. Jump to latest
Built and signed on GitHub ActionsBuilt and signed on GitHub Actions
Built and signed on GitHub Actions
Helpers for working with the file system
Helpers for working with the filesystem.
import { ensureFile, copy, ensureDir, move } from "@std/fs"; await ensureFile("example.txt"); await copy("example.txt", "example_copy.txt"); await ensureDir("subdir"); await move("example_copy.txt", "subdir/example_copy.txt");
Built and signed on
GitHub Actions
Add Package
deno add jsr:@std/fs
Import symbol
import * as fs from "@std/fs";
Import directly with a jsr specifier
import * as fs from "jsr:@std/fs";