Package
unused-filename
Get an unused filename by appending a number if it exists: `file.txt` → `file (1).txt`
Key numbers
As of 25 Sept 2026
- Weekly downloads
- 279.4k
- +175% over 12 months
- Gzip bundle size
- -
- No Bundlephobia data
- Dependencies
- 2
- Direct, from package.json
- Last release
- 4 years ago
- v4.0.1
- GitHub stars
- 143
- 9 forks
- Open issues / PRs
- 0 / 0
- Contributors
- -
- Commits, last 52 weeks
- 1
Downloads
Last week 2026-09-15 to 2026-09-21
279,372 downloads last week, 1,167,870 in the last month. The 12-month change of +175% compares the average of the last 4 weeks with the first 4 weeks of the series.
- Releases, last 12 months
- -
- Latest version
- 4.0.1, 25 Mar 20224 years ago
- First published
- -
- Last push to GitHub
- 18 Sept 20266 days before the snapshot
- Repository archived
- No
- Open issues
- 0
- Open pull requests
- 0
- Commits, last 52 weeks
- 1
- Dependents on npm
- 36
Major versions
-
Recent releases
-
- Module format
- ESM onlyFrom package.json type, main and exports fields
- TypeScript types
- Bundled
- Node.js engine range
- ^12.20.0 || ^14.13.1 || >=16.0.0
- Runtimes
- -
- Unpacked size (npm)
- 12 kB
- Dependencies (2)
path-existsescape-string-regexp
npm install unused-filename- jsDelivr
https://cdn.jsdelivr.net/npm/unused-filename@4.0.1/ - unpkg
https://unpkg.com/unused-filename@4.0.1/ - esm.sh
https://esm.sh/unused-filename@4.0.1
Indexability: Indexed.