UNPKG

@zkochan/pnpm

Version:

Fast, disk space efficient package manager

124 lines (123 loc) 3.81 kB
{ "_args": [ [ { "raw": "path-temp@^1.0.0", "scope": null, "escapedName": "path-temp", "name": "path-temp", "rawSpec": "^1.0.0", "spec": ">=1.0.0 <2.0.0", "type": "range" }, "/home/zkochan/src/pnpm/packages/pnpm/node_modules/@pnpm/git-fetcher" ] ], "_from": "path-temp@>=1.0.0 <2.0.0", "_id": "path-temp@1.0.0", "_inCache": true, "_location": "/path-temp", "_nodeVersion": "6.11.4", "_npmOperationalInternal": { "host": "s3://npm-registry-packages", "tmp": "tmp/path-temp_1.0.0_1518211815336_0.9513577823024524" }, "_npmUser": { "name": "zkochan", "email": "z@kochan.io" }, "_npmVersion": "5.6.0", "_phantomChildren": {}, "_requested": { "raw": "path-temp@^1.0.0", "scope": null, "escapedName": "path-temp", "name": "path-temp", "rawSpec": "^1.0.0", "spec": ">=1.0.0 <2.0.0", "type": "range" }, "_requiredBy": [ "/@pnpm/git-fetcher", "/@pnpm/store-path", "/@pnpm/tarball-fetcher", "/package-store", "/root-link-target" ], "_resolved": "https://registry.npmjs.org/path-temp/-/path-temp-1.0.0.tgz", "_shasum": "8bc51c22fb728bc2a8fd140c29dbdc6efd9f899e", "_shrinkwrap": null, "_spec": "path-temp@^1.0.0", "_where": "/home/zkochan/src/pnpm/packages/pnpm/node_modules/@pnpm/git-fetcher", "author": { "name": "Zoltan Kochan", "email": "z@kochan.io", "url": "https://www.kochan.io/" }, "bugs": { "url": "https://github.com/zkochan/path-temp/issues" }, "dependencies": { "unique-string": "^1.0.0" }, "description": "Returns a unique temp file name inside the specified folder", "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" }, "directories": {}, "dist": { "integrity": "sha512-TeQgoH67RYUT3xt6WaRASbWyJmvrUnpeToQQT7RW+uighCh/gfs4VCO2/P8mIpjt6JsyJ6DxE6Q1FOJXVc3ANg==", "shasum": "8bc51c22fb728bc2a8fd140c29dbdc6efd9f899e", "tarball": "https://registry.npmjs.org/path-temp/-/path-temp-1.0.0.tgz", "fileCount": 5, "unpackedSize": 3156 }, "engines": { "node": ">=4" }, "files": [ "index.js", "index.d.ts" ], "gitHead": "4f600cf5ce0f7ba3d8f35530a099d332af51a55b", "homepage": "https://github.com/zkochan/path-temp#readme", "keywords": [ "path", "temp", "unique" ], "license": "MIT", "main": "index.js", "maintainers": [ { "name": "zkochan", "email": "z@kochan.io" } ], "mos": { "plugins": [ "readme" ], "installation": { "useShortAlias": true } }, "name": "path-temp", "optionalDependencies": {}, "readme": "# path-temp\n\n> Returns a unique temp file name inside the specified folder\n\n<!--@shields('npm', 'travis')-->\n[![npm version](https://img.shields.io/npm/v/path-temp.svg)](https://www.npmjs.com/package/path-temp) [![Build Status](https://img.shields.io/travis/zkochan/path-temp/master.svg)](https://travis-ci.org/zkochan/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\nnpm i -S 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", "readmeFilename": "README.md", "repository": { "type": "git", "url": "git+https://github.com/zkochan/path-temp.git" }, "scripts": { "md": "mos", "test": "standard && mos t && preview && node test" }, "typings": "index.d.ts", "version": "1.0.0" }