temporary directory
A folder the operating system provides for short-lived files, such as /tmp on Linux.
In more detail
Files there may be deleted by the system, so never keep anything important in it. Clean up the files you create there yourself, especially in tests.
Related terms
- directory — A folder: a named container in a filesystem that holds files and other directories.
- node:fs — The built-in Node.js module for working with files and folders, in promise, callback and synchronous forms.
Taught in
- Asynchronous File I/O: node:fs/promises & Handles — Node.js Internals & Backend Services
- Directory Traversal: Recursive Readdir & fs.watch — Node.js Internals & Backend Services