sindresorhus

tempy

Get a random temporary file or directory path

by sindresorhus

JavaScript

JavaScript89.6%
TypeScript10.4%

Commit activity

Last 12 weeks · 1 commit

Full graph →

Community health

4 of 6 standards met

Community profile →
85
✓README✓License✓Contributing✓Code of Conduct○Issue Template○PR Template

Recent PRs & issues

Active · 1 discussion · Last activity 1mo ago
See all on GitHub →
sindresorhus

At some point. https://devblogs.microsoft.com/typescript/announcing-typescript-5-2-beta/

sindresorhus · 1y ago
novemberborn

Recursive removal can fail: https://github.com/sindresorhus/tempy/blob/098c043a85243c407c22a9571f5d0b5c6cdf6647/index.js#L20 Node.js lets us configure a for some of these errors, see the documentation. should do at least one retry, or maybe make it configurable, but perhaps also have an option to ignore , , , , or errors.

novemberborn · 8mo ago
sindresorhus

As requested in https://github.com/sindresorhus/tempy/pull/33. I guess it could be useful for when you want to semantically group all the temp directory usage in one directory for easier manual cleanup. This is not really useful for the methods though as they clean up themselves. I'm not entirely sold on this though, as every option adds complexity for the user and most users will not need this. I'm also concerned users will think they need this when most often, they don't.

sindresorhus · 8mo ago
Structured data for AI agents

Repository: sindresorhus/tempy. Description: Get a random temporary file or directory path Stars: 448, Forks: 29. Primary language: JavaScript. Languages: JavaScript (89.6%), TypeScript (10.4%). License: MIT. Latest release: v3.2.0 (8mo ago). Open PRs: 0, open issues: 1. Last activity: 1mo ago. Community health: 85%. Top contributors: sindresorhus, Richienb, BendingBender, douglasduteil, jonahsnider, MrJohz, KSR-Yasuda, LinusU, transitive-bullshit.