Function mkdtempSync

  • Synchronous mkdtemp. Creates a unique temporary directory.

    Parameters

    • prefix: string

      The directory prefix.

    • options: BufferEncodingOption

      The encoding (or an object including encoding).

    Returns Buffer

    The path to the created temporary directory, encoded as a string or buffer.

  • Parameters

    • prefix: string
    • Optionaloptions: EncodingOption

    Returns string