Skip to main content
Home
It is unknown whether this package works with Cloudflare Workers, Node.js, Deno, Bun, Browsers
It is unknown whether this package works with Cloudflare Workers
It is unknown whether this package works with Node.js
It is unknown whether this package works with Deno
It is unknown whether this package works with Bun
It is unknown whether this package works with Browsers
JSR Score
76%
Published
3 weeks ago (0.1.0)

A simple, platform-agnostic interface for file systems: paths, files and directories, and that is it. No symlinks, no hardlinks, no metadata, no locking. Intended to be backed by implementations for different typescript runtimes and/or platforms (or runtime-agnostic in-memory backends for non-persistent use-cases).

The exact functionality of simple file systems is defined in the SimpleFilesystem interface. We provide only a simple in-memory implementation of that interface — the MemoryFs. Persistent, platform-specific implementations must be imported from other packages, such as simple-fs-deno for Deno.

The Path class describes paths in the simple fs. See the Pathish type for working not only with Paths but also with strings which can be parsed into paths.

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:@wormblossom/simple-fs-abstraction

Import symbol

import * as simple_fs_abstraction from "@wormblossom/simple-fs-abstraction";
or

Import directly with a jsr specifier

import * as simple_fs_abstraction from "jsr:@wormblossom/simple-fs-abstraction";

Add Package

pnpm i jsr:@wormblossom/simple-fs-abstraction
or (using pnpm 10.8 or older)
pnpm dlx jsr add @wormblossom/simple-fs-abstraction

Import symbol

import * as simple_fs_abstraction from "@wormblossom/simple-fs-abstraction";

Add Package

yarn add jsr:@wormblossom/simple-fs-abstraction
or (using Yarn 4.8 or older)
yarn dlx jsr add @wormblossom/simple-fs-abstraction

Import symbol

import * as simple_fs_abstraction from "@wormblossom/simple-fs-abstraction";

Add Package

vlt install jsr:@wormblossom/simple-fs-abstraction

Import symbol

import * as simple_fs_abstraction from "@wormblossom/simple-fs-abstraction";

Add Package

npx jsr add @wormblossom/simple-fs-abstraction

Import symbol

import * as simple_fs_abstraction from "@wormblossom/simple-fs-abstraction";

Add Package

bunx jsr add @wormblossom/simple-fs-abstraction

Import symbol

import * as simple_fs_abstraction from "@wormblossom/simple-fs-abstraction";