{"id":18888374,"url":"https://github.com/pnpm/parse-npm-tarball-url","last_synced_at":"2025-04-14T23:20:38.538Z","repository":{"id":52544192,"uuid":"81874215","full_name":"pnpm/parse-npm-tarball-url","owner":"pnpm","description":"Parse a tarball URL hosted in the npm registry","archived":false,"fork":false,"pushed_at":"2021-04-26T16:42:43.000Z","size":138,"stargazers_count":3,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-10T02:31:01.618Z","etag":null,"topics":["npm","registry"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pnpm.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-02-13T21:33:55.000Z","updated_at":"2023-06-05T17:01:05.000Z","dependencies_parsed_at":"2022-09-02T10:11:48.023Z","dependency_job_id":null,"html_url":"https://github.com/pnpm/parse-npm-tarball-url","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pnpm%2Fparse-npm-tarball-url","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pnpm%2Fparse-npm-tarball-url/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pnpm%2Fparse-npm-tarball-url/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pnpm%2Fparse-npm-tarball-url/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pnpm","download_url":"https://codeload.github.com/pnpm/parse-npm-tarball-url/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248794571,"owners_count":21162615,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["npm","registry"],"created_at":"2024-11-08T07:43:36.613Z","updated_at":"2025-04-14T23:20:38.496Z","avatar_url":"https://github.com/pnpm.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"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\u003e Parse a tarball URL hosted in the npm registry\n\n## Installation\n\n```\n\u003cpnpm|yarn|npm\u003e 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","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpnpm%2Fparse-npm-tarball-url","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpnpm%2Fparse-npm-tarball-url","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpnpm%2Fparse-npm-tarball-url/lists"}