Skip to main content
Home

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

Helpers for working with the file system

This package works with Deno
This package works with Deno
JSR Score
94%
Published
2 weeks ago (1.0.19)

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

New Ticket: 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";