{"id":15814245,"url":"https://github.com/stevenvachon/hasurl","last_synced_at":"2025-09-19T06:12:08.236Z","repository":{"id":57261767,"uuid":"84332610","full_name":"stevenvachon/hasurl","owner":"stevenvachon","description":"Determine whether Node.js' WHATWG URL implementation is available.","archived":false,"fork":false,"pushed_at":"2019-05-04T16:36:21.000Z","size":4,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-10-06T04:23:40.344Z","etag":null,"topics":["nodejs","url","whatwg"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/stevenvachon.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-03-08T14:59:54.000Z","updated_at":"2021-05-04T05:05:54.000Z","dependencies_parsed_at":"2022-08-25T06:10:59.146Z","dependency_job_id":null,"html_url":"https://github.com/stevenvachon/hasurl","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stevenvachon%2Fhasurl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stevenvachon%2Fhasurl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stevenvachon%2Fhasurl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stevenvachon%2Fhasurl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stevenvachon","download_url":"https://codeload.github.com/stevenvachon/hasurl/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243642335,"owners_count":20324008,"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":["nodejs","url","whatwg"],"created_at":"2024-10-05T04:23:48.383Z","updated_at":"2025-09-19T06:12:08.171Z","avatar_url":"https://github.com/stevenvachon.png","language":"JavaScript","readme":"# hasurl [![NPM Version][npm-image]][npm-url] [![Build Status][travis-image]][travis-url]\n\n\u003e Determine whether Node.js' native [WHATWG `URL`](https://nodejs.org/api/url.html#url_the_whatwg_url_api) implementation is available.\n\n\n## Installation\n\n[Node.js](http://nodejs.org/) `\u003e= 4` is required. To install, type this at the command line:\n```shell\nnpm install hasurl\n```\n\n\n## Usage\n\n```js\nconst hasURL = require('hasurl');\n\nif (hasURL()) {\n    // supported\n} else {\n    // fallback\n}\n```\n\n\n[npm-image]: https://img.shields.io/npm/v/hasurl.svg\n[npm-url]: https://npmjs.com/package/hasurl\n[travis-image]: https://img.shields.io/travis/stevenvachon/hasurl.svg\n[travis-url]: https://travis-ci.org/stevenvachon/hasurl\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstevenvachon%2Fhasurl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstevenvachon%2Fhasurl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstevenvachon%2Fhasurl/lists"}