Get a random temporary file or directory path
☆443Feb 2, 2026Updated last month
Alternatives and similar repositories for tempy
Users that are interested in tempy are comparing it to the libraries listed below
Sorting:
- Write data to a random temporary file☆108Jan 25, 2026Updated last month
- Extract the actual stack of an error☆68Jul 8, 2022Updated 3 years ago
- Clean up error stack traces☆346Nov 4, 2025Updated 4 months ago
- Get an array of valid, sorted, and cleaned semver versions from an array of strings☆41Apr 21, 2021Updated 4 years ago
- Get the real path of the system temp directory☆85Sep 26, 2022Updated 3 years ago
- Get a random temporary file path☆81Jan 25, 2026Updated last month
- Ensures a value is a valid error by making it one if not☆87Sep 15, 2025Updated 5 months ago
- Delay a promise a specified amount of time☆627Oct 31, 2025Updated 4 months ago
- Make unhandled promise rejections fail hard right away instead of the default silent fail☆107Jul 8, 2022Updated 3 years ago
- User-friendly glob matching☆2,631Feb 18, 2026Updated 2 weeks ago
- Promisify a callback-style function☆1,514Sep 12, 2022Updated 3 years ago
- Compare, format, diff and serialize any JavaScript value☆210Aug 17, 2025Updated 6 months ago
- Move a file, directory, or symlink - Even works across devices☆206Jan 25, 2026Updated last month
- Convert a string to a valid safe filename☆515Nov 5, 2025Updated 3 months ago
- Process execution for humans☆7,449Jan 29, 2026Updated last month
- Find the root directory of a Node.js project or npm package☆251Feb 1, 2026Updated last month
- Make a directory and its parents if needed - Think `mkdir -p`☆477Sep 10, 2025Updated 5 months ago
- Define a lazily evaluated property on an object☆67Mar 19, 2023Updated 2 years ago
- Check if an Array is sorted☆35Aug 11, 2021Updated 4 years ago
- Get namespaced config from the closest package.json☆121Nov 5, 2023Updated 2 years ago
- Convert an absolute path to tilde path: /Users/sindresorhus/dev => ~/dev☆96Jul 8, 2022Updated 3 years ago
- Copy files☆434Feb 12, 2026Updated 2 weeks ago
- Log by overwriting the previous output in the terminal. Useful for rendering progress bars, animations, etc.☆1,141Updated this week
- Check if a string is a scoped npm package name☆25Jul 9, 2022Updated 3 years ago
- Simple micro templating☆373Sep 17, 2025Updated 5 months ago
- Get the path of the parent module☆79Sep 15, 2025Updated 5 months ago
- Make unhandled promise rejections fail loudly instead of the default silent fail☆282Jan 24, 2021Updated 5 years ago
- Open files in your editor at a specific line and column☆211Nov 23, 2025Updated 3 months ago
- Simple “Least Recently Used” (LRU) cache☆752Oct 10, 2025Updated 4 months ago
- Create an error from multiple errors☆249Sep 14, 2023Updated 2 years ago
- Get the latest stable semver version from an array of versions☆47Oct 17, 2021Updated 4 years ago
- Type check values☆1,764Dec 27, 2025Updated 2 months ago
- Reliably get the terminal window size☆146Feb 2, 2026Updated last month
- Cycle through the items of an array☆242Apr 7, 2021Updated 4 years ago
- A better `npm publish`☆7,683Jan 29, 2026Updated last month
- Get an available TCP port☆925Sep 10, 2025Updated 5 months ago
- Get the user agent of a recent Chrome version to pretend to be a browser in network requests☆37Nov 4, 2023Updated 2 years ago
- Exit the process when the `esc` key is pressed☆58Dec 4, 2023Updated 2 years ago
- Stringify and write JSON to a file atomically☆223Sep 14, 2025Updated 5 months ago