{"id":48250206,"url":"https://github.com/litert/tlds.js","last_synced_at":"2026-04-04T20:50:03.739Z","repository":{"id":49670108,"uuid":"246207595","full_name":"litert/tlds.js","owner":"litert","description":"A simple TLD (Top Level Domain) helper library.","archived":false,"fork":false,"pushed_at":"2024-06-16T22:32:40.000Z","size":268,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-09-29T12:46:01.707Z","etag":null,"topics":["domain","tld"],"latest_commit_sha":null,"homepage":"https://fenying.net","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/litert.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGES.md","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":"2020-03-10T04:24:33.000Z","updated_at":"2023-05-05T02:56:36.000Z","dependencies_parsed_at":"2022-09-04T08:12:03.459Z","dependency_job_id":null,"html_url":"https://github.com/litert/tlds.js","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/litert/tlds.js","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/litert%2Ftlds.js","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/litert%2Ftlds.js/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/litert%2Ftlds.js/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/litert%2Ftlds.js/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/litert","download_url":"https://codeload.github.com/litert/tlds.js/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/litert%2Ftlds.js/sbom","scorecard":{"id":592772,"data":{"date":"2025-08-11","repo":{"name":"github.com/litert/tlds.js","commit":"172c5428cbf52bd6ca214ae4ca845aca420d67f6"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.3,"checks":[{"name":"Code-Review","score":0,"reason":"Found 0/4 approved changesets -- score normalized to 0","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":"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":"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":"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":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"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":"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":"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: Apache License 2.0: 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":"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 12 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"}},{"name":"Vulnerabilities","score":4,"reason":"6 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-grv7-fg5c-xmjg","Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275","Warn: Project is vulnerable to: GHSA-952p-6rrq-rcjv","Warn: Project is vulnerable to: GHSA-f8q6-p94x-37v3","Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-20T22:23:26.748Z","repository_id":49670108,"created_at":"2025-08-20T22:23:26.748Z","updated_at":"2025-08-20T22:23:26.748Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31413284,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-04T20:09:54.854Z","status":"ssl_error","status_checked_at":"2026-04-04T20:09:44.350Z","response_time":60,"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":["domain","tld"],"created_at":"2026-04-04T20:50:02.897Z","updated_at":"2026-04-04T20:50:03.687Z","avatar_url":"https://github.com/litert.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# LiteRT/TLD\n\n[![Strict TypeScript Checked](https://badgen.net/badge/TS/Strict \"Strict TypeScript Checked\")](https://www.typescriptlang.org)\n[![npm version](https://img.shields.io/npm/v/@litert/tlds.svg?colorB=brightgreen)](https://www.npmjs.com/package/@litert/tlds \"Stable Version\")\n[![License](https://img.shields.io/npm/l/@litert/tlds.svg?maxAge=2592000?style=plastic)](https://github.com/litert/tlds/blob/master/LICENSE)\n[![node](https://img.shields.io/node/v/@litert/tlds.svg?colorB=brightgreen)](https://nodejs.org/dist/latest-v8.x/)\n[![GitHub issues](https://img.shields.io/github/issues/litert/tlds.js.svg)](https://github.com/litert/tlds.js/issues)\n[![GitHub Releases](https://img.shields.io/github/release/litert/tlds.js.svg)](https://github.com/litert/tlds.js/releases \"Stable Release\")\n\nA simple TLD (Top Level Domain) helper library.\n\n## Installation\n\nInstall by NPM:\n\n```sh\nnpm i @litert/tlds --save\n```\n\n## Usage\n\nSee [src/examples/demo.ts](./src/examples/demo.ts).\n\n\u003e How to import full TLD list?\n\u003e\n\u003e 1. Get data from https://publicsuffix.org/list/public_suffix_list.dat\n\u003e 2. Parse the data into string array (pay attention to some TLD items like `*.xxx.xx`)\n\u003e 3. Now import them into your `TLDManager`.\n\n## Requirement\n\n- TypeScript v3.2.2 (or newer)\n- Node.js v10.0.0 (or newer)\n\n## Document\n\n### 简体中文版\n\n- Preparing\n\n## License\n\nThis library is published under [Apache-2.0](./LICENSE) license.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flitert%2Ftlds.js","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flitert%2Ftlds.js","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flitert%2Ftlds.js/lists"}