sindresorhus

temp-write

Write data to a random temporary file

by sindresorhus

JavaScript

JavaScript100%

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
ioquatix

Hello, I apologise for this question as it may be unrelated to your code and more because of my inexperience with JavaScript modules. Recently I changed from 4.x to 5.x and encountered the following error: It seems like maybe I'm using this incorrectly? But going back to 4.x the error goes away.

ioquatix · 5y ago
1Map

I get the following error: I Use Latest NodeJS: 16.2.0 I Use Latest temp-write: 5.0.0

1Map · 5y ago
sholladay

This PR aims to clean up the stream implementation by using the modern method instead of . The change is not only cosmetic. This should reduce the chance of memory leaks and other problems, as automatically forwards errors and destroys the streams if they error. It also has special handling for legacy streams, which we didn't have previously. So this should improve compatibility with the rest of the ecosystem. Although, it does require an upgrade to recent versions of Node, as was introduced in Node 10 and the legacy compatibility was introduced in Node 14.

sholladay · 5y ago
Structured data for AI agents

Repository: sindresorhus/temp-write. Description: Write data to a random temporary file Stars: 109, Forks: 12. Primary language: JavaScript. Languages: JavaScript (100%). License: MIT. Latest release: v6.0.1 (8mo ago). Open PRs: 0, open issues: 0. Last activity: 1mo ago. Community health: 85%. Top contributors: sindresorhus, SamVerschueren, sholladay, coreyfarrell, BendingBender.