GitShow/sindresorhus/temp-dir
sindresorhus

temp-dir

Get the real path of the system temp directory

by sindresorhus
Star on GitHubForknpm

JavaScript

85 stars5 forks3 contributorsQuiet · 3y agoSince 2017v3.0.0MIT

Meet the team

See all 3 on GitHub →
sindresorhus
sindresorhus7 contributions
Richienb
Richienb3 contributions
BendingBender
BendingBender1 contribution

Languages

View on GitHub →
JavaScript88.8%
TypeScript11.2%

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 →
hotfusion
Doesn't work when using requireClosedIssue

I am not sure what i am doing wrong here, but i am getting an error when using your model: const temp_dir_1 = require("temp-dir"); ^ Error [ERR_REQUIRE_ESM]: require() of ES Module C:\Users\pc\Desktop\mvc\node_modules\temp-dir\index.js from C:\Users\pc\Desktop\mvc\dist\classes\protocols\http.js not supported. Instead change the require of index.js in C:\Users\user\Desktop\mvc\dist\classes\protocols\http.js to a dynamic import() which is available in all CommonJS modules.

hotfusion · 1y ago
RLaursen
Exception thrown when testing with jest in node: SyntaxError: Cannot use import statement outside a moduleClosedIssue

Node Jest doesn't like the use of in index.js.

RLaursen · 3y ago
Richienb
Test on WindowsMergedPR

https://github.com/sindresorhus/temp-dir/issues/5#issuecomment-1257557705

Richienb · 3y ago
Structured data for AI agents

Repository: sindresorhus/temp-dir. Description: Get the real path of the system temp directory Stars: 85, Forks: 5. Primary language: JavaScript. Languages: JavaScript (88.8%), TypeScript (11.2%). License: MIT. Latest release: v3.0.0 (3y ago). Open PRs: 0, open issues: 0. Last activity: 3y ago. Community health: 85%. Top contributors: sindresorhus, Richienb, BendingBender.

·@ofershap

Replace github.com with gitshow.dev