Node fs API in-memory implementation

July 31, 2025 ยท View on GitHub

In-memory file-system with Node's fs API.

  • Node's fs API implemented, see missing list
  • Stores files in memory, in Buffers
  • Throws sameish* errors as Node.js
  • Has concept of i-nodes
  • Implements hard links
  • Implements soft links (aka symlinks, symbolic links)
  • Can be used in browser, see /demo folder

Docs

  • Getting started
  • Reference
  • Relative paths
  • Dependencies