{"id":20113679,"url":"https://github.com/archergu/check-package-exists","last_synced_at":"2026-04-02T12:57:17.238Z","repository":{"id":37045790,"uuid":"498579439","full_name":"ArcherGu/check-package-exists","owner":"ArcherGu","description":"Check if the npm package exists","archived":false,"fork":false,"pushed_at":"2025-05-05T19:57:03.000Z","size":1926,"stargazers_count":2,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-05T20:49:56.114Z","etag":null,"topics":["function","npm","packages","tiny"],"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/ArcherGu.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2022-06-01T03:36:46.000Z","updated_at":"2025-05-05T19:56:40.000Z","dependencies_parsed_at":"2023-09-24T02:48:30.564Z","dependency_job_id":"880f58df-3632-4f73-9935-8a58d01ee35e","html_url":"https://github.com/ArcherGu/check-package-exists","commit_stats":{"total_commits":209,"total_committers":3,"mean_commits":69.66666666666667,"dds":0.0861244019138756,"last_synced_commit":"6cca272b96b77c4895285673e8843f4ab1b9d107"},"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ArcherGu%2Fcheck-package-exists","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ArcherGu%2Fcheck-package-exists/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ArcherGu%2Fcheck-package-exists/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ArcherGu%2Fcheck-package-exists/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ArcherGu","download_url":"https://codeload.github.com/ArcherGu/check-package-exists/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252683379,"owners_count":21788028,"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":["function","npm","packages","tiny"],"created_at":"2024-11-13T18:25:21.369Z","updated_at":"2025-10-29T20:42:55.397Z","avatar_url":"https://github.com/ArcherGu.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ✅ Check Package Exists\n\n[![npm](https://img.shields.io/npm/v/check-package-exists?style=flat-square)](https://npm.im/check-package-exists) [![npm](https://img.shields.io/npm/dw/check-package-exists?style=flat-square)](https://npm.im/check-package-exists) [![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/ArcherGu/check-package-exists/ci.yml?style=flat-square)](https://github.com/ArcherGu/check-package-exists/actions/workflows/ci.yml)\n\nCheck if the npm package exists.\n\n## ⚙️ Install\n\n```bash\nnpm i check-package-exists\n# Or Yarn\nyarn add check-package-exists\n# Or PNPM\npnpm add check-package-exists\n```\n\n## 📖 Usage\n\n```ts\nimport { checkPackageExists } from 'check-package-exists'\n\nconsole.log(checkPackageExists('some-package')) // true or false\n```\n\n## 📄 License\n\nMIT License © 2022 [Archer Gu](https://github.com/archergu)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farchergu%2Fcheck-package-exists","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Farchergu%2Fcheck-package-exists","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farchergu%2Fcheck-package-exists/lists"}