@eggjs/loader-fs
Loader-facing filesystem abstraction for Egg
Last updated 5 months ago by GitHub Actions .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ npm install @eggjs/loader-fs 
SYNC missed versions from official npm registry.

@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.

Current Tags

  • 1.0.0-beta.27                                ...           beta (2 months ago)
  • 1.1.0                                ...           latest (2 months ago)
  • 1.0.0-rc.1                                ...           rc (2 months ago)

21 Versions

  • 1.1.0                                ...           2 months ago
  • 1.0.0                                ...           2 months ago
  • 1.0.0-rc.1                                ...           2 months ago
  • 1.0.0-rc.0                                ...           2 months ago
  • 1.0.0-beta.27                                ...           2 months ago
  • 1.0.0-beta.26                                ...           4 months ago
  • 1.0.0-beta.25                                ...           4 months ago
  • 1.0.0-beta.24                                ...           4 months ago
  • 1.0.0-beta.23                                ...           5 months ago
  • 1.0.0-beta.22                                ...           5 months ago
  • 1.0.0-beta.20                                ...           5 months ago
  • 1.0.0-beta.19                                ...           5 months ago
  • 1.0.0-beta.17                                ...           5 months ago
  • 1.0.0-beta.16                                ...           5 months ago
  • 1.0.0-beta.15                                ...           5 months ago
  • 1.0.0-beta.14                                ...           5 months ago
  • 1.0.0-beta.13                                ...           5 months ago
  • 1.0.0-beta.12                                ...           5 months ago
  • 1.0.0-beta.11                                ...           5 months ago
  • 1.0.0-beta.10                                ...           5 months ago
  • 0.0.0                                ...           5 months ago
Downloads
Total 55
Today 0
This Week 3
This Month 33
Last Day 2
Last Week 30
Last Month 19
Dependencies (3)
Dev Dependencies (4)

© 2010 - cnpmjs.org x YWFE | Home | YWFE