🚀 Big News:Socket Has Acquired Secure Annex.Learn More →
Socket
Book a DemoSign in
Socket

@jsonjoy.com/fs-fsa

Package Overview
Dependencies
Maintainers
2
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@jsonjoy.com/fs-fsa

File System Access API implementation backed by core filesystem primitives

latest
Source
npmnpm
Version
4.57.2
Version published
Weekly downloads
5.4M
4.73%
Maintainers
2
Weekly downloads
 
Created
Source

@jsonjoy.com/fs-fsa

File System Access API implementation backed by @jsonjoy.com/fs-core primitives.

Provides a File System Access API implementation that works with the Superblock filesystem abstraction.

Installation

npm install @jsonjoy.com/fs-fsa

Usage

import { fsa } from '@jsonjoy.com/fs-fsa';

const { dir, core, FileSystemObserver } = fsa({ mode: 'readwrite' });

// Create a file
const fileHandle = await dir.getFileHandle('hello.txt', { create: true });
const writable = await fileHandle.createWritable();
await writable.write('Hello, World!');
await writable.close();

// Read a file
const file = await fileHandle.getFile();
const contents = await file.text();
console.log(contents); // 'Hello, World!'

License

Apache-2.0

Keywords

fsa

FAQs

Package last updated on 16 Apr 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts