@types/graceful-fs

  • Version 4.1.5
  • Published
  • 3.51 kB
  • 1 dependency
  • MIT license

Install

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

Overview

TypeScript definitions for graceful-fs

Index

Functions

Functions

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.

Badge

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
    [![jsDocs.io](https://img.shields.io/badge/jsDocs.io-reference-blue)](https://www.jsdocs.io/package/@types/graceful-fs)
  • 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>