</>PackageGraphPackageGraph

graceful-fs

npmv4.2.11

A drop-in replacement for fs, making various improvements.

Not recommended for new projects

No — graceful-fs should not be adopted for new projects. Last published 1273 days ago.

  • ?Adoption: grade ?, Not reported by this registry.

    No download data reported for this package yet.

  • FMaintenance: grade F, Failing.

    Last published 1273 days ago.

  • AWeight: grade A, Excellent.

    Zero runtime dependencies, about 32 KB installed.

  • BSupply chain: grade B, Good.

    This package has a single maintainer (bus factor of 1).

  • ALicense: grade A, Excellent.

    ISC — permissive, with no copyleft found in the dependency tree.

Grades are computed deterministically from registry metadata collected by PackageGraph — downloads, dependents, publish dates, the resolved dependency tree, maintainer count, and declared licenses. No third-party scores are used.

Install cost

What you actually take on by adding graceful-fs to a project.

0
Direct dependencies

Runtime packages this one declares itself.

0
Total installed

Distinct packages in the full runtime tree, deduplicated the way a package manager would.

32 KB
Install size

Unpacked size of this package plus its entire runtime tree.

Tree depth

Longest resolved dependency chain below this package.

Compatibility

Node.js
No constraint declared
Module format
CommonJS only
TypeScript
No bundled types
Install scripts
None

Quick start

A usage example from the graceful-fs README.

javascriptFull README ↗
// use just like fs
var fs = require('graceful-fs')

// now go and do stuff with it...
fs.readFile('some-file-or-whatever', (err, data) => {
  // Do stuff here.
})

graceful-fs vs the alternatives

Packages solving a similar problem in the npm ecosystem, compared on the signals that drive an adoption decision.

PackageWeekly downloadsDependentsLicenseLast release
graceful-fsthis page024ISC3 years ago
verror19.8M1MIT1 day ago
make-error01ISC1 day ago
p-limit293.1M5MIT1 day ago
http-errors149.4M7MIT1 day ago
fastq122.5M1ISC1 day ago

Dependencies

Declared by graceful-fs v4.2.11. Runtime dependencies are installed with the package; dev dependencies are not.

Dev (4)

import-fresh ^2.0.0mkdirp ^0.5.0rimraf ^2.2.8tap ^16.3.4

Used by

Popular packages that depend on graceful-fs.

jest-utilnpm

This packages is a collection of utilities and helper functions

104M/wk23 dependentsMITTS
jest-message-utilnpm

No description provided.

75.7M/wk9 dependentsMITTS
webpacknpm

Packs ECMAScript/CommonJs/AMD modules for the browser. Allows you to split your codebase into multiple bundles, which can be loaded on demand. Supports loaders to preprocess files, i.e. json, jsx, es7, css, less, ... and your custom stuff.

49.8M/wk29 dependentsMITTS
jest-runnernpm

No description provided.

43.7M/wk2 dependentsMITTS
@jest/reportersnpm

Jest's reporters

43.2M/wk1 dependentsMITTS
jest-snapshotnpm

No description provided.

0/wk7 dependentsMITTS
enhanced-resolvenpm

Offers a async require.resolve function. It's highly configurable.

0/wk1 dependentsMITTS
jest-haste-mapnpm

`jest-haste-map` is a module used by Jest, a popular JavaScript testing framework, to create a fast lookup of files in a project. It helps Jest efficiently locate and track changes in files during testing, making it particularly useful for large projects

0/wk8 dependentsMITTS
jest-resolvenpm

No description provided.

0/wk9 dependentsMITTS
jest-runtimenpm

No description provided.

0/wk4 dependentsMITTS
jest-confignpm

No description provided.

0/wk2 dependentsMITTS
watchpacknpm

Wrapper library for directory and file watching.

0/wk1 dependentsMITTS
@jest/transformnpm

No description provided.

0/wk6 dependentsMITTS
@jest/snapshot-utilsnpm

No description provided.

0/wk1 dependentsMITTS
@jest/source-mapnpm

Applies source maps to stack traces, so a failing test points at the code you wrote rather than at the code Jest ran.

0/wk2 dependentsMITTS
@jest/test-sequencernpm

No description provided.

0/wk2 dependentsMITTS
babel-jestnpm

Jest plugin to use babel for transformation.

0/wk16 dependentsMITTS
jest-circusnpm

[type-definitions]: https://github.com/jestjs/jest/blob/main/packages/jest-types/src/Circus.ts

0/wk2 dependentsMITTS
make-dirnpm

Make a directory and its parents if needed - Think `mkdir -p`

0/wk2 dependentsMITTS
metro-file-mapnpm

[Experimental] - 🚇 File crawling, watching and mapping for Metro

0/wk2 dependentsMITTS
metronpm

🚇 The JavaScript bundler for React Native.

0/wk6 dependentsMITTS
@jest/corenpm

Delightful JavaScript Testing.

0/wk2 dependentsMITTS
@react-native-community/clinpm

React Native CLI

0/wk3 dependentsMITTS
lessnpm

Leaner CSS

0/wk2 dependentsApache-2.0

Relationship graph

Dependencies (left) and dependents (right) of graceful-fs.

Frequently installed together

Release history

No releases in the last two years, typically about 38 days apart.

Recent versions of graceful-fs
VersionPublishedSizeLicense
4.2.11latest3 years ago32 KBISC
4.2.104 years ago32 KBISC
4.2.94 years ago31 KBISC
4.2.85 years ago31 KBISC
4.2.75 years ago29 KBISC
4.2.65 years ago28 KBISC
4.2.55 years ago28 KBISC
4.2.46 years ago27 KBISC
4.2.36 years ago27 KBISC
4.2.27 years ago27 KBISC
3.0.127 years ago18 KBISC
4.2.17 years ago26 KBISC
4.2.07 years ago26 KBISC
4.1.157 years ago25 KBISC
4.1.147 years ago25 KBISC

Overview

graceful-fs is an npm package that a drop-in replacement for fs, making various improvements. It has 24 known dependents in the graph. The latest version is 4.2.11, released under the ISC license.

Who should use it

Teams working in the npm ecosystem who need a drop-in replacement for fs, making various improvements and value a focused solution.

When not to use it

Consider an alternative if you need to have first-class TypeScript types out of the box, or if a more actively-maintained option better fits your npm stack.

Pros

  • Clear open-source license (ISC).

Cons

  • No bundled TypeScript types (may require a separate @types package).

Auto-generated from collected registry metadata. No external claims are inferred.

Maintainers

Keywords

Frequently asked questions

Should I use graceful-fs?

No — graceful-fs should not be adopted for new projects. Last published 1273 days ago.

How do I install graceful-fs?

Run `npm install graceful-fs` to add graceful-fs to your npm project.

What license is graceful-fs released under?

graceful-fs is distributed under the ISC license.

How popular is graceful-fs?

npm does not publish download counts. Within PackageGraph's crawl, 24 known packages depend on graceful-fs.

Is graceful-fs still maintained?

The most recent release of graceful-fs (v4.2.11) was published 3 years ago.

Does graceful-fs run install scripts?

No. graceful-fs does not define preinstall, install, or postinstall scripts, so installing it does not execute publisher-supplied code.