Skip to main content

@miyauci/fs@1.0.0-beta.19
Built and signed on GitHub Actions

File System Standard, based on WHATWG spec reference implementation

This package works with Node.js, Deno, BrowsersIt is unknown whether this package works with Cloudflare Workers, Bun
It is unknown whether this package works with Cloudflare Workers
This package works with Node.js
This package works with Deno
It is unknown whether this package works with Bun
This package works with Browsers
Published
a week ago (1.0.0-beta.19)

Provides JavaScript modules compliant with the File System Standard's WebIDL and algorithms.

Examples

WebIDL

import {
  FileSystemObserver,
  type FileSystemObserverCallback,
} from "@miyauci/fs";

declare const callback: FileSystemObserverCallback;
const observer = new FileSystemObserver(callback);
import {
  createNewFileSystemDirectoryHandle,
  type FileSystem,
  type FileSystemLocator,
  type FileSystemPath,
  locateEntry,
} from "@miyauci/fs";
declare const fileSystem: FileSystem;
declare const path: FileSystemPath;
const handle = createNewFileSystemDirectoryHandle(fileSystem, path);

declare const locator: FileSystemLocator;
const entry = locateEntry(locator);
Built and signed on
GitHub Actions
View transparency log

Add Package

deno add @miyauci/fs

Import symbol

import * as mod from "@miyauci/fs";

---- OR ----

Import directly with a jsr specifier

import * as mod from "jsr:@miyauci/fs";

Add Package

npx jsr add @miyauci/fs

Import symbol

import * as mod from "@miyauci/fs";

Add Package

yarn dlx jsr add @miyauci/fs

Import symbol

import * as mod from "@miyauci/fs";

Add Package

pnpm dlx jsr add @miyauci/fs

Import symbol

import * as mod from "@miyauci/fs";

Add Package

bunx jsr add @miyauci/fs

Import symbol

import * as mod from "@miyauci/fs";