graceful-fs
npmv4.2.11A 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.
Runtime packages this one declares itself.
Distinct packages in the full runtime tree, deduplicated the way a package manager would.
Unpacked size of this package plus its entire runtime tree.
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.
// 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.
| Package | Weekly downloads | Dependents | License | Last release |
|---|---|---|---|---|
| graceful-fsthis page | 0 | 24 | ISC | 3 years ago |
| verror | 19.8M | 1 | MIT | 1 day ago |
| make-error | 0 | 1 | ISC | 1 day ago |
| p-limit | 293.1M | 5 | MIT | 1 day ago |
| http-errors | 149.4M | 7 | MIT | 1 day ago |
| fastq | 122.5M | 1 | ISC | 1 day ago |
Dependencies
Declared by graceful-fs v4.2.11. Runtime dependencies are installed with the package; dev dependencies are not.
Dev (4)
Used by
Popular packages that depend on graceful-fs.
This packages is a collection of utilities and helper functions
No description provided.
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.
No description provided.
Jest's reporters
No description provided.
Offers a async require.resolve function. It's highly configurable.
`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
No description provided.
No description provided.
No description provided.
Wrapper library for directory and file watching.
No description provided.
No description provided.
Applies source maps to stack traces, so a failing test points at the code you wrote rather than at the code Jest ran.
No description provided.
Jest plugin to use babel for transformation.
[type-definitions]: https://github.com/jestjs/jest/blob/main/packages/jest-types/src/Circus.ts
Make a directory and its parents if needed - Think `mkdir -p`
[Experimental] - 🚇 File crawling, watching and mapping for Metro
🚇 The JavaScript bundler for React Native.
Delightful JavaScript Testing.
React Native CLI
Leaner CSS
Relationship graph
Dependencies (left) and dependents (right) of graceful-fs.
Frequently installed together
TypeScript definitions for node
This package contains shared types of Jest's packages.
Convert Windows backslash paths to slash paths
This packages is a collection of utilities and helper functions
Stringify any JavaScript value.
No description provided.
No description provided.
No description provided.
`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
An AST-based pattern checker for JavaScript.
Module for executing heavy tasks under forked processes in parallel, by providing a `Promise` based interface, minimum overhead, and bound workers.
No description provided.
Release history
No releases in the last two years, typically about 38 days apart.
| Version | Published | Size | License |
|---|---|---|---|
| 4.2.11latest | 3 years ago | 32 KB | ISC |
| 4.2.10 | 4 years ago | 32 KB | ISC |
| 4.2.9 | 4 years ago | 31 KB | ISC |
| 4.2.8 | 5 years ago | 31 KB | ISC |
| 4.2.7 | 5 years ago | 29 KB | ISC |
| 4.2.6 | 5 years ago | 28 KB | ISC |
| 4.2.5 | 5 years ago | 28 KB | ISC |
| 4.2.4 | 6 years ago | 27 KB | ISC |
| 4.2.3 | 6 years ago | 27 KB | ISC |
| 4.2.2 | 7 years ago | 27 KB | ISC |
| 3.0.12 | 7 years ago | 18 KB | ISC |
| 4.2.1 | 7 years ago | 26 KB | ISC |
| 4.2.0 | 7 years ago | 26 KB | ISC |
| 4.1.15 | 7 years ago | 25 KB | ISC |
| 4.1.14 | 7 years ago | 25 KB | ISC |
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
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.