Get an unused filename by appending a number if it exists: `file.txt` → `file (1).txt`
☆143Sep 18, 2026Updated 3 weeks 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☆60Aug 28, 2026Updated last month
- Convert a string to a valid safe filename☆524Aug 28, 2026Updated last month
- Parse text columns, like the output of unix commands☆84Sep 20, 2026Updated 2 weeks ago
- Count the number of lines in a string☆10Apr 17, 2016Updated 10 years ago
- Convert a URL to a valid filename☆80Sep 18, 2026Updated 3 weeks ago
- Managed hosting for WordPress and PHP on Cloudways • AdManaged hosting for WordPress, Magento, Laravel, or PHP apps, on multiple cloud providers. Deploy in minutes on Cloudways by DigitalOcean.
- Ensures a value is a valid error by making it one if not☆95Sep 15, 2025Updated last year
- 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
- Get an array of parent directories including itself☆26Nov 7, 2023Updated 2 years ago
- Split a string at one or more indices☆25May 3, 2021Updated 5 years ago
- Strip UTF-8 byte order mark (BOM) from a buffer☆21Sep 18, 2026Updated 3 weeks ago
- Pretty time zone: +2 or -9:30☆58Sep 18, 2026Updated 3 weeks ago
- Truncate a semver version: 1.2.3 → 1.2.0☆17Sep 18, 2026Updated 3 weeks ago
- Find out if a computer is charging☆76May 16, 2018Updated 8 years ago
- GPU virtual machines on DigitalOcean Gradient AI • AdGet to production fast with high-performance AMD and NVIDIA GPUs you can spin up in seconds. The definition of operational simplicity.
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `file://` to file paths☆23Sep 18, 2026Updated 3 weeks ago
- Find semver versions in a string: `unicorn v1.2.3` → `1.2.3`☆19Apr 3, 2024Updated 2 years ago
- Get the iTerm2 version☆11Sep 18, 2026Updated 3 weeks ago
- Display an error in a GUI dialog☆22May 3, 2021Updated 5 years ago
- Check if something is a promise☆44Sep 18, 2026Updated 3 weeks ago
- Check if a path exists☆26Sep 18, 2026Updated 3 weeks ago
- Get an array of valid, sorted, and cleaned semver versions from an array of strings☆41Apr 21, 2021Updated 5 years ago
- List of archive file extensions☆18Apr 30, 2024Updated 2 years ago
- Round a number to a specific number of decimal places: 1.234 → 1.2☆160Sep 17, 2025Updated last year
- End-to-end encrypted email - Proton Mail • AdSpecial offer: 40% Off Yearly / 80% Off First Month. All Proton services are open source and independently audited for security.
- Duotone Dark Sea theme for Hyperterm☆10Jun 29, 2018Updated 8 years ago
- Get the path of the current directory in Finder (macOS) and Explorer (Windows)☆19Aug 10, 2021Updated 5 years ago
- Find the root directory of a Node.js project or npm package☆28Jun 5, 2025Updated last year
- Reliably get the terminal window size - cross-platform☆28Nov 4, 2023Updated 2 years ago
- Get the version of a binary in semver format☆43Sep 18, 2026Updated 3 weeks ago
- Extract the article title of a HTML document☆59Sep 9, 2025Updated last year
- Extract the article title of a HTML document or website☆32Sep 9, 2025Updated last year
- Get the macOS version of the current system☆23Sep 9, 2025Updated last year
- Reliably get the terminal window size☆149Sep 20, 2026Updated 2 weeks ago
- Deploy to Railway using AI coding agents - Free Credits Offer • AdUse Claude Code, Codex, OpenCode, and more. Autonomous software development now has the infrastructure to match with Railway.
- Get the URL from a web shortcut file☆15Aug 14, 2021Updated 5 years ago
- Strip leading whitespace from each line in a string☆13Aug 19, 2021Updated 5 years ago
- Copy files☆438Sep 1, 2026Updated last month
- Rename a function☆46Nov 5, 2023Updated 2 years ago
- Regular expression for matching scoped npm package names☆28Sep 18, 2026Updated 3 weeks ago
- Change the skin tone of an emoji☆64Sep 18, 2026Updated 3 weeks ago
- Get all emails in a text file or stdin☆26Feb 2, 2026Updated 8 months ago