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 when the DOM has loaded like `DOMContentLoaded`☆109Updated 5 months ago
- Check if argv has a specific flag☆94Updated 3 years ago
- Check if your package was installed globally☆70Updated last year
- Simplified high resolution timing☆79Updated 5 months ago
- Check whether a package or organization name is available on npm☆169Updated last year
- Reliably get the terminal window size☆140Updated last year
- Reverse minimist. Convert an object of options into an array of command-line arguments☆185Updated last year
- Import all modules in a directory☆138Updated 2 years ago
- Lazy number range generator☆81Updated last year
- Create a HTML element string☆91Updated 2 months ago
- Truncate a string to a specific width in the terminal☆86Updated last year
- Map of nouns to their irregular plural form☆87Updated 9 months ago
- Extract the actual stack of an error☆66Updated 2 years ago
- A tool to create an ora compatible spinner object that behaves like a scrolling marquee☆80Updated last year
- Exit the process when the `esc` key is pressed☆56Updated last year
- Run the Node.js binary no matter what☆138Updated 4 years ago
- Check if it's the first time the process is run☆78Updated 3 years ago
- Copy a file☆121Updated last year
- Wordwrap a string with ANSI escape codes☆120Updated last year
- Get PID from a port☆80Updated 4 years ago
- Convenience wrapper for Got to interact with the GitHub API☆176Updated 2 years ago
- User-friendly glob matching CLI☆75Updated 6 years ago
- Ensures a value is a valid error by making it one if not☆77Updated 2 years ago
- Filter object keys and values into a new object☆101Updated 8 months ago
- Detect the dominant newline character of a string☆55Updated last year
- Get metadata on the default editor or a specific editor☆53Updated last year
- Check if your code is running as an npm or yarn script☆64Updated 3 years ago
- Ensure a function is only called once☆162Updated last year
- Toggle the CLI cursor☆106Updated 6 months ago
- Boxes for use in the terminal☆98Updated 6 months ago