happy-opfs • Docs
happy-opfs / TempOptions
Options for mkTemp
.
Property | Type | Default value | Description | Defined in |
---|---|---|---|---|
basename? |
string |
tmp |
The basename of the file or directory. eg: mktemp -t basename.XXX |
fs/defines.ts:247 |
extname? |
string |
undefined |
The extension of the file. eg: mktemp --suffix .txt |
fs/defines.ts:253 |
isDirectory? |
boolean |
false |
Whether to create a directory. eg: mktemp -d |
fs/defines.ts:240 |