UNPKG

@zkochan/pnpm

Version:

Fast, disk space efficient package manager

111 lines (110 loc) 3.67 kB
{ "_args": [ [ { "raw": "get-npm-tarball-url@^2.0.1", "scope": null, "escapedName": "get-npm-tarball-url", "name": "get-npm-tarball-url", "rawSpec": "^2.0.1", "spec": ">=2.0.1 <3.0.0", "type": "range" }, "/home/zkochan/src/pnpm/packages/pnpm/node_modules/pnpm-shrinkwrap" ] ], "_from": "get-npm-tarball-url@>=2.0.1 <3.0.0", "_id": "get-npm-tarball-url@2.0.1", "_inCache": true, "_location": "/get-npm-tarball-url", "_nodeVersion": "6.11.4", "_npmOperationalInternal": { "host": "s3://npm-registry-packages", "tmp": "tmp/get-npm-tarball-url-2.0.1.tgz_1515371116397_0.09007459064014256" }, "_npmUser": { "name": "zkochan", "email": "z@kochan.io" }, "_npmVersion": "5.6.0", "_phantomChildren": {}, "_requested": { "raw": "get-npm-tarball-url@^2.0.1", "scope": null, "escapedName": "get-npm-tarball-url", "name": "get-npm-tarball-url", "rawSpec": "^2.0.1", "spec": ">=2.0.1 <3.0.0", "type": "range" }, "_requiredBy": [ "/pnpm-shrinkwrap", "/supi" ], "_resolved": "https://registry.npmjs.org/get-npm-tarball-url/-/get-npm-tarball-url-2.0.1.tgz", "_shasum": "43c15223c35096e3e4068d8a6c6747bbdfc23462", "_shrinkwrap": null, "_spec": "get-npm-tarball-url@^2.0.1", "_where": "/home/zkochan/src/pnpm/packages/pnpm/node_modules/pnpm-shrinkwrap", "author": { "name": "Zoltan Kochan", "email": "z@kochan.io", "url": "https://www.kochan.io/" }, "bugs": { "url": "https://github.com/pnpm/get-npm-tarball-url/issues" }, "dependencies": { "normalize-registry-url": "^1.0.0" }, "description": "Create the tarball URL of a npm package", "devDependencies": { "@types/tape": "^4.2.29", "package-preview": "^1.0.3", "tape": "^4.6.3", "ts-node": "^4.0.0", "typescript": "^2.4.2" }, "directories": {}, "dist": { "integrity": "sha512-POrVRGyS9X5w+855/H46JGVYBGuVgJXyIkbsTCzW+sv5x2qH+rfQjc7652DzkgOskF+cqLevA2En7V0hu0gZCg==", "shasum": "43c15223c35096e3e4068d8a6c6747bbdfc23462", "tarball": "https://registry.npmjs.org/get-npm-tarball-url/-/get-npm-tarball-url-2.0.1.tgz" }, "engines": { "node": ">=4" }, "files": [ "lib" ], "gitHead": "1e37775f396250a52f20b20f2aa3de9a2f044730", "homepage": "https://github.com/pnpm/get-npm-tarball-url#readme", "keywords": [ "npm", "url", "tarball" ], "license": "MIT", "main": "lib/index.js", "maintainers": [ { "name": "zkochan", "email": "zoltan.kochan@gmail.com" } ], "name": "get-npm-tarball-url", "optionalDependencies": {}, "readme": "# get-npm-tarball-url\n\n[![Build Status](https://travis-ci.org/pnpm/get-npm-tarball-url.svg?branch=master)](https://travis-ci.org/pnpm/get-npm-tarball-url)\n\n> Create the tarball URL of a npm package\n\n## Installation\n\n```\nnpm i -S get-npm-tarball-url\n```\n\n## Usage\n\n```js\nimport getNpmTarballUrl from 'get-npm-tarball-url'\n\nconst url = getNpmTarballUrl('foo', '1.0.0')\n\nconsole.log(url)\n// 'https://registry.npmjs.org/foo/-/foo-1.0.0.tgz'\n```\n\n## Related\n\n- [parse-npm-tarball-url](https://github.com/pnpm/parse-npm-tarball-url) - Parse a tarball URL hosted in the npm registry\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/get-npm-tarball-url.git" }, "scripts": { "prepublishOnly": "npm run tsc", "test": "preview && ts-node test --type-check", "tsc": "tsc" }, "typings": "lib/index.d.ts", "version": "2.0.1" }