tempy
Get a random temporary file or directory path
tempy@3.2.0 was published on 2026-02-02. Its manifest declares 4 runtime dependencies and 0 peer requirements. Type declarations are bundled according to the package metadata. The declared Node.js requirement is >=14.16.
All tempy versions · Permanent reference to 3.2.0
Package specifications
| Version | 3.2.0 |
|---|---|
| License declaration | MIT |
| Published | 2026-02-02T16:12:54.512Z |
| Node.js requirement | >=14.16 |
| Type declarations | Bundled declarations |
| Runtime dependency count | 4 |
| Peer requirement count | 0 |
| Optional dependency count | 0 |
| Minified size | Measurement not available yet |
| Minified + gzip | Measurement not available yet |
| Unpacked distribution size | 17.49 KiB |
| Published file count | 5 |
| Package type | module |
| ES module entry | Not declared |
| Default entry | Not declared |
| Side effects declaration | false |
| Direct advisories | 0 |
| Resolved graph dependencies | 6 |
| Repository stars | 447 |
| Repository forks | 29 |
Install tempy 3.2.0
npm install tempy@3.2.0 pnpm add tempy@3.2.0 yarn add tempy@3.2.0
Runtime dependencies
- is-stream ^3.0.0
- temp-dir ^3.0.0
- type-fest ^2.12.2
- unique-string ^3.0.0
Peer requirements
- None declared
Optional dependencies
- None declared
Resolved dependency graph
This deps.dev graph describes a generic 64-bit Linux environment, not your application lockfile.
- crypto-random-string@4.0.0 — indirect
- is-stream@3.0.0 — direct
- temp-dir@3.0.0 — direct
- type-fest@1.4.0 — indirect
- type-fest@2.19.0 — direct
- unique-string@3.0.0 — direct
How to interpret the specifications
Bundlephobia measurements use its standard package build and may exclude peer dependencies. Unpacked npm distribution size includes shipped files and is a different measurement. Module declarations do not prove tree-shaking or runtime compatibility.
Advisories apply to this package version directly; transitive dependencies need separate inspection. Repository signals describe the whole repository and are current observations, including on historical-version pages.
OpenSSF repository checks
Provider assessment: 2026-08-24T00:00:00Z. These are repository checks, not a jsL maintenance score.
| Code-Review | 2/10 — Found 6/30 approved changesets -- score normalized to 2 |
|---|---|
| Security-Policy | 10/10 — security policy file detected |
| Maintained | 0/10 — 0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0 |
| Dangerous-Workflow | 10/10 — no dangerous workflow patterns detected |
| Token-Permissions | 0/10 — detected GitHub workflow tokens with excessive permissions |
| Pinned-Dependencies | 0/10 — dependency not pinned by hash detected -- score normalized to 0 |
| Binary-Artifacts | 10/10 — no binaries found in the repo |
| CII-Best-Practices | 0/10 — no effort to earn an OpenSSF best practices badge detected |
| Fuzzing | 0/10 — project is not fuzzed |
| License | 10/10 — license file detected |
| Branch-Protection | 0/10 — branch protection not enabled on development/release branches |
| SAST | 0/10 — SAST tool is not run on all commits -- score normalized to 0 |
Evidence and freshness
- https://registry.npmjs.org/tempy/3.2.0 — retrieved 2026-10-29T09:40:17.076Z
- https://api.deps.dev/v3/systems/npm/packages/tempy/versions/3.2.0 — retrieved 2026-10-29T09:40:17.580Z
- https://api.deps.dev/v3/systems/npm/packages/tempy/versions/3.2.0:dependencies — retrieved 2026-10-29T09:40:17.602Z
- https://api.deps.dev/v3/projects/github.com%2Fsindresorhus%2Ftempy — retrieved 2026-10-29T09:40:17.735Z