Optional
options: "fs".EncodingOptionSynchronously creates a unique temporary directory. Generates six random characters to be appended behind a required prefix to create a unique temporary directory.
The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, 'utf8'
is used.
Synchronously creates a unique temporary directory. Generates six random characters to be appended behind a required prefix to create a unique temporary directory.
Optional
options: "fs".EncodingOptionThe encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, 'utf8'
is used.
Returns the created directory path.
For detailed information, see the documentation of the asynchronous version of this API: mkdtemp.
The optional options
argument can be a string specifying an encoding, or an
object with an encoding
property specifying the character encoding to use.
v0.0.67
Optional
options: "fs".EncodingOptionSynchronously creates a unique temporary directory. Generates six random characters to be appended behind a required prefix to create a unique temporary directory.
The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, 'utf8'
is used.
Synchronously creates a unique temporary directory. Generates six random characters to be appended behind a required prefix to create a unique temporary directory.
Optional
options: "fs".EncodingOptionThe encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, 'utf8'
is used.
Generated using TypeDoc
Returns the created directory path.
For detailed information, see the documentation of the asynchronous version of this API: mkdtemp.
The optional
options
argument can be a string specifying an encoding, or an object with anencoding
property specifying the character encoding to use.Since
v0.0.67