graceful-fs

fs with incremental backoff on EMFILE (by isaacs)

Graceful-fs Alternatives

Similar projects and alternatives to graceful-fs

  1. fs-extra

    18 graceful-fs VS fs-extra

    Node.js: extra methods for the fs object like copy(), remove(), mkdirs()

  2. Civic Auth

    Auth in Less Than 5 Minutes. Civic Auth comes with multiple SSO options, optional embedded wallets, and user management — all implemented with just a few lines of code. Start building today.

    Civic Auth logo
  3. fs-jetpack

    2 graceful-fs VS fs-jetpack

    Better file system API for Node.js

  4. proper-lockfile

    An inter-process and inter-machine lockfile utility that works on a local or network file system.

  5. chokidar

    27 graceful-fs VS chokidar

    Minimal and efficient cross-platform file watching library

  6. minimist

    6 graceful-fs VS minimist

    Discontinued parse argument options

  7. pkg-dir

    0 graceful-fs VS pkg-dir

    Find the root directory of a Node.js project or npm package

  8. globby

    7 graceful-fs VS globby

    User-friendly glob matching

  9. InfluxDB

    InfluxDB high-performance time series database. Collect, organize, and act on massive volumes of high-resolution data to power real-time intelligent systems.

    InfluxDB logo
  10. dynamic-image-transformation-for-amazon-cloudfront

    Transform, optimize, and deliver images in real time at a fraction of the cost.

  11. fs-write-stream-atomic

    Discontinued Like `fs.createWriteStream(...)`, but atomic.

  12. electron-settings

    📝 A simple persistent user settings framework for Electron.

  13. mkdirp

    3 graceful-fs VS mkdirp

    Discontinued Recursively mkdir, like `mkdir -p`, but in node.js

  14. pify

    2 graceful-fs VS pify

    Promisify a callback-style function

  15. write-json-file

    Stringify and write JSON to a file atomically

  16. istextorbinary

    Determine if a filename and/or buffer is text or binary. Smarter detection than the other solutions.

  17. simple-fullstack-examples

    Minimal examples of Node.js fullstack applications, showing that, at least in principal "fullstack" isn't that difficult.

  18. lowercase-keys

    Lowercase the keys of an object

  19. block-stream

    A stream of fixed-size blocks

  20. safe-buffer

    1 graceful-fs VS safe-buffer

    Safer Node.js Buffer API

  21. CodeRabbit

    CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.

    CodeRabbit logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better graceful-fs alternative or higher similarity.

graceful-fs discussion

Log in or Post with

graceful-fs reviews and mentions

Posts with mentions or reviews of graceful-fs. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-11-19.
  • My fist codestory. A day in my life, as a coder :)
    2 projects | dev.to | 19 Nov 2022
    async (config?: { /** * Overwrite the default ignored behavior */ customIgnored?: string[]; }) => { const projectRoot = getProjectRoot(); if (!projectRoot) return; // NB: fix to globally alter real fs in order to fix EMFile error that happens in TSMorph (see https://github.com/isaacs/node-graceful-fs) gracefulFs.gracefulify(realFs); console.log("Searching..."); const tsFunctions = await db.get("TsFunction"); const projectWatcherTsFunctions = tsFunctions.filter( (x) => x.explicitTypeName === "ProjectWatcher" ); const projectWatchers = projectWatcherTsFunctions .map((x) => x.name) .map((name) => sdk[name as keyof typeof sdk] as ProjectWatcher | undefined) .filter(notEmpty); log(`${projectWatchers.length} watchers gonna watch ${projectRoot}`, { type: "important", }); const startupWaitMs = 1000; setTimeout(() => { log( `There they are! \n\n${projectWatchers .map((projectWatcher) => { return `👁 👁 ${projectWatcher.name} ✅`; }) .join("\n")}`, { type: "success", } ); }, startupWaitMs); const startTimeAt = Date.now(); watch(projectRoot, { ignoreInitial: true, ignored: config?.customIgnored || [ "**/node_modules/**", "**/.next/**", "**/.expo/**", "**/build/**", "**/db/**", "**/.git/**", "**/.turbo/**", "**/generated/**", ], // alwaysStat: true, // not sure why I would need this, seems inefficient if I don't need it, I can simply run fs.stat }).on("all", (eventName, path, stats) => { if (Date.now() < startTimeAt + startupWaitMs) return; const relevantWatchers = projectWatchers.filter((watcher) => watcher.filter(eventName, path) ); oneByOne(relevantWatchers, async (projectWatcher) => { await projectWatcher(eventName, path); }); }); };
  • My theory on why so many people are bad at coding.
    8 projects | /r/ExperiencedDevs | 12 Aug 2022
    What's probably got your shorts in a knot is the contents of the node_modules directory. That directory is a cache for mode.js modules so the tutorial can function standalone without having to install anything else. Treat it as you would object code. I pulled a half-dozen of those modules at random and went to their repositories. Every one of them had unit tests: block-stream, graceful-fs, lowercase-keys, minimist, pify and safe-buffer. Nobody sane ships unit tests with their executables.
  • I'm a noob, I've hit a wall and I need a bit of handholding re: creating node.js app
    5 projects | /r/learnjavascript | 25 Apr 2022
    graceful-fs https://www.npmjs.com/package/graceful-fs
  • A note from our sponsor - Civic Auth
    www.civic.com | 27 Apr 2025
    Civic Auth comes with multiple SSO options, optional embedded wallets, and user management — all implemented with just a few lines of code. Start building today. Learn more →

Stats

Basic graceful-fs repo stats
3
1,287
3.0
9 months ago

Sponsored
Auth in Less Than 5 Minutes
Civic Auth comes with multiple SSO options, optional embedded wallets, and user management — all implemented with just a few lines of code. Start building today.
www.civic.com

Did you know that JavaScript is
the 3rd most popular programming language
based on number of references?