Skip to main content
Home

@std/fs@1.0.21
Built and signed on GitHub Actions

Works with
This package works with Deno
This package works with Deno
JSR Score94%
Downloads11,216/wk
Published4 weeks ago (1.0.21)

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

Report package

Please provide a reason for reporting this package. We will review your report and take appropriate action.

Please review the JSR usage policy before submitting a report.

Add Package

deno add jsr:@std/fs

Import symbol

import * as fs from "@std/fs";
or

Import directly with a jsr specifier

import * as fs from "jsr:@std/fs";