@types/write-file-atomic

  • Version 3.0.1
  • Published
  • 4.1 kB
  • 1 dependency
  • MIT license

Install

npm i @types/write-file-atomic
yarn add @types/write-file-atomic
pnpm add @types/write-file-atomic

Overview

TypeScript definitions for write-file-atomic

Index

Functions

function sync

sync: (
filename: string,
data: string | Buffer,
options?: Options | BufferEncoding
) => void;

    function writeFile

    writeFile: typeof writeFile;

      Interfaces

      interface Options

      interface Options {}

        property chown

        chown?: {
        uid: number;
        gid: number;
        };

          property encoding

          encoding?: BufferEncoding;
          • 'utf8'

          property fsync

          fsync?: boolean;

            property mode

            mode?: number;

              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/write-file-atomic.

              • Markdown
                [![jsDocs.io](https://img.shields.io/badge/jsDocs.io-reference-blue)](https://www.jsdocs.io/package/@types/write-file-atomic)
              • HTML
                <a href="https://www.jsdocs.io/package/@types/write-file-atomic"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>