Built and signed on GitHub ActionsBuilt and signed on GitHub Actions
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
Published
a week ago (1.0.0-beta.19)
Provides JavaScript modules compliant with the File System Standard's WebIDL and algorithms.
▶WebIDL
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
View transparency logGitHub Actions
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";