{"_id":"path-temp","_rev":"3290136","name":"path-temp","description":"Returns a unique temp file name inside the specified folder","dist-tags":{"latest":"2.1.0"},"maintainers":[{"name":"zkochan","email":"zoltan.kochan+github@gmail.com"}],"time":{"modified":"2024-05-23T06:47:38.000Z","created":"2018-02-09T21:30:17.043Z","2.1.0":"2023-07-16T21:25:05.258Z","2.0.0":"2019-05-04T14:35:52.401Z","1.0.0":"2018-02-09T21:30:17.043Z"},"users":{},"author":{"name":"Zoltan Kochan","email":"z@kochan.io","url":"https://www.kochan.io/"},"repository":{"type":"git","url":"git+https://github.com/zkochan/packages.git#main"},"versions":{"2.1.0":{"name":"path-temp","version":"2.1.0","description":"Returns a unique temp file name inside the specified folder","main":"index.js","typings":"index.d.ts","repository":{"type":"git","url":"git+https://github.com/zkochan/packages.git#main"},"keywords":["path","temp","unique"],"engines":{"node":">=8.15"},"author":{"name":"Zoltan Kochan","email":"z@kochan.io","url":"https://www.kochan.io/"},"license":"MIT","homepage":"https://github.com/zkochan/packages/tree/main/path-temp#readme","dependenciesMeta":{"path-temp":{"injected":true}},"dependencies":{"unique-string":"^2.0.0"},"devDependencies":{"mos":"2.0.0-alpha.3","mos-plugin-readme":"^1.0.4","path-temp":"file:","standard":"^16.0.4","tape":"^5.3.2"},"mos":{"plugins":["readme"],"installation":{"useShortAlias":true}},"scripts":{"test":"standard && node test","md":"mos"},"bugs":{"url":"https://github.com/zkochan/packages/issues"},"_id":"path-temp@2.1.0","_integrity":"sha512-cMMJTAZlion/RWRRC48UbrDymEIt+/YSD/l8NqjneyDw2rDOBQcP5yRkMB4CYGn47KMhZvbblBP7Z79OsMw72w==","_resolved":"/private/var/folders/g7/5ygp0ncd6qx5g4fn5hpsqq5c0000gn/T/435c0b6c79c96c793721774dea128853/path-temp-2.1.0.tgz","_from":"file:path-temp-2.1.0.tgz","_nodeVersion":"18.16.1","_npmVersion":"9.5.1","dist":{"shasum":"cc68bb26d4fc301df799bb40b8c005cab0e62786","size":1830,"noattachment":false,"key":"/path-temp/-/path-temp-2.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/path-temp/download/path-temp-2.1.0.tgz"},"_npmUser":{"name":"zkochan","email":"z@kochan.io"},"directories":{},"maintainers":[{"name":"zkochan","email":"zoltan.kochan+github@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/path-temp_2.1.0_1689542705083_0.047472116940098674"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-07-16T21:25:05.258Z","publish_time":1689542705258,"_source_registry_name":"default","_cnpm_publish_time":1689542705258},"2.0.0":{"name":"path-temp","version":"2.0.0","description":"Returns a unique temp file name inside the specified folder","main":"index.js","typings":"index.d.ts","scripts":{"test":"standard && preview && node test","md":"mos"},"repository":{"type":"git","url":"https://github.com/zkochan/packages/tree/master/path-temp"},"keywords":["path","temp","unique"],"engines":{"node":">=8.15"},"author":{"name":"Zoltan Kochan","email":"z@kochan.io","url":"https://www.kochan.io/"},"license":"MIT","homepage":"https://github.com/zkochan/packages/tree/master/path-temp#readme","dependencies":{"unique-string":"^2.0.0"},"devDependencies":{"mos":"^2.0.0-alpha.3","mos-plugin-readme":"^1.0.4","package-preview":"2.0.0","standard":"12.0.1","tape":"^4.8.0"},"mos":{"plugins":["readme"],"installation":{"useShortAlias":true}},"_id":"path-temp@2.0.0","_nodeVersion":"10.12.0","_npmVersion":"6.9.0","dist":{"shasum":"3c1ff590efe13ac5fa290c0a1446c94804eaddca","size":1745,"noattachment":false,"key":"/path-temp/-/path-temp-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/path-temp/download/path-temp-2.0.0.tgz"},"maintainers":[{"name":"zkochan","email":"zoltan.kochan+github@gmail.com"}],"_npmUser":{"name":"zkochan","email":"z@kochan.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/path-temp_2.0.0_1556980552192_0.3984157346690449"},"_hasShrinkwrap":false,"publish_time":1556980552401,"_cnpm_publish_time":1556980552401},"1.0.0":{"name":"path-temp","version":"1.0.0","description":"Returns a unique temp file name inside the specified folder","main":"index.js","typings":"index.d.ts","files":["index.js","index.d.ts"],"scripts":{"test":"standard && mos t && preview && node test","md":"mos"},"repository":{"type":"git","url":"git+https://github.com/zkochan/path-temp.git"},"keywords":["path","temp","unique"],"engines":{"node":">=4"},"author":{"name":"Zoltan Kochan","email":"z@kochan.io","url":"https://www.kochan.io/"},"license":"MIT","bugs":{"url":"https://github.com/zkochan/path-temp/issues"},"homepage":"https://github.com/zkochan/path-temp#readme","dependencies":{"unique-string":"^1.0.0"},"devDependencies":{"mos":"^2.0.0-alpha.3","mos-plugin-readme":"^1.0.4","package-preview":"^1.0.5","standard":"^10.0.3","tape":"^4.8.0"},"mos":{"plugins":["readme"],"installation":{"useShortAlias":true}},"gitHead":"4f600cf5ce0f7ba3d8f35530a099d332af51a55b","_id":"path-temp@1.0.0","_npmVersion":"5.6.0","_nodeVersion":"6.11.4","_npmUser":{"name":"zkochan","email":"z@kochan.io"},"dist":{"shasum":"8bc51c22fb728bc2a8fd140c29dbdc6efd9f899e","size":1825,"noattachment":false,"key":"/path-temp/-/path-temp-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/path-temp/download/path-temp-1.0.0.tgz"},"maintainers":[{"name":"zkochan","email":"zoltan.kochan+github@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/path-temp_1.0.0_1518211815336_0.9513577823024524"},"_hasShrinkwrap":false,"publish_time":1518211817043,"_cnpm_publish_time":1518211817043}},"readme":"# path-temp\n\n> Returns a unique temp file name inside the specified folder\n\n<!--@shields('npm')-->\n[![npm version](https://img.shields.io/npm/v/path-temp.svg)](https://www.npmjs.com/package/path-temp)\n<!--/@-->\n\nUseful when there's a need to do atomic operations. The temp name contains the\nprocess ID.\n\n## Installation\n\n```sh\n<npm|yarn|pnpm> add path-temp\n```\n\n## Usage\n\n```js\nconst pathTemp = require('path-temp')\n\nconsole.log(pathTemp(process.cwd()))\n//> \"/home/zkochan/src/path-temp/_tmp_17230_cf3396bb9fddb8ebb30807366facf123\"\n```\n\n## License\n\n[MIT](./LICENSE) © [Zoltan Kochan](https://www.kochan.io/)\n","_attachments":{},"homepage":"https://github.com/zkochan/packages/tree/main/path-temp#readme","bugs":{"url":"https://github.com/zkochan/packages/issues"},"license":"MIT"}