{"id":811782,"name":"@antfu/install-pkg","ecosystem":"npm","description":"Install package programmatically.","homepage":"https://github.com/antfu-collective/install-pkg#readme","licenses":"MIT","normalized_licenses":["MIT"],"repository_url":"https://github.com/antfu-collective/install-pkg","keywords_array":[],"namespace":"antfu","versions_count":16,"first_release_published_at":"2021-09-28T04:56:09.769Z","latest_release_published_at":"2026-07-21T08:38:18.246Z","latest_release_number":"2.0.1","last_synced_at":"2026-09-04T09:55:50.071Z","created_at":"2022-04-07T13:34:16.146Z","updated_at":"2026-09-10T14:09:10.100Z","registry_url":"https://www.npmjs.com/package/@antfu/install-pkg","install_command":"npm install @antfu/install-pkg","documentation_url":null,"metadata":{"funding":"https://github.com/sponsors/antfu","dist-tags":{"latest":"2.0.1"},"contentPolicy":null},"repo_metadata":{"id":37644022,"uuid":"411139165","full_name":"antfu-collective/install-pkg","owner":"antfu-collective","description":"Install package programmatically.","archived":false,"fork":false,"pushed_at":"2026-07-21T08:37:46.000Z","size":434,"stargazers_count":204,"open_issues_count":1,"forks_count":25,"subscribers_count":3,"default_branch":"main","last_synced_at":"2026-09-04T09:28:52.308Z","etag":null,"topics":[],"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/antfu-collective.png","metadata":{"funding":{"github":["antfu"]},"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-09-28T04:41:34.000Z","updated_at":"2026-08-28T05:46:33.000Z","dependencies_parsed_at":"2023-11-21T20:29:44.868Z","dependency_job_id":"c1144d25-0293-4e61-9f2d-58762920a26f","html_url":"https://github.com/antfu-collective/install-pkg","commit_stats":{"total_commits":19,"total_committers":5,"mean_commits":3.8,"dds":"0.21052631578947367","last_synced_commit":"ea2059d1d0660e8c51a01a62787d37f9fe7dddd9"},"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"purl":"pkg:github/antfu-collective/install-pkg","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antfu-collective%2Finstall-pkg","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antfu-collective%2Finstall-pkg/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antfu-collective%2Finstall-pkg/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antfu-collective%2Finstall-pkg/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/antfu-collective","download_url":"https://codeload.github.com/antfu-collective/install-pkg/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antfu-collective%2Finstall-pkg/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":341189360,"owners_count":37162073,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-08-22T15:14:58.755Z","status":"online","status_checked_at":"2026-09-08T02:00:05.531Z","response_time":108,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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"},"owner_record":{"login":"antfu-collective","name":"Anthony Fu's Collective","uuid":"167634566","kind":"organization","description":"Collective of packages initiated by @antfu that are now maintained by a team of contributors","email":null,"website":null,"location":null,"twitter":null,"company":null,"icon_url":"https://avatars.githubusercontent.com/u/167634566?v=4","repositories_count":18,"last_synced_at":"2025-06-12T08:45:44.269Z","metadata":{"has_sponsors_listing":false},"html_url":"https://github.com/antfu-collective","funding_links":[],"total_stars":36636,"followers":738,"following":0,"created_at":"2024-04-20T20:39:58.402Z","updated_at":"2025-06-12T08:45:44.269Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/antfu-collective","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/antfu-collective/repositories"},"tags":[{"name":"v1.0.0","sha":"2a0ff3d67d1ec5aca4f67eacc6bc90c9361f8c01","kind":"tag","published_at":"2025-01-09T09:45:37.000Z","download_url":"https://codeload.github.com/antfu-collective/install-pkg/tar.gz/v1.0.0","html_url":"https://github.com/antfu-collective/install-pkg/releases/tag/v1.0.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/antfu-collective/install-pkg@v1.0.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antfu-collective%2Finstall-pkg/tags/v1.0.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antfu-collective%2Finstall-pkg/tags/v1.0.0/manifests"},{"name":"v0.5.0","sha":"bd992f08cf03563193f345c2617d59047d15b720","kind":"tag","published_at":"2024-11-27T02:52:49.000Z","download_url":"https://codeload.github.com/antfu-collective/install-pkg/tar.gz/v0.5.0","html_url":"https://github.com/antfu-collective/install-pkg/releases/tag/v0.5.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/antfu-collective/install-pkg@v0.5.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antfu-collective%2Finstall-pkg/tags/v0.5.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antfu-collective%2Finstall-pkg/tags/v0.5.0/manifests"},{"name":"v0.4.1","sha":"ecacee454200b434d31d380b9450edda7001ecae","kind":"tag","published_at":"2024-08-26T16:40:42.000Z","download_url":"https://codeload.github.com/antfu-collective/install-pkg/tar.gz/v0.4.1","html_url":"https://github.com/antfu-collective/install-pkg/releases/tag/v0.4.1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/antfu-collective/install-pkg@v0.4.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antfu-collective%2Finstall-pkg/tags/v0.4.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antfu-collective%2Finstall-pkg/tags/v0.4.1/manifests"},{"name":"v0.4.0","sha":"c5a67e26bea9b4277d34ee9cdff320df51b24c28","kind":"tag","published_at":"2024-08-20T20:25:01.000Z","download_url":"https://codeload.github.com/antfu-collective/install-pkg/tar.gz/v0.4.0","html_url":"https://github.com/antfu-collective/install-pkg/releases/tag/v0.4.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/antfu-collective/install-pkg@v0.4.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antfu-collective%2Finstall-pkg/tags/v0.4.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antfu-collective%2Finstall-pkg/tags/v0.4.0/manifests"},{"name":"v0.3.5","sha":"abaab7486d3a46026f7d50b2b385e8f5fd0ef5a2","kind":"tag","published_at":"2024-08-15T13:19:06.000Z","download_url":"https://codeload.github.com/antfu-collective/install-pkg/tar.gz/v0.3.5","html_url":"https://github.com/antfu-collective/install-pkg/releases/tag/v0.3.5","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/antfu-collective/install-pkg@v0.3.5","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antfu-collective%2Finstall-pkg/tags/v0.3.5","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antfu-collective%2Finstall-pkg/tags/v0.3.5/manifests"},{"name":"v0.3.4","sha":"5adaab80353ffdc67e2b69b57841a09c9b410fc4","kind":"tag","published_at":"2024-08-12T10:24:12.000Z","download_url":"https://codeload.github.com/antfu-collective/install-pkg/tar.gz/v0.3.4","html_url":"https://github.com/antfu-collective/install-pkg/releases/tag/v0.3.4","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/antfu-collective/install-pkg@v0.3.4","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antfu-collective%2Finstall-pkg/tags/v0.3.4","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antfu-collective%2Finstall-pkg/tags/v0.3.4/manifests"},{"name":"v0.3.3","sha":"b7d3293f04c88125b4ca404efa16224c38686f7e","kind":"tag","published_at":"2024-04-25T19:07:38.000Z","download_url":"https://codeload.github.com/antfu-collective/install-pkg/tar.gz/v0.3.3","html_url":"https://github.com/antfu-collective/install-pkg/releases/tag/v0.3.3","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/antfu-collective/install-pkg@v0.3.3","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antfu-collective%2Finstall-pkg/tags/v0.3.3","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antfu-collective%2Finstall-pkg/tags/v0.3.3/manifests"},{"name":"v0.3.2","sha":"ec71d61c953d1000dacc6b582e0fcfa011277cb3","kind":"tag","published_at":"2024-03-28T08:13:35.000Z","download_url":"https://codeload.github.com/antfu-collective/install-pkg/tar.gz/v0.3.2","html_url":"https://github.com/antfu-collective/install-pkg/releases/tag/v0.3.2","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/antfu-collective/install-pkg@v0.3.2","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antfu-collective%2Finstall-pkg/tags/v0.3.2","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antfu-collective%2Finstall-pkg/tags/v0.3.2/manifests"},{"name":"v0.3.1","sha":"ea2059d1d0660e8c51a01a62787d37f9fe7dddd9","kind":"tag","published_at":"2023-12-01T15:17:39.000Z","download_url":"https://codeload.github.com/antfu-collective/install-pkg/tar.gz/v0.3.1","html_url":"https://github.com/antfu-collective/install-pkg/releases/tag/v0.3.1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/antfu-collective/install-pkg@v0.3.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antfu-collective%2Finstall-pkg/tags/v0.3.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antfu-collective%2Finstall-pkg/tags/v0.3.1/manifests"},{"name":"v0.3.0","sha":"3bac3e2a25ebb5a323bb4bb298ac206dc8bdaaca","kind":"tag","published_at":"2023-11-27T14:27:42.000Z","download_url":"https://codeload.github.com/antfu-collective/install-pkg/tar.gz/v0.3.0","html_url":"https://github.com/antfu-collective/install-pkg/releases/tag/v0.3.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/antfu-collective/install-pkg@v0.3.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antfu-collective%2Finstall-pkg/tags/v0.3.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antfu-collective%2Finstall-pkg/tags/v0.3.0/manifests"},{"name":"v0.2.0","sha":"32e7276f02019afdcfbd941f9e8fd92635ebe3ce","kind":"tag","published_at":"2023-11-21T19:10:24.000Z","download_url":"https://codeload.github.com/antfu-collective/install-pkg/tar.gz/v0.2.0","html_url":"https://github.com/antfu-collective/install-pkg/releases/tag/v0.2.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/antfu-collective/install-pkg@v0.2.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antfu-collective%2Finstall-pkg/tags/v0.2.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antfu-collective%2Finstall-pkg/tags/v0.2.0/manifests"},{"name":"v0.1.1","sha":"6472a9cd1f811ca463fe7662136e2ad4311a4ba7","kind":"tag","published_at":"2022-09-21T02:44:33.000Z","download_url":"https://codeload.github.com/antfu-collective/install-pkg/tar.gz/v0.1.1","html_url":"https://github.com/antfu-collective/install-pkg/releases/tag/v0.1.1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/antfu-collective/install-pkg@v0.1.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antfu-collective%2Finstall-pkg/tags/v0.1.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antfu-collective%2Finstall-pkg/tags/v0.1.1/manifests"},{"name":"v0.1.0","sha":"4c4c27f9ccc6daeffa3ffd150daadb4ebe171649","kind":"tag","published_at":"2021-10-02T01:01:41.000Z","download_url":"https://codeload.github.com/antfu-collective/install-pkg/tar.gz/v0.1.0","html_url":"https://github.com/antfu-collective/install-pkg/releases/tag/v0.1.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/antfu-collective/install-pkg@v0.1.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antfu-collective%2Finstall-pkg/tags/v0.1.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antfu-collective%2Finstall-pkg/tags/v0.1.0/manifests"}]},"repo_metadata_updated_at":"2026-09-10T14:09:10.100Z","dependent_packages_count":115,"downloads":64170143,"downloads_period":"last-month","dependent_repos_count":4154,"rankings":{"downloads":0.28389456291241627,"dependent_repos_count":0.3528680565419829,"dependent_packages_count":0.5366918204976342,"stargazers_count":4.74136067082742,"forks_count":5.739074560957623,"docker_downloads_count":1.0148302336641981,"average":2.111453317566879},"purl":"pkg:npm/%40antfu/install-pkg","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/npm/@antfu/install-pkg","docker_dependents_count":102,"docker_downloads_count":31464692,"usage_url":"https://repos.ecosyste.ms/usage/npm/@antfu/install-pkg","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/npm/@antfu/install-pkg/dependencies","status":null,"funding_links":["https://github.com/sponsors/antfu"],"critical":null,"issue_metadata":{"last_synced_at":"2026-08-27T23:39:00.209Z","issues_count":3,"pull_requests_count":22,"avg_time_to_close_issue":691626.0,"avg_time_to_close_pull_request":2132215.6842105263,"issues_closed_count":3,"pull_requests_closed_count":19,"pull_request_authors_count":13,"issue_authors_count":3,"avg_comments_per_issue":0.3333333333333333,"avg_comments_per_pull_request":1.0454545454545454,"merged_pull_requests_count":17,"bot_issues_count":0,"bot_pull_requests_count":0,"past_year_issues_count":0,"past_year_pull_requests_count":1,"past_year_avg_time_to_close_issue":null,"past_year_avg_time_to_close_pull_request":null,"past_year_issues_closed_count":0,"past_year_pull_requests_closed_count":0,"past_year_pull_request_authors_count":1,"past_year_issue_authors_count":0,"past_year_avg_comments_per_issue":null,"past_year_avg_comments_per_pull_request":0.0,"past_year_bot_issues_count":0,"past_year_bot_pull_requests_count":0,"past_year_merged_pull_requests_count":0,"issues_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/antfu-collective%2Finstall-pkg/issues","maintainers":[{"login":"userquin","count":1,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/userquin"}],"active_maintainers":[]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@antfu%2Finstall-pkg/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@antfu%2Finstall-pkg/version_numbers","latest_version_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@antfu%2Finstall-pkg/latest_version","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@antfu%2Finstall-pkg/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@antfu%2Finstall-pkg/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@antfu%2Finstall-pkg/codemeta","maintainers":[{"uuid":"antfu","login":"antfu","name":null,"email":"anthonyfu117@hotmail.com","url":null,"packages_count":757,"html_url":"https://www.npmjs.com/~antfu","role":null,"created_at":"2022-11-15T00:44:32.315Z","updated_at":"2022-11-15T00:44:32.315Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/antfu/packages"}]}