{"name":"parse-npm-tarball-url","version":"1.0.3","description":"Parse a tarball URL hosted in the npm registry","main":"lib/index.js","typings":"lib/index.d.ts","engines":{"node":">=4"},"files":["lib"],"scripts":{"test":"npm run lint && preview && ts-node test --type-check","lint":"tslint -c tslint.json --project .","tsc":"rimraf lib && tsc","prepublishOnly":"npm run tsc"},"repository":{"type":"git","url":"git+https://github.com/pnpm/parse-npm-tarball-url.git"},"keywords":["npm","parse","url","tarball"],"author":{"name":"Zoltan Kochan","email":"z@kochan.io","url":"https://www.kochan.io/"},"license":"MIT","bugs":{"url":"https://github.com/pnpm/parse-npm-tarball-url/issues"},"homepage":"https://github.com/pnpm/parse-npm-tarball-url#readme","devDependencies":{"@types/tape":"^4.2.29","package-preview":"^1.0.5","rimraf":"^2.6.2","tape":"^4.6.3","ts-node":"^4.0.0","tslint":"^5.0.0","typescript":"^2.1.6"},"dependencies":{"@types/node":"^9.4.4","semver-regex":"^1.0.0"},"gitHead":"ffd9fefe7defb7b4c75f9fd223e7f0913f433eb9","_id":"parse-npm-tarball-url@1.0.3","_npmVersion":"5.6.0","_nodeVersion":"6.11.4","_npmUser":{"name":"zkochan","email":"z@kochan.io"},"dist":{"integrity":"sha512-LNiNoG41t4SeUu3p8aEpQatMVbfLxc600UD0urKMz09vHzz2+w0nWLs6k8rnk5eZ1tpCNkMzaMAzFTsNWMrIWg==","shasum":"aae7b9d35d480f6d445b4d1993fc8fd4014294b7","tarball":"http://registry-npm.ywwl.com/parse-npm-tarball-url/download/parse-npm-tarball-url-1.0.3.tgz","fileCount":6,"unpackedSize":5839,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDkv9+ILCy5Iai2ZVWyDwL4R3JXqYr35A+kxEwYp+YL5gIhAND65CvjGdrV10Il1a/8iPMXK0ydB8nmWmzS+W1xxWCR"}],"size":2703,"noattachment":false,"key":"/parse-npm-tarball-url/-/parse-npm-tarball-url-1.0.3.tgz"},"maintainers":[{"name":"zkochan","email":"zoltan.kochan@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/parse-npm-tarball-url_1.0.3_1518257640918_0.7633013350573106"},"_hasShrinkwrap":false,"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```\n<pnpm|yarn|npm> add parse-npm-tarball-url\n```\n\n## Usage\n\n```js\nimport parseNpmTarbalUrl from 'parse-npm-tarball-url'\n\nconst pkg = parseNpmTarbalUrl('http://registry.npmjs.org/foo/-/foo-1.0.0.tgz')\n\nconsole.log(pkg)\n// {\n//   host: 'registry.npmjs.org',\n//   name: 'foo',\n//   version: '1.0.0'\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","publish_time":1518257641622,"_cnpm_publish_time":1518257641622,"dist-tags":{"latest":"5.0.0","next":"2.0.0"}}