{"_id":"os-tmpdir","_rev":"18580","name":"os-tmpdir","description":"Node.js os.tmpdir() ponyfill","dist-tags":{"latest":"2.0.0"},"maintainers":[{"name":"sindresorhus","email":""}],"time":{"modified":"2021-06-03T09:59:36.000Z","created":"2015-05-07T19:12:57.265Z","2.0.0":"2018-11-08T11:14:15.596Z","1.0.2":"2016-09-30T04:54:34.812Z","1.0.1":"2015-05-16T00:01:21.701Z","1.0.0":"2015-05-07T19:12:57.265Z"},"users":{"jacopkane":true},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"repository":{"type":"git","url":"git+https://github.com/sindresorhus/os-tmpdir.git"},"versions":{"2.0.0":{"name":"os-tmpdir","version":"2.0.0","description":"Node.js os.tmpdir() ponyfill","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/os-tmpdir.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=0.10.0"},"scripts":{"test":"xo && ava"},"keywords":["built-in","core","ponyfill","polyfill","shim","os","tmpdir","tempdir","tmp","temp","dir","directory","env","environment"],"devDependencies":{"ava":"*","xo":"^0.16.0"},"gitHead":"8e6b12fd39910ca62c642b4f2ba458defb91dbfa","bugs":{"url":"https://github.com/sindresorhus/os-tmpdir/issues"},"homepage":"https://github.com/sindresorhus/os-tmpdir#readme","_id":"os-tmpdir@2.0.0","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"610a70c5c2a986d5fef3830c429a837c4c4b2968","size":1828,"noattachment":false,"key":"/os-tmpdir/-/os-tmpdir-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/os-tmpdir/download/os-tmpdir-2.0.0.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/os-tmpdir_2.0.0_1541675655412_0.8308333488963193"},"_hasShrinkwrap":false,"deprecated":"This is not needed anymore. `require('os').tmpdir()` in Node.js 4 and up is good.","publish_time":1541675655596,"_cnpm_publish_time":1541675655596},"1.0.2":{"name":"os-tmpdir","version":"1.0.2","description":"Node.js os.tmpdir() ponyfill","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/os-tmpdir.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=0.10.0"},"scripts":{"test":"xo && ava"},"files":["index.js"],"keywords":["built-in","core","ponyfill","polyfill","shim","os","tmpdir","tempdir","tmp","temp","dir","directory","env","environment"],"devDependencies":{"ava":"*","xo":"^0.16.0"},"gitHead":"1abf9cf5611b4be7377060ea67054b45cbf6813c","bugs":{"url":"https://github.com/sindresorhus/os-tmpdir/issues"},"homepage":"https://github.com/sindresorhus/os-tmpdir#readme","_id":"os-tmpdir@1.0.2","_shasum":"bbe67406c79aa85c5cfec766fe5734555dfa1274","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.6.0","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"bbe67406c79aa85c5cfec766fe5734555dfa1274","size":1796,"noattachment":false,"key":"/os-tmpdir/-/os-tmpdir-1.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/os-tmpdir/download/os-tmpdir-1.0.2.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/os-tmpdir-1.0.2.tgz_1475211274587_0.14931037812493742"},"directories":{},"publish_time":1475211274812,"_cnpm_publish_time":1475211274812,"_hasShrinkwrap":false},"1.0.1":{"name":"os-tmpdir","version":"1.0.1","description":"Node.js os.tmpdir() ponyfill","license":"MIT","repository":{"type":"git","url":"https://github.com/sindresorhus/os-tmpdir"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=0.10.0"},"scripts":{"test":"node test.js"},"files":["index.js"],"keywords":["built-in","core","ponyfill","polyfill","shim","os","tmpdir","tempdir","tmp","temp","dir","directory","env","environment"],"devDependencies":{"ava":"0.0.4"},"gitHead":"5c5d355f81378980db629d60128ad03e02b1c1e5","bugs":{"url":"https://github.com/sindresorhus/os-tmpdir/issues"},"homepage":"https://github.com/sindresorhus/os-tmpdir","_id":"os-tmpdir@1.0.1","_shasum":"e9b423a1edaf479882562e92ed71d7743a071b6e","_from":".","_npmVersion":"2.9.1","_nodeVersion":"0.12.3","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"e9b423a1edaf479882562e92ed71d7743a071b6e","size":1882,"noattachment":false,"key":"/os-tmpdir/-/os-tmpdir-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/os-tmpdir/download/os-tmpdir-1.0.1.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"directories":{},"publish_time":1431734481701,"_cnpm_publish_time":1431734481701,"_hasShrinkwrap":false},"1.0.0":{"name":"os-tmpdir","version":"1.0.0","description":"Node.js os.tmpdir() ponyfill","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/os-tmpdir.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=0.10.0"},"scripts":{"test":"node test.js"},"files":["index.js"],"keywords":["built-in","core","ponyfill","polyfill","shim","os","tmpdir","tempdir","tmp","temp","dir","directory","env","environment"],"devDependencies":{"ava":"0.0.4"},"gitHead":"0cba129ac9a79ecd7c2f18786a41ab228ac37c6d","bugs":{"url":"https://github.com/sindresorhus/os-tmpdir/issues"},"homepage":"https://github.com/sindresorhus/os-tmpdir#readme","_id":"os-tmpdir@1.0.0","_shasum":"698cf46067e8843fb930eb600cbf80a6c1b92066","_from":".","_npmVersion":"2.9.0","_nodeVersion":"0.12.2","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"698cf46067e8843fb930eb600cbf80a6c1b92066","size":1888,"noattachment":false,"key":"/os-tmpdir/-/os-tmpdir-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/os-tmpdir/download/os-tmpdir-1.0.0.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"directories":{},"publish_time":1431025977265,"_cnpm_publish_time":1431025977265,"_hasShrinkwrap":false}},"readme":"**Deprecated:** This is not needed anymore. `require('os').tmpdir()` in Node.js 4 and up is good.\n\n---\n\n# os-tmpdir [![Build Status](https://travis-ci.org/sindresorhus/os-tmpdir.svg?branch=master)](https://travis-ci.org/sindresorhus/os-tmpdir)\n\n> Node.js [`os.tmpdir()`](https://nodejs.org/api/os.html#os_os_tmpdir) [ponyfill](https://ponyfill.com)\n\nUse this instead of `require('os').tmpdir()` to get a consistent behavior on different Node.js versions (even 0.8).\n\n\n## Install\n\n```\n$ npm install --save os-tmpdir\n```\n\n\n## Usage\n\n```js\nconst osTmpdir = require('os-tmpdir');\n\nosTmpdir();\n//=> '/var/folders/m3/5574nnhn0yj488ccryqr7tc80000gn/T'\n```\n\n\n## API\n\nSee the [`os.tmpdir()` docs](https://nodejs.org/api/os.html#os_os_tmpdir).\n\n\n## License\n\nMIT © [Sindre Sorhus](https://sindresorhus.com)\n","_attachments":{},"homepage":"https://github.com/sindresorhus/os-tmpdir#readme","bugs":{"url":"https://github.com/sindresorhus/os-tmpdir/issues"},"license":"MIT"}