{"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":"http://registry-npm.ywwl.com/temp-dir/download/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="}],"size":1776,"noattachment":false,"key":"/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,"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":1556460041966,"_cnpm_publish_time":1556460041966,"dist-tags":{"latest":"3.0.0"}}