sindresorhus

temp-dir

Get the real path of the system temp directory

by sindresorhus

JavaScript

JavaScript88.8%
TypeScript11.2%

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
hotfusion

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
Richienb

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

Richienb · 4y 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 (4y ago). Open PRs: 0, open issues: 0. Last activity: 1mo ago. Community health: 85%. Top contributors: sindresorhus, Richienb, BendingBender.