# fs-extra: 6.1 out of 10

Reasonable, with limits. 9th of 9 in [Globs and file watching](https://elestia.ai/opensource/files/index.md).

fs-extra is the long-standing Node.js library that adds copy, remove, move, ensureDir, emptyDir and JSON helpers on top of fs. It is stable, carefully maintained and safe. But since Node 22, built-in fs.cp, fs.rm and fs.mkdir with recursive cover most of what it does, so a new project usually does not need it.

**Best for:** Node projects that want proven, edge-case-hardened copy, move and ensure helpers behind one API, or that must support Node versions older than 22.

## Scores

- **Overall: 6.1** (likely 5.0 to 7.1)
  - Claude Opus 5.5 (5.5): It is a solid, safe and well-kept library, and keeping it where it already runs is fine. For a new project on Node 22 or later, built-in fs.cp, fs.rm and fs.mkdir do most of the job without a dependency. It also does not cover globbing or watching, where tinyglobby, fast-glob and chokidar are the picks.
  - GPT-6.2 Sol (6.6): fs-extra is a reasonable new dependency when cross-device moves, directory cleanup, and JSON output recur throughout a Node.js project. Start with node:fs for routine copies and removals, and consider tinyglobby for pattern matching or Chokidar for richer watch events. Continued patch releases support the recommendation, and the range reflects how much code the extra helpers save in a given project.
- **Needed by many: 5.4** (likely 4.3 to 6.5)
  - Claude Opus 5.5 (6.0): Many Node developers copy, move or delete files in build scripts, CLIs and tooling, so a large group needs this job. The project only does the copy, delete and ensure part of the category, with no globbing or watching. It only runs on Node-compatible runtimes.
  - GPT-6.2 Sol (4.7): Copying and cleaning directories are common in Node.js build tools, CLIs, and desktop packaging. Modern Node.js covers the basic operations, which narrows the audience for a separate package. The survey measures Node.js use and leaves the share of projects that need these extra helpers uncertain.
- **Helps a lot: 6.8** (likely 5.8 to 7.9)
  - Claude Opus 5.5 (6.5): The copy, move and ensure logic is battle-tested and keeps getting fixes for edge cases with symlinks, Windows and cross-device moves. Native fs.cp and fs.rm now do most of this with no dependency, which takes away much of its advantage. It has no bundled types and is CommonJS-first, with ESM only through a subpath.
  - GPT-6.2 Sol (7.1): Version 11.4.1 has well-documented copy and move helpers, including copy filters, timestamp preservation, and cross-device moves. Its short examples make routine calls easy to generate, while TypeScript needs separate declarations and globbing and watching inherit Node.js behavior where available. The current documentation establishes the feature set, and comparative performance remains uncertain.
- **Holds up over time: 6.6** (likely 5.3 to 7.7)
  - Claude Opus 5.5 (6.5): Six npm releases and 25 commits in the last year show careful bug-fix maintenance with no breaking changes since 11.0 in 2022. The work rests on a small group of volunteers with no visible funding. The ecosystem is slowly moving to native fs, which limits how much it will matter in two years, but the package is unlikely to break.
  - GPT-6.2 Sol (6.7): The project made 25 commits and published six npm versions in a year, all within the established 11.x line. Response times vary. A symlink-related copy fix shipped in about six weeks, while a Unicode rename report took more than five years to close. Frequent patch releases support a two-year outlook, while publication by one recent maintainer and migration to Node.js built-ins limit confidence.
- **Used widely: 7.7** (likely 6.6 to 8.7)
  - Claude Opus 5.5 (7.5): About 1.2 billion downloads in 4 weeks and about 3.6 million dependent repos put it among the most used packages in the category. Much of that comes through other tools and old codebases. Its growth ratio of about 2.4 is far below the 4.1 median, so new projects pick it less and less.
  - GPT-6.2 Sol (7.8): ecosyste.ms found 3.61 million dependent repositories, second to globby among peers with a count. Four-week downloads rose 2.44× year over year, below the 4.1× catalog median and behind tinyglobby and Chokidar, so fs-extra lost ground on that measure despite rising installs. Automated builds and transitive installs through tools such as electron-builder make it hard to estimate how often new projects choose it directly.
- **Vouched for: 6.2** (likely 4.9 to 7.3)
  - Claude Opus 5.5 (6.0): Many large tools have depended on it for years, which shows real use in production. Current independent voices, such as e18e, now recommend replacing it with native fs. There is almost no recent community discussion, with zero HN and Bluesky mentions.
  - GPT-6.2 Sol (6.4): Electron-builder uses fs-extra in its packaging code, and the GitLab VS Code extension uses it as a development dependency. The independent e18e comparison documents meaningful differences in copy and move behavior, while vite-plugin-static-copy found the built-ins sufficient for its use. These sources show practical value, with limited evidence on current comparative speed or developer satisfaction.
- **Safe: 7.3** (likely 6.2 to 8.3)
  - Claude Opus 5.5 (7.5): It has no advisories ever, only three small dependencies and an MIT licence. The OpenSSF Scorecard of 5.1 shows weak process checks, with no branch protection, security policy, pinned dependencies or SAST.
  - GPT-6.2 Sol (7.0): The MIT license and three runtime dependencies keep the dependency footprint small. OSV lists zero advisories, and Aikido reports a low-severity issue in older versions that was fixed in 11.3.6. The 5.1 OpenSSF Scorecard flags unpinned workflow dependencies, missing branch protection, and a missing security policy. npm lists three collaborators, while one account published the recent versions and release signing remains unverified.

## Good

- Very mature copy and move code, with recent fixes for symlinks, Windows, APFS and moves across devices.
- Small dependency tree (graceful-fs, jsonfile, universalify), an MIT licence and no known advisories.
- One familiar API in promise, callback and sync forms, plus helpers such as outputFile, emptyDir and readJson.
- Used so widely that AI agents and developers rarely get its API wrong.

## Bad

- Native node:fs now covers copy, recursive remove and mkdir, and e18e lists fs-extra as replaceable by built-ins.
- It ships no types of its own, so TypeScript users need @types/fs-extra, and ESM named exports need the fs-extra/esm subpath.
- Its download growth (about 2.4x a year) is well below the 4.1x median, so it is losing share.
- It does not glob or watch files, so it covers only the copy and delete part of the category's job.

## The numbers

- Downloads, 4 weeks: 1.2B
- In a year: ×2.4
- GitHub stars: 9.6k
- Commits, 12 months: 25
- Last npm release: Sept 2026
- Advisories, 24 months: 0
- Licence: MIT
- GitHub: https://github.com/jprichardson/node-fs-extra
- npm: https://www.npmjs.com/package/fs-extra

Scores run from 0 to 10 and are the mean of the scores of AI reviewers (Claude Opus 5.5, GPT-6.2 Sol), made on 22 November 2026 from GitHub, npm, OSV, OpenSSF Scorecard, ecosyste.ms, Hacker News and Bluesky data and a web search. The ecosyste.ms count of repositories that use a project is far too low for projects that grew in the last few years, and some reviews quote it. Overall is the reviewers' own judgement for a new project today, not an average of the parts. An AI wrote them and can be wrong.
