{"id":21975171,"url":"https://github.com/nwaughachukwuma/url-exists-nodejs","last_synced_at":"2025-11-09T07:03:37.843Z","repository":{"id":46392225,"uuid":"339975576","full_name":"nwaughachukwuma/url-exists-nodejs","owner":"nwaughachukwuma","description":"A node.js library to check if a url exists (with zero dependencies)","archived":false,"fork":false,"pushed_at":"2022-08-11T19:20:42.000Z","size":358,"stargazers_count":5,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-29T14:14:30.922Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nwaughachukwuma.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-02-18T07:55:41.000Z","updated_at":"2023-03-04T03:50:08.000Z","dependencies_parsed_at":"2022-08-31T06:40:47.051Z","dependency_job_id":null,"html_url":"https://github.com/nwaughachukwuma/url-exists-nodejs","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/nwaughachukwuma/url-exists-nodejs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nwaughachukwuma%2Furl-exists-nodejs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nwaughachukwuma%2Furl-exists-nodejs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nwaughachukwuma%2Furl-exists-nodejs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nwaughachukwuma%2Furl-exists-nodejs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nwaughachukwuma","download_url":"https://codeload.github.com/nwaughachukwuma/url-exists-nodejs/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nwaughachukwuma%2Furl-exists-nodejs/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259868280,"owners_count":22924230,"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":[],"created_at":"2024-11-29T15:50:10.168Z","updated_at":"2025-11-09T07:03:32.824Z","avatar_url":"https://github.com/nwaughachukwuma.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# url-exists-nodejs\n\nA node.js library to check if a url exists (with zero dependencies)\n\n## Install\n\n```bash\n# pnpm\npnpm install url-exists-nodejs\n\n# yarn\nyarn add url-exists-nodejs\n\n# npm\nnpm install url-exists-nodejs\n```\n\n```js\nimport urlExists from 'url-exists-nodejs'\n```\n\n## API\n\n```ts\nurlExists(url: string): Promise\u003cboolean\u003e\n```\n\n## Usage\n\n```js\nawait urlExists('https://google.com') // =\u003e true\n\n// a well typed url that can't be found\nawait urlExists('https://httpbin.org/status/404') // =\u003e false\n\nawait urlExists('not-a-valid-url') // =\u003e false\n\n// can deep check a redirect url\nawait urlExists('https://bit.ly/300awAn') // =\u003e true\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnwaughachukwuma%2Furl-exists-nodejs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnwaughachukwuma%2Furl-exists-nodejs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnwaughachukwuma%2Furl-exists-nodejs/lists"}