# temp-path

> Create a temporary path

Latest version **2.0.0** (published 2023-11-07) · MIT license · 0 weekly downloads

> **Deprecated.** This package is deprecated.

## Install

```sh
npm install temp-path
pnpm add temp-path
yarn add temp-path
bun add temp-path
```

## Health

**Score 10/100 (F)** — status: deprecated.

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 2.0.0 |
| Published | 2023-11-07 |
| First published | 2014-12-15 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 34 |
| Maintainers | sindresorhus |
| Keywords | temporary, path, filename |

## Links

- npm: https://www.npmjs.com/package/temp-path
- Repository: https://github.com/sindresorhus/temporary-path
- Homepage: https://github.com/sindresorhus/temporary-path#readme
- Issues: https://github.com/sindresorhus/temporary-path/issues
- npm.io page: https://npm.io/package/temp-path

## Dependencies (1)

- [os-tmpdir](https://npm.io/package/os-tmpdir.md) 1

## Alternatives

- [base64url](https://npm.io/package/base64url.md) — 6.1M weekly downloads
- [get-installed-path](https://npm.io/package/get-installed-path.md) — 502.9K weekly downloads
- [@uppy/url](https://npm.io/package/@uppy/url.md) — 185.8K weekly downloads
- [@d3fc/d3fc-shape](https://npm.io/package/@d3fc/d3fc-shape.md) — 16.2K weekly downloads
- [localizer](https://npm.io/package/localizer.md) — 226 weekly downloads

## Recent versions

- 2.0.0 (latest) — 2023-11-07
- 1.0.0 — 2014-12-15

## README

# temp-path

Create a temporary filename or path.

```js
var random = require('temp-path');

var filename = random();
```

---
_Source: https://npm.io/package/temp-path · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
