@alextheman/utility - v5.10.1
    Preparing search index...

    Function stringifyDotenv

    • Converts an object into a string in .env file format.

      Parameters

      • contents: Record<PropertyKey, string> | DotenvParseOutput

        The object to convert. Must be a record whose values are strings.

      • Optionaloptions: StringifyDotenvOptions

        Extra options to apply.

      Returns string

      A string representation of the object in .env file format.