UNPKG

pnpm

Version:

Fast, disk space efficient package manager

104 lines (103 loc) 4.15 kB
{ "_args": [ [ { "raw": "path-absolute@1.0.1", "scope": null, "escapedName": "path-absolute", "name": "path-absolute", "rawSpec": "1.0.1", "spec": "1.0.1", "type": "version" }, "/home/zoltan/src/pnpm/pnpm/packages/pnpm" ] ], "_from": "path-absolute@1.0.1", "_hasShrinkwrap": false, "_id": "path-absolute@1.0.1", "_location": "/path-absolute", "_nodeVersion": "10.12.0", "_npmOperationalInternal": { "host": "s3://npm-registry-packages", "tmp": "tmp/path-absolute_1.0.1_1543436753132_0.1442953717682851" }, "_npmUser": { "name": "zkochan", "email": "z@kochan.io" }, "_npmVersion": "6.4.1", "_phantomChildren": {}, "_requested": { "raw": "path-absolute@1.0.1", "scope": null, "escapedName": "path-absolute", "name": "path-absolute", "rawSpec": "1.0.1", "spec": "1.0.1", "type": "version" }, "_requiredBy": [ "/", "/@pnpm/store-path", "/supi" ], "_resolved": "https://registry.npmjs.org/path-absolute/-/path-absolute-1.0.1.tgz", "_shasum": "14551963f2e5c4b2c6722e3fe57a0b48d5cfbd74", "_shrinkwrap": null, "_spec": "path-absolute@1.0.1", "_where": "/home/zoltan/src/pnpm/pnpm/packages/pnpm", "author": { "name": "Zoltan Kochan", "email": "z@kochan.io", "url": "https://kochan.io/" }, "dependencies": {}, "description": "Resolves a path to an absolute path. Supports tilde", "devDependencies": { "standard": "12.0.1" }, "directories": {}, "dist": { "integrity": "sha512-gds5iRhSeOcDtj8gfWkRHLtZKTPsFVuh7utbjYtvnclw4XM+ffRzJrwqMhOD1PVqef7nBLmgsu1vIujjvAJrAw==", "shasum": "14551963f2e5c4b2c6722e3fe57a0b48d5cfbd74", "tarball": "https://registry.npmjs.org/path-absolute/-/path-absolute-1.0.1.tgz", "fileCount": 5, "unpackedSize": 3184, "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb/vnRCRA9TVsSAnZWagAACjIP+wReMv46W6tKa/f6r/S/\ndIFoNmuYAG6Xqlez5drV9y8MVK0cXndumSdQ+hSvkbq5wlwSWRX6xtaRVF/K\ngrShDmLJAQlItylhD4qo6hVGDivK5UoQlGEC3Br5rSAf9dPQOzkjy46WDZZR\nWeP6413U96giYrEdBSi1m1Vd8qGz92LeJzZbq2d5RSYFSEOXVKnP/gamoFPF\nuzzMMbttxIfe79VP0jyrIQ0MdAExIIWquzaRT2r5NmcLaXrZ8u0uAeYrQLCB\nzUJk7THKh7imxmAKaEIm1CYHq7F+k7pu5TPfd3vb3xnENWPggJvYuduc8b/F\n/vBdmnpoALvwdElDVhNvnRAc+OdO2Yz2D8zd5530wQSJ3EeJ1742B1IokiHc\nzyv4zKInWPERkzgBnfA1B7e15vOqsjq+LpEOmHS7juUcpb7PDdv7iVXfvLs+\n4zjG53X2DXIZ+TtWlwjaVw3ZxhXOUAPQIrJ1Vj1bLqIAtI5P6I7vsIq5iQKl\ntupaiGWmsT/DbbvvG+vamSBbCzQGDq4HD1NW7zSQ5H14eZ8NLLQdoOa1v4fV\nn8FF9nGhDJJVmBcnmva6Oe4buSSKN4l8lMcnkE+afSXied40OVkOI1UdmKet\niI8+pB4Nf++M4jIy4IVLQqTEUtQt9K7aPvEDPJU3maMdr/SciNhVfq8h+R/s\n9ZH5\r\n=yyln\r\n-----END PGP SIGNATURE-----\r\n" }, "engines": { "node": ">=4" }, "files": [ "index.js", "index.d.ts" ], "homepage": "https://github.com/zkochan/packages/tree/master/path-absolute#readme", "keywords": [ "path", "absolute", "tilde" ], "license": "MIT", "main": "index.js", "maintainers": [ { "name": "zkochan", "email": "zoltan.kochan@gmail.com" } ], "name": "path-absolute", "optionalDependencies": {}, "readme": "# path-absolute\n\n> Resolves a path to an absolute path. Supports tilde\n\n<!--@shields('npm')-->\n[![npm version](https://img.shields.io/npm/v/path-absolute.svg)](https://www.npmjs.com/package/path-absolute)\n<!--/@-->\n\n## Installation\n\n```sh\nnpm i -S path-absolute\n```\n\n## Usage\n\n```js\nconst pathAbsolute = require('path-absolute')\n\npathAbsolute('~/foo')\n//> '/home/zkochan/foo'\n\npathAbsolute('/foo/bar')\n//> '/foo/bar'\n\npathAbsolute('./foo/bar', '/home')\n//> '/home/foo/bar'\n```\n\n## API\n\n### `pathAbsolute(path, [cwd]): string`\n\nResolves a path to an absolute path\n\n## License\n\n[MIT](LICENSE) © [Zoltan Kochan](https://www.kochan.io/)\n", "readmeFilename": "README.md", "repository": { "type": "git", "url": "https://github.com/zkochan/packages/tree/master/path-absolute" }, "scripts": { "test": "standard" }, "typings": "index.d.ts", "version": "1.0.1" }