Get an unused filename by appending a number if it exists: `file.txt` → `file (1).txt`
☆144Sep 11, 2025Updated 6 months ago
Alternatives and similar repositories for unused-filename
Users that are interested in unused-filename are comparing it to the libraries listed below. We may earn a commission when you buy through links labeled 'Ad' on this page.
Sorting:
- Check if a string is a valid filename☆61Aug 16, 2021Updated 4 years ago
- Convert a string to a valid safe filename☆517Nov 5, 2025Updated 4 months ago
- Parse text columns, like the output of unix commands☆84Sep 9, 2025Updated 6 months ago
- Count the number of lines in a string☆10Apr 17, 2016Updated 9 years ago
- Ensures a value is a valid error by making it one if not☆89Sep 15, 2025Updated 6 months ago
- NordVPN Threat Protection Pro™ • AdTake your cybersecurity to the next level. Block phishing, malware, trackers, and ads. Lightweight app that works with all browsers.
- Get an array of parent directories including itself☆26Nov 7, 2023Updated 2 years ago
- Convert a URL to a valid filename☆80Sep 15, 2025Updated 6 months ago
- Get the version numbers of a package from the npm registry☆31Feb 26, 2024Updated 2 years ago
- Get the email of an npm user☆14Feb 26, 2024Updated 2 years ago
- Split a string at one or more indices☆25May 3, 2021Updated 4 years ago
- Pretty time zone: +2 or -9:30☆58Jul 9, 2022Updated 3 years ago
- Strip UTF-8 byte order mark (BOM) from a buffer☆21Oct 24, 2023Updated 2 years ago
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `file://` to file paths☆25Jul 9, 2022Updated 3 years ago
- Display an error in a GUI dialog☆22May 3, 2021Updated 4 years ago
- DigitalOcean Gradient AI Platform • AdBuild production-ready AI agents using customizable tools or access multiple LLMs through a single endpoint. Create custom knowledge bases or connect external data.
- Find out if a computer is charging☆76May 16, 2018Updated 7 years ago
- Reliably get the terminal window size - cross-platform☆27Nov 4, 2023Updated 2 years ago
- Find semver versions in a string: `unicorn v1.2.3` → `1.2.3`☆19Apr 3, 2024Updated last year
- Check if something is a promise☆45Apr 16, 2021Updated 4 years ago
- Round a number to a specific number of decimal places: 1.234 → 1.2☆159Sep 17, 2025Updated 6 months ago
- Get the iTerm2 version☆11Jan 5, 2026Updated 2 months ago
- Check if a path exists☆26Oct 30, 2023Updated 2 years ago
- Get an array of valid, sorted, and cleaned semver versions from an array of strings☆41Apr 21, 2021Updated 4 years ago
- List of archive file extensions☆16Apr 30, 2024Updated last year
- DigitalOcean Gradient AI Platform • AdBuild production-ready AI agents using customizable tools or access multiple LLMs through a single endpoint. Create custom knowledge bases or connect external data.
- Get all emails in a text file or stdin☆25Feb 2, 2026Updated last month
- Reliably get the terminal window size☆146Feb 2, 2026Updated last month
- Break out of a promise chain☆24Apr 7, 2021Updated 4 years ago
- Duotone Dark Sea theme for Hyperterm☆10Jun 29, 2018Updated 7 years ago
- Get the path of the current directory in Finder (macOS) and Explorer (Windows)☆19Aug 10, 2021Updated 4 years ago
- Get the version of a binary in semver format☆42Apr 3, 2024Updated last year
- Change the skin tone of an emoji☆62Sep 21, 2025Updated 6 months ago
- Extract the article title of a HTML document or website☆31Sep 9, 2025Updated 6 months ago
- Find the root directory of a Node.js project or npm package☆27Jun 5, 2025Updated 9 months ago
- 1-Click AI Models by DigitalOcean Gradient • AdDeploy popular AI models on DigitalOcean Gradient GPU virtual machines with just a single click and start building anything your business needs.
- Get the macOS version of the current system☆23Sep 9, 2025Updated 6 months ago
- Extract the article title of a HTML document☆56Sep 9, 2025Updated 6 months ago
- Copy files☆434Feb 12, 2026Updated last month
- See the repo's example while installing it with NPM☆23Feb 29, 2016Updated 10 years ago
- Truncate a semver version: 1.2.3 → 1.2.0☆18Jul 9, 2022Updated 3 years ago
- Open files in your editor at a specific line and column☆56Nov 3, 2021Updated 4 years ago
- Regular expression for matching scoped npm package names☆27Jul 9, 2022Updated 3 years ago