GitShow/sindresorhus/temp-write
sindresorhus

temp-write

Write data to a random temporary file

by sindresorhus
Star on GitHubForknpm

JavaScript

109 stars12 forks5 contributorsQuiet · 5mo agoSince 2014v6.0.1MIT

Meet the team

See all 5 on GitHub →
sindresorhus
sindresorhus54 contributions
SamVerschueren
SamVerschueren3 contributions
sholladay
sholladay2 contributions
coreyfarrell
coreyfarrell1 contribution
BendingBender
BendingBender1 contribution

Languages

View on GitHub →
JavaScript100%

Commit activity

Last 12 weeks · 0 commits

Full graph →

Community health

4 of 6 standards met

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

Recent fixes

View closed PRs →
ioquatix
Cannot use import statement outside a moduleClosedIssue

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 · 4y ago
1Map
Error ERR_REQUIRE_ESMClosedIssue

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

1Map · 5y ago
sholladay
Improve stream handlingMergedPR

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 (5mo ago). Open PRs: 0, open issues: 0. Last activity: 5mo ago. Community health: 85%. Top contributors: sindresorhus, SamVerschueren, sholladay, coreyfarrell, BendingBender.

·@ofershap

Replace github.com with gitshow.dev