mkdtempSync
Call Signature
Section titled “Call Signature”mkdtempSync(
this,prefix,options):NonSharedBuffer
Defined in: src/node/sync.ts:628
Synchronous mkdtemp. Creates a unique temporary directory.
Parameters
Section titled “Parameters”unknown
prefix
Section titled “prefix”PathLike
The directory prefix.
options
Section titled “options”BufferEncodingOption
The encoding (or an object including encoding).
Returns
Section titled “Returns”NonSharedBuffer
The path to the created temporary directory, encoded as a string or buffer.
Call Signature
Section titled “Call Signature”mkdtempSync(
this,prefix,options?):string
Defined in: src/node/sync.ts:629
Synchronous mkdtemp. Creates a unique temporary directory.
Parameters
Section titled “Parameters”unknown
prefix
Section titled “prefix”PathLike
The directory prefix.
options?
Section titled “options?”EncodingOption
The encoding (or an object including encoding).
Returns
Section titled “Returns”string
The path to the created temporary directory, encoded as a string or buffer.