mkstempSync
Call Signature
Section titled “Call Signature”mkstempSync(
this,prefix,options?):TempFile<NonSharedBuffer>
Defined in: src/node/sync.ts:656
Synchronously creates and opens a unique temporary file, named by appending six random characters to prefix.
Parameters
Section titled “Parameters”unknown
prefix
Section titled “prefix”Buffer
options?
Section titled “options?”BufferEncodingOption | EncodingOption
Returns
Section titled “Returns”TempFile<NonSharedBuffer>
Call Signature
Section titled “Call Signature”mkstempSync(
this,prefix,options):TempFile<NonSharedBuffer>
Defined in: src/node/sync.ts:657
Synchronously creates and opens a unique temporary file, named by appending six random characters to prefix.
Parameters
Section titled “Parameters”unknown
prefix
Section titled “prefix”PathLike
options
Section titled “options”BufferEncodingOption
Returns
Section titled “Returns”TempFile<NonSharedBuffer>
Call Signature
Section titled “Call Signature”mkstempSync(
this,prefix,options?):TempFile<string>
Defined in: src/node/sync.ts:658
Synchronously creates and opens a unique temporary file, named by appending six random characters to prefix.
Parameters
Section titled “Parameters”unknown
prefix
Section titled “prefix”PathLike
options?
Section titled “options?”EncodingOption
Returns
Section titled “Returns”TempFile<string>
Call Signature
Section titled “Call Signature”mkstempSync(
this,prefix,options?):TempFile
Defined in: src/node/sync.ts:659
Synchronously creates and opens a unique temporary file, named by appending six random characters to prefix.
Parameters
Section titled “Parameters”unknown
prefix
Section titled “prefix”PathLike
options?
Section titled “options?”BufferEncodingOption | EncodingOption
Returns
Section titled “Returns”TempFile