{"_id":"temp-dir","_rev":"6-56a3337d6903c02499234962ecba0686","name":"temp-dir","description":"Get the real path of the system temp directory","dist-tags":{"latest":"3.0.0"},"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","tarball":"https://registry.npmjs.org/temp-dir/-/temp-dir-1.0.0.tgz","integrity":"sha512-xZFXEGbG7SNC3itwBzI3RYjq/cEhBkx2hJuKGIUOcEULmkQExXiHat2z/qkISYsuR+IKumhEfKKbV5qXmhICFQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAqeiOqaxsCMog03CRNoD+Z7U+5yc4any8HYsrUkRGyGAiBjuqjp8HInsfD5B5rC47OWuJLGzgCI6NxiO/TEvLLrNw=="}]},"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":{}},"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":{"integrity":"sha512-aoBAniQmmwtcKp/7BzsH8Cxzv8OL736p7v1ihGb5e9DJ9kTwGWHrQrVB5+lfVDzfGrdRzXch+ig7LHaY1JTOrg==","shasum":"bde92b05bdfeb1516e804c9c00ad45177f31321e","tarball":"https://registry.npmjs.org/temp-dir/-/temp-dir-2.0.0.tgz","fileCount":5,"unpackedSize":3285,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcxbIKCRA9TVsSAnZWagAAQ5cP/jzaSohim3KdjNAFK1wd\nwIDgm/V5ur4bXtBagf5l1a8lnXFVu5Rd9A2ojUaNp1Mqz6CMP89Rx6VDDVI9\nkklpxkeYy66R+SOU1c3EdEf2bSFr89QBM18JyJrnaH6afJyBXLqSZK5QRXRN\nH/1JvBOMZQLv35v0LvGUJSTEw9FkACk4vrU5EZ9Ya046QF83LgSRIc4YS5nd\nyIb1dl1GrhCE4+vl+etk54cEkg9gSf2k5MHoucBfdxiF4U4WjWFxBkO90Rc3\noMM2mAwYa3yuVO654Hsj64orc36E9HGgKYIZ1/2W7vGwAqLsmlM4h6PoYWI2\n0PPELXcTvg4QNQzvyb8W3SYhQK6HXrk7kumPlvlXI2+Tr4O+M/7cTNq3oQZ7\n2cKkCIisheigUXdU4eRcqP2xoozo2L8wnQyxH2gvrIn4jw6FzLL/dSWL5b30\nJTQUIOb7Bz6X+2dvfIRVkyIAyJYPcq5eZ3Gn+u1Mv5ruTbTfgFRZea5FPMOa\noahreRyI8cNyH8PuOyQAlwl1jPXdXKrmeEPa4enul0/m+4xX02NpaFyU9o2o\n2NzurAw4RN3rBYKcIpqSfJM2kW74LJyKiTkq/sRe2/SP1JTTRqnxaXot7li/\nwjzSZEm21d4PxjPxQsE3luzAW2DtY3ZtRfVYdO7GNIc0UjfSeqHcjzvhSW0B\nbrOL\r\n=rP7J\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBVXJeR7xuzmdzXtGXHIC4hcRLZrOzPDxQMCmQ+Oaax5AiEAwGQgbV00klT244xrw4Oy9o4MeVQkrGiFDVhyiSxfuf4="}]},"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},"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":"https://registry.npmjs.org/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}},"readme":"# 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## Install\n\n```sh\nnpm install temp-dir\n```\n\n## Usage\n\n```js\nimport temporaryDirectory from 'temp-dir';\n\nconsole.log(temporaryDirectory);\n//=> '/private/var/folders/3x/jf5977fn79jbglr7rk0tq4d00000gn/T'\n```\n\n```js\nimport os from 'node:os';\n\nconsole.log(os.tmpdir());\n//=> '/var/folders/3x/jf5977fn79jbglr7rk0tq4d00000gn/T' // <= Symlink\n```\n","maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"time":{"modified":"2023-06-09T21:32:43.766Z","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"},"homepage":"https://github.com/sindresorhus/temp-dir#readme","keywords":["temp","tmpdir","os","system","real","path","realpath","resolved","temporary","directory","folder"],"repository":{"type":"git","url":"git+https://github.com/sindresorhus/temp-dir.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"bugs":{"url":"https://github.com/sindresorhus/temp-dir/issues"},"license":"MIT","readmeFilename":"readme.md","users":{"flumpus-dev":true}}