sindresorhus / unused-filename
Get an unused filename by appending a number if it exists: `file.txt` → `file (1).txt`
☆140Updated 2 years ago
Alternatives and similar repositories for unused-filename:
Users that are interested in unused-filename are comparing it to the libraries listed below
- Check if your package was installed globally☆70Updated last year
- Reliably get the terminal window size☆141Updated last year
- Lazy number range generator☆81Updated last year
- Check when the DOM has loaded like `DOMContentLoaded`☆109Updated 6 months ago
- Check if it's the first time the process is run☆78Updated 3 years ago
- Check whether a package or organization name is available on npm☆169Updated last year
- Reverse minimist. Convert an object of options into an array of command-line arguments☆185Updated 2 years ago
- Extract the actual stack of an error☆66Updated 2 years ago
- Truncate a string to a specific width in the terminal☆87Updated last year
- Run the Node.js binary no matter what☆138Updated 4 years ago
- A tool to create an ora compatible spinner object that behaves like a scrolling marquee☆80Updated 2 years ago
- Check if argv has a specific flag☆94Updated 3 years ago
- Find multiple RegExp matches in a string☆92Updated 2 years ago
- Ensures a value is a valid error by making it one if not☆77Updated 3 years ago
- Get PID from a port☆79Updated 4 years ago
- Get namespaced config from the closest package.json☆121Updated last year
- Ensure a function is only called once☆162Updated last year
- User-friendly glob matching CLI☆75Updated 6 years ago
- Clean up regular expressions☆62Updated 7 months ago
- Move a file - Even works across devices☆199Updated last year
- Find the closest package.json file☆162Updated last year
- Import all modules in a directory☆138Updated 2 years ago
- Exit the process when the `esc` key is pressed☆56Updated last year
- Boxes for use in the terminal☆98Updated 7 months ago
- Create a lazily evaluated value☆69Updated 3 years ago
- Get the fullname of the current user☆47Updated last year
- Gradient color component for Ink☆147Updated last year
- Get the first path that exists on disk of multiple paths☆58Updated 2 years ago
- Create a HTML element string☆91Updated 4 months ago
- Get metadata on the default editor or a specific editor☆53Updated last year