Function mkdtemp

  • Asynchronously creates a unique temporary directory. Generates six random characters to be appended behind a required prefix to create a unique temporary directory.

    Parameters

    • prefix: string
    • callback: Callback<[string]>

    Returns void

  • Parameters

    • prefix: string
    • options: EncodingOption
    • callback: Callback<[string]>

    Returns void

  • Parameters

    • prefix: string
    • options: BufferEncodingOption
    • callback: Callback<[Buffer]>

    Returns void