New:Introducing Socket Scanning for VS Code Marketplace Extensions.Learn more →
Get Started

@eggjs/loader-fs

Package Overview
Dependencies
Maintainers
10
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@eggjs/loader-fs

Loader-facing filesystem abstraction for Egg

Source
npmnpm
Version
1.0.0-rc.0
Version published
Weekly downloads
490
-82.74%
Maintainers
10
Weekly downloads
 
Created
Source

@eggjs/loader-fs

Loader-facing filesystem abstraction for Egg loaders and bundled runtimes.

Usage

import { RealLoaderFS, type LoaderFS } from '@eggjs/loader-fs';

const loaderFS: LoaderFS = new RealLoaderFS();

LoaderFS intentionally covers only the operations required by loader code: exists, stat, realpath, readJSON, glob, and loadFile. A source with an authoritative, precomputed directory view may also implement getKnownFiles; undefined means discovery should fall back to glob, while an empty array means the directory is authoritatively empty.

Keywords

egg

FAQs

Package last updated on 23 Sep 2026

Related posts