sindresorhus / unused-filename
Get an unused filename by appending a number if it exists: `file.txt` → `file (1).txt`
☆140Updated 3 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
- Check when the DOM has loaded like `DOMContentLoaded`☆109Updated 7 months ago
- Reliably get the terminal window size☆141Updated last year
- Exit the process when the `esc` key is pressed☆56Updated last year
- Lazy number range generator☆81Updated last year
- Get PID from a port☆79Updated 4 years ago
- Check if argv has a specific flag☆95Updated 3 years ago
- Reverse minimist. Convert an object of options into an array of command-line arguments☆185Updated 2 years ago
- Ensure a function is only called once☆162Updated last year
- Ensures a value is a valid error by making it one if not☆77Updated 3 years ago
- Truncate a string to a specific width in the terminal☆87Updated last year
- Extract the actual stack of an error☆66Updated 2 years ago
- Check if stdout or stderr is interactive☆116Updated last year
- Simplified high resolution timing☆80Updated 7 months ago
- A tool to create an ora compatible spinner object that behaves like a scrolling marquee☆80Updated 2 years ago
- Create a hash for file revving☆105Updated last year
- Map of nouns to their irregular plural form☆88Updated 11 months ago
- Check if a namespace on npm is being hogged☆73Updated 5 years ago
- Detect the indentation of code☆196Updated last year
- Run the Node.js binary no matter what☆138Updated 4 years ago
- Convenience wrapper for Got to interact with the GitHub API☆176Updated 2 years ago
- Check if it's the first time the process is run☆78Updated 3 years ago
- Get namespaced config from the closest package.json☆121Updated last year
- Image component for Ink☆75Updated 2 years ago
- Get the first path that exists on disk of multiple paths☆58Updated 2 years ago
- Toggle the CLI cursor☆107Updated 8 months ago
- Clean up regular expressions☆62Updated 7 months ago
- Check whether a package or organization name is available on npm☆170Updated last year
- Find multiple RegExp matches in a string☆92Updated 2 years ago
- Wait for localhost to be ready from the command-line☆119Updated 10 months ago