@karmaniverous/get-dotenv
    Preparing search index...

    Function writeDotenvFile

    • Write a dotenv record to a file (see formatDotenvRecord).

      Parameters

      • filename: string

        Destination dotenv file path.

      • data: ProcessEnv

        Env-like map of values to write (values may be undefined).

      Returns Promise<void>

      A Promise\<void\> which resolves when the file has been written.

      Error when a value can't be written so that dotenv reads it back unchanged; nothing is written then.