Skip to content
JS
Package

unique-filename

Generate a unique filename for use in temporary directories or caches.

v6.0.0, 15 May 2026ISCCommonJSTypes: None
$ npm install unique-filename

Key numbers

As of 25 Sept 2026
Weekly downloads
22.5m
-8% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
1
Direct, from package.json
Last release
4 months ago
v6.0.0
GitHub stars
45
7 forks
Open issues / PRs
2 / 0
Contributors
-
Commits, last 52 weeks
21

Downloads

Last week 2026-09-15 to 2026-09-21
020m40m60mSept 2025Mar 2026Sept 2026High 56.4m (16 Jun 2026)Low 13.4m (23 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

22,478,905 downloads last week, 104,228,525 in the last month. The 12-month change of -8% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
29 in total
Latest version
6.0.0, 15 May 20264 months ago
First published
7 May 2015
Last push to GitHub
18 Jun 202698 days before the snapshot
Repository archived
No
Open issues
2
Open pull requests
0
Commits, last 52 weeks
21
Dependents on npm
443

Major versions

  1. v6 first release 6.0.0, 15 May 2026
  2. v5 first release 5.0.0, 22 Oct 2025
  3. v4 first release 4.0.0, 26 Sept 2024
  4. v3 first release 3.0.0, 14 Oct 2022
  5. v2 first release 2.0.0, 22 Aug 2022
  6. v1 first release 1.0.0, 7 May 2015

Recent releases

VersionPublished
6.0.015 May 2026
5.0.022 Oct 2025
4.0.026 Sept 2024
3.0.014 Oct 2022
2.0.125 Aug 2022
2.0.022 Aug 2022
1.1.120 Sept 2018
1.1.03 Dec 2015
1.0.07 May 2015
Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
None
Node.js engine range
^22.22.2 || ^24.15.0 || >=26.0.0
Runtimes
-
Unpacked size (npm)
3.7 kB
Dependencies (1)
unique-slug
npm install unique-filename
  • jsDelivrhttps://cdn.jsdelivr.net/npm/unique-filename@6.0.0/
  • unpkghttps://unpkg.com/unique-filename@6.0.0/
  • esm.shhttps://esm.sh/unique-filename@6.0.0
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Not indexed (discovery only): no category.