{"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":{"integrity":"sha512-cMMJTAZlion/RWRRC48UbrDymEIt+/YSD/l8NqjneyDw2rDOBQcP5yRkMB4CYGn47KMhZvbblBP7Z79OsMw72w==","shasum":"cc68bb26d4fc301df799bb40b8c005cab0e62786","tarball":"http://registry-npm.ywwl.com/path-temp/download/path-temp-2.1.0.tgz","fileCount":5,"unpackedSize":3249,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDSsGv8206/V7xJmp6KgwFg0KkcsETcXz4zR/Bub+brJAIgE+64mPIAHbDUqZt2j2uHTt1oMx9dzHQ8FxaopH8jvII="}],"size":1830,"noattachment":false,"key":"/path-temp/-/path-temp-2.1.0.tgz"},"_npmUser":{"name":"zkochan","email":"z@kochan.io"},"directories":{},"maintainers":[{"name":"zkochan","email":"z@kochan.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/path-temp_2.1.0_1689542705083_0.047472116940098674"},"_hasShrinkwrap":false,"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","publish_time":1689542705258,"_cnpm_publish_time":1689542705258,"dist-tags":{"latest":"3.0.0"}}