UNPKG

pnpm

Version:

Fast, disk space efficient package manager

118 lines (117 loc) 4.92 kB
{ "_args": [ [ { "raw": "parse-npm-tarball-url@2.0.0", "scope": null, "escapedName": "parse-npm-tarball-url", "name": "parse-npm-tarball-url", "rawSpec": "2.0.0", "spec": "2.0.0", "type": "version" }, "/home/zoltan/src/pnpm/pnpm/packages/pnpm/node_modules/@pnpm/npm-resolver" ] ], "_from": "parse-npm-tarball-url@2.0.0", "_hasShrinkwrap": false, "_id": "parse-npm-tarball-url@2.0.0", "_location": "/parse-npm-tarball-url", "_nodeVersion": "10.12.0", "_npmOperationalInternal": { "host": "s3://npm-registry-packages", "tmp": "tmp/parse-npm-tarball-url_2.0.0_1543606796097_0.743812993115945" }, "_npmUser": { "name": "zkochan", "email": "z@kochan.io" }, "_npmVersion": "6.4.1", "_phantomChildren": {}, "_requested": { "raw": "parse-npm-tarball-url@2.0.0", "scope": null, "escapedName": "parse-npm-tarball-url", "name": "parse-npm-tarball-url", "rawSpec": "2.0.0", "spec": "2.0.0", "type": "version" }, "_requiredBy": [ "/@pnpm/npm-resolver" ], "_resolved": "https://registry.npmjs.org/parse-npm-tarball-url/-/parse-npm-tarball-url-2.0.0.tgz", "_shasum": "3e5777c5ba4a06483fd9eb94225fcf122448725d", "_shrinkwrap": null, "_spec": "parse-npm-tarball-url@2.0.0", "_where": "/home/zoltan/src/pnpm/pnpm/packages/pnpm/node_modules/@pnpm/npm-resolver", "author": { "name": "Zoltan Kochan", "email": "z@kochan.io", "url": "https://www.kochan.io/" }, "bugs": { "url": "https://github.com/pnpm/parse-npm-tarball-url/issues" }, "dependencies": { "@types/node": "^10.12.11", "semver-regex": "^2.0.0" }, "description": "Parse a tarball URL hosted in the npm registry", "devDependencies": { "@types/tape": "^4.2.29", "package-preview": "^2.0.0", "rimraf": "^2.6.2", "tape": "^4.6.3", "ts-node": "^7.0.0", "tslint": "^5.0.0", "typescript": "^3.0.0" }, "directories": {}, "dist": { "integrity": "sha512-ZUkuEjY1YqIcOnqZjoNcy9oniT07k1hfpHgbDqrYmR8Lx3xVnUv7MbvOfANa/ZNGSz1CkgI9lfqCHaf8SKyL0Q==", "shasum": "3e5777c5ba4a06483fd9eb94225fcf122448725d", "tarball": "https://registry.npmjs.org/parse-npm-tarball-url/-/parse-npm-tarball-url-2.0.0.tgz", "fileCount": 6, "unpackedSize": 5766, "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcAZIMCRA9TVsSAnZWagAAsU8QAJwS5s8EKMsWPjk9bty0\n9RXWWumiI5rkxhTqh4aMeK5Cd47qUx2sYO8SpbbhVm5YBpH8XqjB+1iClIJU\nC/sh990XrQIWngruYS9qlCMnBFnttMQ5ZIGEAdBFD2GXSDP8HeSyFwkziOhi\niOwExIwqMLRVKhBw5vqYkmKXJ3xjTU0hQIUKyzn4yoZO9pVOTSCmPeXth/IN\neE02oJrRP3a7h2v8cu2pnFPFnxnVPqN5Z5o7fLjdf93jlkKFjjV5yBIOGBvS\nybZIaLqAsTF47zcVng/YoDk/JAdbCAWg2pufgRudiUBBXVnY+5ETiJXGfuLp\nHwlEHcBlXjZz85j3W/2MgAHDjdJmvb2KsjlsR+n4Kc326I094wQBwDnNDa4O\nHiyFSVie5Q2oYX2Dnwq50Yd8Lek/jr2qihOqgB87oPOKT2l3VfohWisH4j0O\nXR/1LZ2RN2+lYc8IRUUh3rNUyagqKznomWCVUu2XX0kwZ1gKkZRS6bHonetI\nSYBITCsHNEBIdZ1lpvHYvrrCWOUJqD3vSfwDtmIOiAQeJ4pj0ZpXCsWJrBsD\nXzt2xv6YPV+A4otU4DdOvuPx0whH+urDRNyoPBcEq76kmLMRoy27X2jvgyDK\nQ9+4VTanjv18256VIBZN+zZ3dDpFXrKRw2Sz1yaEyMfG8uxLg/Q4L+W5jIuu\nSXuj\r\n=iKe1\r\n-----END PGP SIGNATURE-----\r\n" }, "engines": { "node": ">=6" }, "files": [ "lib" ], "gitHead": "20e7abb854b258b6d25196e52b6aea798a666038", "homepage": "https://github.com/pnpm/parse-npm-tarball-url#readme", "keywords": [ "npm", "parse", "url", "tarball" ], "license": "MIT", "main": "lib/index.js", "maintainers": [ { "name": "zkochan", "email": "zoltan.kochan@gmail.com" } ], "name": "parse-npm-tarball-url", "optionalDependencies": {}, "readme": "# parse-npm-tarball-url\n\n[![Build Status](https://travis-ci.org/pnpm/parse-npm-tarball-url.svg?branch=master)](https://travis-ci.org/pnpm/parse-npm-tarball-url)\n\n> Parse a tarball URL hosted in the npm registry\n\n## Installation\n\n```\nnpm i -S parse-npm-tarball-url\n```\n\n## Usage\n\n```js\nimport parseNpmTarbalUrl from 'parse-npm-tarball-url'\n\nconst spec = parseNpmTarbalUrl('http://registry.npmjs.org/foo/-/foo-1.0.0.tgz')\n\nconsole.log(spec)\n// {\n// host: 'registry.npmjs.org',\n// pkg: {\n// name: 'foo',\n// version: '1.0.0'\n// }\n// }\n```\n\n## Related\n\n- [get-npm-tarball-url](https://github.com/pnpm/get-npm-tarball-url) - Create the tarball URL of a npm package\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/pnpm/parse-npm-tarball-url.git" }, "scripts": { "lint": "tslint -c tslint.json --project .", "prepublishOnly": "npm run tsc", "test": "npm run lint && preview && ts-node test --type-check", "tsc": "rimraf lib && tsc" }, "typings": "lib/index.d.ts", "version": "2.0.0" }