Package
tempy
Get a random temporary file or directory path
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
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
- v3 first release 3.0.0, 18 Apr 2022
- v2 first release 2.0.0, 18 Aug 2021
- v1 first release 1.0.0, 12 Oct 2020
- v0 first release 0.1.0, 28 Mar 2017
Recent releases
| Version | Published |
|---|---|
| 3.2.0 | 2 Feb 2026 |
| 3.1.2 | 25 Jan 2026 |
| 3.1.1 | 21 Jan 2026 |
| 3.1.0 | 10 Jul 2023 |
| 3.0.0 | 18 Apr 2022 |
| 2.0.0 | 18 Aug 2021 |
| 1.0.1 | 17 Mar 2021 |
| 1.0.0 | 12 Oct 2020 |
| 0.7.1 | 26 Sept 2020 |
| 0.7.0 | 13 Sept 2020 |
| 0.6.0 | 18 Jul 2020 |
| 0.5.0 | 9 Mar 2020 |
| 0.4.0 | 12 Feb 2020 |
| 0.3.0 | 16 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- jsDelivr
https://cdn.jsdelivr.net/npm/tempy@3.2.0/ - unpkg
https://unpkg.com/tempy@3.2.0/ - esm.sh
https://esm.sh/tempy@3.2.0
| Package | Weekly downloads | Gzip | Last release | Module | Comparison |
|---|---|---|---|---|---|
| temp-fs | 252.1k | - | - | CommonJS | - |
Indexability: Indexed.