{"id":42186099,"url":"https://github.com/browserpass/browserpass-url","last_synced_at":"2026-01-26T22:26:51.658Z","repository":{"id":57100667,"uuid":"211638307","full_name":"browserpass/browserpass-url","owner":"browserpass","description":"Extended URL class with domain analysis","archived":false,"fork":false,"pushed_at":"2025-07-25T20:59:32.000Z","size":58,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-09-19T01:53:07.374Z","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":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/browserpass.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":"2019-09-29T09:28:49.000Z","updated_at":"2025-07-25T20:59:34.000Z","dependencies_parsed_at":"2022-08-20T23:20:33.818Z","dependency_job_id":null,"html_url":"https://github.com/browserpass/browserpass-url","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/browserpass/browserpass-url","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/browserpass%2Fbrowserpass-url","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/browserpass%2Fbrowserpass-url/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/browserpass%2Fbrowserpass-url/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/browserpass%2Fbrowserpass-url/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/browserpass","download_url":"https://codeload.github.com/browserpass/browserpass-url/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/browserpass%2Fbrowserpass-url/sbom","scorecard":{"id":254799,"data":{"date":"2025-08-11","repo":{"name":"github.com/browserpass/browserpass-url","commit":"7ff541107040dfef85efaf02ffd92d6227aa0379"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.3,"checks":[{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Code-Review","score":1,"reason":"Found 2/14 approved changesets -- score normalized to 1","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Maintained","score":1,"reason":"2 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 1","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: ISC License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 2 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-17T09:23:11.594Z","repository_id":57100667,"created_at":"2025-08-17T09:23:11.594Z","updated_at":"2025-08-17T09:23:11.594Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28789734,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-26T21:49:50.245Z","status":"ssl_error","status_checked_at":"2026-01-26T21:48:29.455Z","response_time":59,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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"}},"keywords":[],"created_at":"2026-01-26T22:26:50.713Z","updated_at":"2026-01-26T22:26:51.633Z","avatar_url":"https://github.com/browserpass.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# BrowserpassURL\n\nThis package is an extension of the built-in [URL][1] class, which adds some additional properties based on the domain.\n\nThe TLD list used by this module is downloaded from [publicsuffix.org][2] when building, if it's older than one day.\n\n[1]: https://developer.mozilla.org/en-US/docs/Web/API/URL\n[2]: https://publicsuffix.org/\n\n## Usage\n\n```JS\nconst BrowserpassURL = require(\"@browserpass/url\");\nvar url = new BrowserpassURL(\"http://www.example.com/test\");\n\nconsole.log(url.validDomain); // true\nconsole.log(url.tld); // com\nconsole.log(url.domain); // example.com\nconsole.log(url.subdomain); // www\nconsole.log(url.hostname); // www.example.com\n\n// parse a raw hostname (with optional port), rather than a full URL\nvar urlDomainOnly = BrowserpassURL.parseHost(\"www.example.com:8080\");\nconsole.log(urlDomainOnly);\n/* {\n *    hostname: 'www.example.com',\n *    tld: 'com',\n *    domain: 'example.com',\n *    subdomain: 'www',\n *    validDomain: true,\n *    port: '8080'\n * }\n */\n```\n\n## Extra Properties\n\n| Property    | Description                                     |\n| ----------- | ----------------------------------------------- |\n| validDomain | Whether the URL contains a valid, public domain |\n| tld         | The public TLD component of the domain          |\n| domain      | The registered domain root                      |\n| subdomain   | The subdomain portion of the hostname           |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrowserpass%2Fbrowserpass-url","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbrowserpass%2Fbrowserpass-url","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrowserpass%2Fbrowserpass-url/lists"}