3. Used by agents' projects
Dependency in 11 public GitHub projects set up for AI coding agents that we scanned (0.2%).
4. Agent access
Agent skills for this library in the skills catalog; community skills are written by others, read them before you install.
From the package registry and GitHub, checked daily. Tap a verdict to see its source.How we checkedReport an error
What mock-fs does
Mock file system for Node.js tests.
mock-fs popularity
37 / 100
Gid Score, #3398 overall
1.3M
downloads a week, npm
919
GitHub stars
11
agent projects use it
Gid Score measures public popularity and activity, not quality. How the Gid Score is calculated
How mock-fs is used
- mock-fs joined the catalog on its public numbers (1,297,818 downloads a week on npm and 919 GitHub stars), not on our project count: it is a dependency in 13 public GitHub projects of our scan, 11 of them set up for AI coding agents.
- Projects that use it most often also use dotenv (92.3%), tsx (92.3%), Zod (92.3%).
- It is more common in projects set up for Kiro (5.0%) than for Claude Code (0.3%).
By coding agent
Often used with
In 92.3% of its projects
In 92.3% of its projects
In 92.3% of its projects
In 84.6% of its projects
In 84.6% of its projects
In 84.6% of its projects
In 76.9% of its projects
In 76.9% of its projects
More about mock-fs
Alternatives
mock-fs This page
MITGid 371.3M/wk
Get started
Install it.
npm install mock-fsNo step-by-step start for mock-fs yet: we have not written its hand-checked card.