tmp is a utility for creating temporary files and directories. It generates unique names, handles cleanup upon process exit, and offers configurable prefix/suffix options. tmp simplifies working with temporary storage, ensuring files are securely created and automatically removed, preventing clutter and potential conflicts. It works cross-platform and includes features like asynchronous creation and deterministic cleanup order. It's ideal for testing frameworks, build tools, or any application needing temporary data management.
The npm package tmp has irregular release frequency. It had a burst of releases in 2011, then sporadic releases between 2012 and 2017. After a quiet period, there was a release in 2019, followed by a couple in 2020 and 2024. There have been no releases in 2025 as of August 31st.
The npm package 'tmp' experienced consistently high download numbers between March 2024 and August 2025. Downloads generally increased over time, peaking in June 2025. August 2025 data is incomplete, showing a decrease from the previous two months, but still remains high compared to prior year values.