Skip to content
JS
Package

temp-file

```typescript export function getTempName(prefix?: string | null | undefined): string;

v3.4.0, 11 May 2021MITCommonJSTypes: Bundled
$ npm install temp-file

Key numbers

As of 25 Sept 2026
Weekly downloads
3.6m
+466% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
2
Direct, from package.json
Last release
5 years ago
v3.4.0
GitHub stars
-
Open issues / PRs
- / -
Contributors
-
Commits, last 52 weeks
-

Downloads

Last week 2026-09-15 to 2026-09-21
02m4m6mSept 2025Mar 2026Sept 2026High 4.1m (8 Sept 2026)Low 474.9k (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.

3,565,482 downloads last week, 14,726,519 in the last month. The 12-month change of +466% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
026 in total
Latest version
3.4.0, 11 May 20215 years ago
First published
11 Aug 2017
Last push to GitHub
-
Repository archived
-
Open issues
-
Open pull requests
-
Commits, last 52 weeks
-
Dependents on npm
-

Major versions

  1. v3 first release 3.0.0, 24 Nov 2017
  2. v2 first release 2.0.0, 19 Aug 2017
  3. v1 first release 1.0.0, 11 Aug 2017

Recent releases

VersionPublished
3.4.011 May 2021
3.3.73 Mar 2020
3.3.627 Nov 2019
3.3.48 Jul 2019
3.3.311 Jun 2019
3.3.216 Nov 2018
3.3.116 Nov 2018
3.3.016 Nov 2018
3.2.07 Nov 2018
3.1.327 Jun 2018
3.1.22 May 2018
3.1.113 Jan 2018
3.1.04 Jan 2018
3.0.14 Jan 2018
Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
18 kB
Dependencies (2)
fs-extraasync-exit-hook
npm install temp-file
  • jsDelivrhttps://cdn.jsdelivr.net/npm/temp-file@3.4.0/
  • unpkghttps://unpkg.com/temp-file@3.4.0/
  • esm.shhttps://esm.sh/temp-file@3.4.0
Sources: npm registry, npm downloads API. Data fetched 25 Sept 2026.

Indexability: Not indexed (discovery only): GitHub data not fetched yet; no category.