{"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":"http://registry-npm.ywwl.com/temp-dir/download/temp-dir-1.0.0.tgz","integrity":"sha512-xZFXEGbG7SNC3itwBzI3RYjq/cEhBkx2hJuKGIUOcEULmkQExXiHat2z/qkISYsuR+IKumhEfKKbV5qXmhICFQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAqeiOqaxsCMog03CRNoD+Z7U+5yc4any8HYsrUkRGyGAiBjuqjp8HInsfD5B5rC47OWuJLGzgCI6NxiO/TEvLLrNw=="}],"size":1675,"noattachment":false,"key":"/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":{},"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","publish_time":1490689216976,"_cnpm_publish_time":1490689216976,"dist-tags":{"latest":"3.0.0"}}