Skip to main content

@std/fs@1.0.6
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
5 days ago (1.0.6)

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
View transparency log

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";