GitShow/sindresorhus/unused-filename
sindresorhus

unused-filename

Get an unused filename by appending a number if it exists: `file.txt` → `file (1).txt`

by sindresorhus
Star on GitHubForknpm

JavaScript

144 stars9 forks6 contributorsQuiet · 9mo agoSince 2016v4.0.1MIT

Meet the team

See all 6 on GitHub →
sindresorhus
sindresorhus15 contributions
BendingBender
BendingBender2 contributions
tomasklaen
tomasklaen2 contributions
jopemachine
jopemachine1 contribution
martinvd
martinvd1 contribution
Richienb
Richienb1 contribution

Languages

View on GitHub →
JavaScript93.8%
TypeScript6.2%

Commit activity

Last 12 weeks · 0 commits

Full graph →

Community health

4 of 6 standards met

Community profile →
85
✓README✓License✓Contributing✓Code of Conduct○Issue Template○PR Template

Recent fixes

View closed PRs →
jopemachine
Fix example codesMergedPR

Fixes #13.

jopemachine · 4y ago
jopemachine
Example code not workingClosedIssue

It seems like the example code not working because of a small mistake. I think this code could be changed to the below.

jopemachine · 4y ago
Uninen
"'promises' is not exported" error w/ ViteClosedIssue

Hi! First, Thank You for this and other great packages 👍 Just a heads up that this package fails to bundle with latest Vite (2.8.2) with following traceback: Usually adding wonky packages to config helps but couldn't get this one working at all. Not sure if the issue is with Vite, this package, my (TS) setup or just the color of the electricity today but I thought I'd report it anyways. Feel free to close if this doesn't seem valid.

Uninen · 4y ago
Structured data for AI agents

Repository: sindresorhus/unused-filename. Description: Get an unused filename by appending a number if it exists: `file.txt` → `file (1).txt` Stars: 144, Forks: 9. Primary language: JavaScript. Languages: JavaScript (93.8%), TypeScript (6.2%). License: MIT. Latest release: v4.0.1 (4y ago). Open PRs: 0, open issues: 0. Last activity: 9mo ago. Community health: 85%. Top contributors: sindresorhus, BendingBender, tomasklaen, jopemachine, martinvd, Richienb.

·@ofershap

Replace github.com with gitshow.dev