Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@kba/vfs

kba65MIT0.1.0

Virtual File Systems with a node fs-like API

readme

vfs

A virtual filesystem that works like fs

Build Status

Currently implemented

  • file - a VFS that mirrors the local filesystem
  • zip - a VFS on top of ZIP content
  • tar - a VFS on top of tarball content (compressions: gzip, bzip2, xz)

Creating a new VFS

  • Subclass vfs.base
  • Override
    • _stat
    • _readdir