Function mkdtemp

  • Create a unique temporary directory. The given template must end in XXXXXX, and the Xs will be replaced to provide a unique directory name.

    const tmpDir = await tjs.mkdtemp('tmpDirXXXXXX');
    

    Parameters

    • template: string

      Template for the directory.

    Returns Promise<string>

Generated using TypeDoc