• Version 4.1.9
  • Published
  • 3.9 kB
  • 1 dependency
  • MIT license


npm i @types/graceful-fs
yarn add @types/graceful-fs
pnpm add @types/graceful-fs


TypeScript definitions for graceful-fs




function gracefulify

gracefulify: <T>(fsModule: T) => T;
  • Use this method to patch the global fs module (or any other fs-like module). NOTE: This should only ever be done at the top-level application layer, in order to delay on EMFILE errors from any fs-using dependencies. You should **not** do this in a library, because it can cause unexpected delays in other parts of the program.

    Parameter fsModule

    The reference to the fs module or an fs-like module.

Package Files (1)

Dependencies (1)

Dev Dependencies (0)

No dev dependencies.

Peer Dependencies (0)

No peer dependencies.


To add a badge like this onejsDocs.io badgeto your package's README, use the codes available below.

You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/@types/graceful-fs.

  • Markdown
  • HTML
    <a href="https://www.jsdocs.io/package/@types/graceful-fs"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>