{"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"keywords":["temp","tmpdir","os","system","real","path","realpath","resolved","temporary","directory","folder"],"dist-tags":{"latest":"3.0.0"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"description":"Get the real path of the system temp directory","readme":"# temp-dir [![Build Status](https://travis-ci.org/sindresorhus/temp-dir.svg?branch=master)](https://travis-ci.org/sindresorhus/temp-dir)\n\n> Get the real path of the system temp directory\n\n[The `os.tmpdir()` built-in doesn't return the real path.](https://github.com/nodejs/node/issues/11422) That can cause problems when the returned path is a symlink, which is the case on macOS. Use this module to get the resolved path.\n\n\n## Install\n\n```\n$ npm install temp-dir\n```\n\n\n## Usage\n\n```js\nconst tempDirectory = require('temp-dir');\n\nconsole.log(tempDirectory);\n//=> '/private/var/folders/3x/jf5977fn79jbglr7rk0tq4d00000gn/T'\n\nconsole.log(require('os').tmpdir());\n//=> '/var/folders/3x/jf5977fn79jbglr7rk0tq4d00000gn/T' // <= Symlink\n```\n\n\n## License\n\nMIT © [Sindre Sorhus](https://sindresorhus.com)\n","repository":{"type":"git","url":"git+https://github.com/sindresorhus/temp-dir.git"},"users":{"flumpus-dev":true},"bugs":{"url":"https://github.com/sindresorhus/temp-dir/issues"},"license":"MIT","versions":{"1.0.0":{"name":"temp-dir","version":"1.0.0","description":"Get the real path of the system temp directory","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/temp-dir.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=4"},"scripts":{"test":"xo && ava"},"files":["index.js"],"keywords":["temp","tmp","dir","tmpdir","os","system","real","path","realpath","resolved"],"devDependencies":{"ava":"*","proxyquire":"^1.7.11","xo":"*"},"gitHead":"9569a24ba9e5be1bf0eba644f748b9bebbcb083b","bugs":{"url":"https://github.com/sindresorhus/temp-dir/issues"},"homepage":"https://github.com/sindresorhus/temp-dir#readme","_id":"temp-dir@1.0.0","_shasum":"0a7c0ea26d3a39afa7e0ebea9c1fc0bc4daa011d","_from":".","_npmVersion":"2.15.11","_nodeVersion":"4.7.3","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"0a7c0ea26d3a39afa7e0ebea9c1fc0bc4daa011d","size":1675,"noattachment":false,"tarball":"http://tools.bpmhome.cn:8082/nexus/repository/npm-lc/temp-dir/-/temp-dir-1.0.0.tgz"},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/temp-dir-1.0.0.tgz_1490689216746_0.8579589340370148"},"directories":{},"publish_time":1490689216976,"_hasShrinkwrap":false,"_cnpm_publish_time":1490689216976},"2.0.0":{"name":"temp-dir","version":"2.0.0","description":"Get the real path of the system temp directory","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/temp-dir.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=8"},"scripts":{"test":"xo && ava && tsd"},"keywords":["temp","tmpdir","os","system","real","path","realpath","resolved","temporary","directory","folder"],"devDependencies":{"ava":"^1.4.1","proxyquire":"^2.1.0","tsd":"^0.7.2","xo":"^0.24.0"},"gitHead":"f71cb263d0a7abba1ba75083b5ff86e09e258179","bugs":{"url":"https://github.com/sindresorhus/temp-dir/issues"},"homepage":"https://github.com/sindresorhus/temp-dir#readme","_id":"temp-dir@2.0.0","_nodeVersion":"10.15.3","_npmVersion":"6.9.0","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"bde92b05bdfeb1516e804c9c00ad45177f31321e","size":1776,"noattachment":false,"tarball":"http://tools.bpmhome.cn:8082/nexus/repository/npm-lc/temp-dir/-/temp-dir-2.0.0.tgz"},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/temp-dir_2.0.0_1556460041811_0.06684040845979555"},"_hasShrinkwrap":false,"publish_time":1556460041966,"_cnpm_publish_time":1556460041966},"3.0.0":{"name":"temp-dir","version":"3.0.0","description":"Get the real path of the system temp directory","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/temp-dir.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"type":"module","exports":"./index.js","types":"./index.d.ts","engines":{"node":">=14.16"},"scripts":{"test":"xo && ava && tsd"},"keywords":["temp","tmpdir","os","system","real","path","realpath","resolved","temporary","directory","folder"],"devDependencies":{"ava":"^4.3.3","quibble":"^0.6.14","tsd":"^0.24.1","xo":"^0.52.3"},"ava":{"nodeArguments":["--loader=quibble"]},"gitHead":"b84f39c50d4767e8f1b19ba920665c0ed16d6e95","bugs":{"url":"https://github.com/sindresorhus/temp-dir/issues"},"homepage":"https://github.com/sindresorhus/temp-dir#readme","_id":"temp-dir@3.0.0","_nodeVersion":"14.19.3","_npmVersion":"8.3.2","dist":{"integrity":"sha512-nHc6S/bwIilKHNRgK/3jlhDoIHcp45YgyiwcAk46Tr0LfEqGBVpmiAyuiuxeVE44m3mXnEeVhaipLOEWmH+Njw==","shasum":"7f147b42ee41234cc6ba3138cd8e8aa2302acffa","tarball":"http://tools.bpmhome.cn:8082/nexus/repository/npm-lc/temp-dir/-/temp-dir-3.0.0.tgz","fileCount":5,"unpackedSize":3155,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDmfnf6uDXz2Cy/ffzEvFlXl+YUAk9lBGQXBquzLdg9/wIhAK98CKkL6FuEu/QbmYaTmPJr0NwuT9Fcu1LQKs2rgf3X"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjMThzACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp4KQ//dCqf5wrIROerKMUuDO61QBupavhOvNVrvdzaDcGwCRnfSfYL\r\nk35gZenLABzR7BggaJPMjA0TyU7lNgmkTStKjfBpz5qvTFodr4oDp3Bjnpu/\r\nOqibYRjCC0Uz2KeMgnxSN9Pi/RSRU00h19Qxn8bpzpe5vZ9Nexq22asm7zSh\r\noZgRZRzaXisS+Kk7xJFL2MJOYaglM3P+fA9p+aUQL7UYx+iMNKOnqjM7CttN\r\nmN47WHnYS1VTkwviyaFizaUwSdLaOwz24WsKCTYL3K4gD1V0hiHMmPJt/F9D\r\nVifUYQQQuZsxCCLWrMAiSGQIPmrJshkjk6ojpsz1fSTA3NFBcM5NTKrqHFqY\r\nLrH+FSdJWXiT0hYQ/5b0WolX0iGgzUWu/f8cGOSBbUiLelh/drM0NisKT5Np\r\nOxwLBlqNEGJr7myhGzH29Tx1kTT5UCHJJySaQH4Ev3NC/iA+6bX2tY/I5kAq\r\nxZDdmPbBSppYNrbH/cpupyXmtHw5fgnccAAe3LUO5E4M53loHr1+4wKJvv2i\r\niOxhiy0rL7CpS/7unojrbQkEIpVr7EJDki1Oq7LVElI3YcBtzwqSHW8a6033\r\nCLK4c71NP+Sg9n5FDXoyU/W0OpzYBeUcOL4mu6ugzfR7ha1Zs0uyn+7ZcaLp\r\nLBG20QHp/XPmFrFLsE+kG6qg8XR15pPRtnY=\r\n=FNhO\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"directories":{},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/temp-dir_3.0.0_1664170099512_0.9446963221233429"},"_hasShrinkwrap":false}},"name":"temp-dir","time":{"modified":"2020-11-01T07:43:06.940Z","created":"2017-03-28T08:20:16.976Z","1.0.0":"2017-03-28T08:20:16.976Z","2.0.0":"2019-04-28T14:00:41.966Z","3.0.0":"2022-09-26T05:28:19.727Z"},"readmeFilename":"readme.md","homepage":"https://github.com/sindresorhus/temp-dir#readme"}