fs-extra
Reasonable, with limits. 9th of 9 globs and file watching.
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
Overall6.1
How strongly do we recommend it for a new project today?
Claude Opus 5.5: 5.5, likely 4.5 to 6.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.
- e18e.dev/docs/replacements/fs-extra: Native fs replaces most methods
- github.com/jprichardson/node-fs-extra/blob/master/CHANGELOG.md: Maintained with careful bug-fix releases
- npm downloadsSame4WeeksYearAgo: Growth below median
GPT-6.2 Sol: 6.6, likely 5.5 to 7.7
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.
- github.com/jprichardson/node-fs-extra/blob/master/CHANGELOG.md: The stable 11.x series continues to get filesystem fixes.
- nodejs.org/download/release/v24.0.0/docs/api/fs.html: Modern Node.js includes recursive copy and removal.
- github.com/SuperchupuDev/tinyglobby: Dedicated tool for finding files by pattern.
- github.com/paulmillr/chokidar: Dedicated watcher with normalized cross-platform events.
Needed by many5.4
How many developers need a tool for this job?
Claude Opus 5.5: 6.0, likely 5.0 to 7.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.
- github description: Extra fs methods: copy, remove, mkdirs
- e18e.dev/docs/replacements/fs-extra: API surface maps to file copy, remove, mkdir and JSON helpers
GPT-6.2 Sol: 4.7, likely 3.6 to 5.9
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.
- survey.stackoverflow.co/2026/technology/data: 46.4% of respondents to the web technology question reported using Node.js.
- github.com/jprichardson/node-fs-extra: Documents a Node.js filesystem extension centered on file operations.
- github.com/e18e/module-replacements/blob/main/docs/modules/fs-extra.md: Maps common helpers to built-in Node.js APIs.
Helps a lot6.8
How well does it do the job for those who need it?
Claude Opus 5.5: 6.5, likely 5.5 to 7.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.
- github.com/jprichardson/node-fs-extra/blob/master/CHANGELOG.md: Steady 11.3.x and 11.4.x bug fixes for symlinks, Windows and APFS
- e18e.dev/docs/replacements/fs-extra: Native fs equivalents for nearly every method, with small behaviour differences
- npm hasTypes: No bundled TypeScript types
GPT-6.2 Sol: 7.1, likely 6.0 to 8.2
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.
- github.com/jprichardson/node-fs-extra/blob/master/docs/copy.md: Documents copy filters, overwrite behavior, and timestamp preservation.
- github.com/jprichardson/node-fs-extra/blob/master/docs/move.md: Documents cross-device moves and overwrite behavior.
- github.com/jprichardson/node-fs-extra/blob/master/lib/fs/index.js: Wraps available Node.js filesystem methods, including native glob.
- npmjs.com/package/%40types/fs-extra?activeTab=versions: TypeScript declarations are published separately.
- github.com/jprichardson/node-fs-extra/blob/master/lib/esm.mjs: The ESM subpath exports the extra helpers.
Holds up over time6.6
Will it still be a good choice in two years?
Claude Opus 5.5: 6.5, likely 5.0 to 7.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.
- npm versionsLastYear: 6 versions, latest 11.4.1 on 2026-09-22
- github commitsLastYear: 25 commits, 12 open issues
- github.com/jprichardson/node-fs-extra/issues: Small issue backlog; long-open issue about fs.cp coming to Node core
GPT-6.2 Sol: 6.7, likely 5.5 to 7.9
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.
- github commitsLastYear and npm versionsLastYear: 25 commits and six npm publications despite zero GitHub Releases.
- github.com/jprichardson/node-fs-extra/blob/master/CHANGELOG.md: Recent releases fix filesystem edge cases within 11.x.
- github.com/jprichardson/node-fs-extra/issues/1071: Copy issue reported in May 2026 and fixed in June.
- github.com/jprichardson/node-fs-extra/issues/859: Unicode rename report from 2021 was fixed in 2026.
- socket.dev/npm/package/fs-extra/versions: One account published all six versions in the review window.
- github.com/sapphi-red/vite-plugin-static-copy/pull/204: A downstream copy plugin moved to Node.js built-ins.
Used widely7.7
How many use it, and is that growing?
Claude Opus 5.5: 7.5, likely 6.5 to 8.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.
- npm downloadsLast4Weeks: 1.22B, versus 0.50B a year ago (ratio about 2.4)
- dependents repos: 3.6M repos and 73.8k packages
- medianDownloadsRatio: Median is 4.1, so it is losing share
GPT-6.2 Sol: 7.8, likely 6.6 to 8.9
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.
- dependents repos and packages: 3.61 million tracked repositories and 73,834 tracked packages.
- npm downloadsLast4Weeks, npm downloadsSame4WeeksYearAgo, and medianDownloadsRatio: 1.22 billion versus 500 million downloads, a 2.44× increase against a 4.1× baseline.
- peers: Only globby has a higher measured repository count. Tinyglobby and Chokidar grew faster.
- github stars, hackerNews stories, and bluesky posts: 9,595 stars and zero matched stories or posts in the bundle.
- github.com/electron-userland/electron-builder/blob/master/packages/app-builder-lib/src/packager.ts: Electron-builder uses fs-extra in its packager, bringing it into downstream installs.
Vouched for6.2
Who stands behind it being good?
Claude Opus 5.5: 6.0, likely 4.5 to 7.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.
- dependents packages: 73.8k npm packages depend on it
- e18e.dev/docs/replacements/fs-extra: Ecosystem-cleanup group recommends native replacements
- bluesky posts: 0 posts, 0 HN stories
GPT-6.2 Sol: 6.4, likely 5.2 to 7.6
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.
- github.com/electron-userland/electron-builder/blob/master/packages/app-builder-lib/src/packager.ts: Uses fs-extra helpers in the packaging implementation.
- gitlab.com/gitlab-org/gitlab-vscode-extension/-/merge_requests/3370: A 2026 update records direct development use in GitLab's extension.
- github.com/e18e/module-replacements/blob/main/docs/modules/fs-extra.md: Independent comparison identifies copy semantics and cross-device move differences.
- github.com/sapphi-red/vite-plugin-static-copy/pull/204: Maintainers adopted native file APIs for the plugin's copy workflow.
Safe7.3
How safe is it to depend on?
Claude Opus 5.5: 7.5, likely 6.5 to 8.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.
- advisories total: 0 advisories
- npm dependencies: 3 runtime dependencies
- scorecard score: 5.1; Branch-Protection, Security-Policy and Pinned-Dependencies all 0
GPT-6.2 Sol: 7.0, likely 5.8 to 8.1
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.
- npm license and dependencies: MIT license and three direct runtime dependencies.
- advisories total: The OSV snapshot contains zero advisories.
- intel.aikido.dev/packages/npm/fs-extra: Reports a low-severity issue through 11.3.5 and lists 11.3.6 onward as unaffected.
- scorecard score and checks: 5.1 overall, with zeroes for dependency pinning, branch protection, and security policy.
- npmjs.com/package/fs-extra?activeTab=dependencies: The registry lists three collaborators.
- socket.dev/npm/package/fs-extra/versions: Recent npm publications came from one account.
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
- npm downloads, 4 weeks
- 1.2B ×2.4 in a year
- GitHub stars
- 9.6k
- Commits, 12 months
- 25
- npm version
- 11.4.1 Sept 2026
- Versions, 12 months
- 6
- Advisories, 24 months
- 0 of 0 ever
- OpenSSF Scorecard
- 5.1 out of 10, Nov 2026
- Licence
- MIT
Read on 21 November 2026 from GitHub (jprichardson/node-fs-extra), npm (fs-extra), OSV and the OpenSSF Scorecard.