Skip to content
JS
Package

tempy

Get a random temporary file or directory path

v3.2.0, 2 Feb 2026MITESM onlyTypes: BundledFiles and file systems
$ npm install tempy

Key numbers

As of 25 Sept 2026
Weekly downloads
13.2m
+34% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
4
Direct, from package.json
Last release
7 months ago
v3.2.0
GitHub stars
448
29 forks
Open issues / PRs
1 / 0
Contributors
-
Commits, last 52 weeks
11

Downloads

Last week 2026-09-15 to 2026-09-21
05m10m15m20mSept 2025Mar 2026Sept 2026High 16.2m (25 Aug 2026)Low 5.8m (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.

13,233,850 downloads last week, 59,779,347 in the last month. The 12-month change of +34% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
317 in total
Latest version
3.2.0, 2 Feb 20267 months ago
First published
28 Mar 2017
Last push to GitHub
18 Sept 20266 days before the snapshot
Repository archived
No
Open issues
1
Open pull requests
0
Commits, last 52 weeks
11
Dependents on npm
1,005

Major versions

  1. v3 first release 3.0.0, 18 Apr 2022
  2. v2 first release 2.0.0, 18 Aug 2021
  3. v1 first release 1.0.0, 12 Oct 2020
  4. v0 first release 0.1.0, 28 Mar 2017

Recent releases

VersionPublished
3.2.02 Feb 2026
3.1.225 Jan 2026
3.1.121 Jan 2026
3.1.010 Jul 2023
3.0.018 Apr 2022
2.0.018 Aug 2021
1.0.117 Mar 2021
1.0.012 Oct 2020
0.7.126 Sept 2020
0.7.013 Sept 2020
0.6.018 Jul 2020
0.5.09 Mar 2020
0.4.012 Feb 2020
0.3.016 Apr 2019
Module format
ESM onlyFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
>=14.16
Runtimes
-
Unpacked size (npm)
17 kB
Dependencies (4)
temp-diris-streamtype-festunique-string
npm install tempy
  • jsDelivrhttps://cdn.jsdelivr.net/npm/tempy@3.2.0/
  • unpkghttps://unpkg.com/tempy@3.2.0/
  • esm.shhttps://esm.sh/tempy@3.2.0
PackageWeekly downloadsGzipLast releaseModuleComparison
temp-fs252.1k--CommonJS-
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.