{"id":2407075,"name":"string.prototype.endswith","ecosystem":"npm","description":"A robust \u0026 optimized `String.prototype.endsWith` polyfill, based on the ECMAScript 6 specification.","homepage":"https://mths.be/endswith","licenses":"MIT","normalized_licenses":["MIT"],"repository_url":"https://github.com/mathiasbynens/String.prototype.endsWith","keywords_array":["string","endswith","es6","ecmascript","polyfill"],"namespace":null,"versions_count":5,"first_release_published_at":"2013-12-23T08:44:53.307Z","latest_release_published_at":"2024-03-18T19:20:10.374Z","latest_release_number":"1.0.2","last_synced_at":"2026-06-01T22:21:24.477Z","created_at":"2022-04-10T01:21:16.348Z","updated_at":"2026-06-01T22:21:24.477Z","registry_url":"https://www.npmjs.com/package/string.prototype.endswith","install_command":"npm install string.prototype.endswith","documentation_url":null,"metadata":{"funding":null,"dist-tags":{"latest":"1.0.2"}},"repo_metadata":{"id":12425523,"uuid":"15080799","full_name":"mathiasbynens/String.prototype.endsWith","owner":"mathiasbynens","description":"A robust \u0026 optimized ES3-compatible polyfill for the `String.prototype.endsWith` method in ECMAScript 6.","archived":false,"fork":false,"pushed_at":"2024-03-20T17:17:33.000Z","size":49,"stargazers_count":36,"open_issues_count":1,"forks_count":7,"subscribers_count":5,"default_branch":"main","last_synced_at":"2026-05-22T16:43:43.600Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://mths.be/endswith","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/mathiasbynens.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":".github/CONTRIBUTING.md","funding":null,"license":"LICENSE-MIT.txt","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}},"created_at":"2013-12-10T15:21:23.000Z","updated_at":"2025-02-16T15:37:56.000Z","dependencies_parsed_at":"2024-03-18T19:58:24.283Z","dependency_job_id":"01e0bbb8-e6c0-4936-977d-56648c7bc5b2","html_url":"https://github.com/mathiasbynens/String.prototype.endsWith","commit_stats":{"total_commits":25,"total_committers":2,"mean_commits":12.5,"dds":0.28,"last_synced_commit":"e685c86646694a10d1bf19fc0311fb5a93ff71d6"},"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/mathiasbynens/String.prototype.endsWith","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mathiasbynens%2FString.prototype.endsWith","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mathiasbynens%2FString.prototype.endsWith/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mathiasbynens%2FString.prototype.endsWith/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mathiasbynens%2FString.prototype.endsWith/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mathiasbynens","download_url":"https://codeload.github.com/mathiasbynens/String.prototype.endsWith/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mathiasbynens%2FString.prototype.endsWith/sbom","scorecard":{"id":624292,"data":{"date":"2025-08-11","repo":{"name":"github.com/mathiasbynens/String.prototype.endsWith","commit":"1dc57b8e36cb4bf10e87690f63a1f10edb4f0866"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.5,"checks":[{"name":"Code-Review","score":1,"reason":"Found 3/19 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":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":"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":"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":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","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":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: third-party GitHubAction not pinned by hash: .github/workflows/node-aught.yml:7: update your workflow using https://app.stepsecurity.io/secureworkflow/mathiasbynens/String.prototype.endsWith/node-aught.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/node-pretest.yml:7: update your workflow using https://app.stepsecurity.io/secureworkflow/mathiasbynens/String.prototype.endsWith/node-pretest.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/node-tens.yml:7: update your workflow using https://app.stepsecurity.io/secureworkflow/mathiasbynens/String.prototype.endsWith/node-tens.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/publish-on-tag.yml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/mathiasbynens/String.prototype.endsWith/publish-on-tag.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/publish-on-tag.yml:15: update your workflow using https://app.stepsecurity.io/secureworkflow/mathiasbynens/String.prototype.endsWith/publish-on-tag.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/rebase.yml:10: update your workflow using https://app.stepsecurity.io/secureworkflow/mathiasbynens/String.prototype.endsWith/rebase.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/require-allow-edits.yml:12: update your workflow using https://app.stepsecurity.io/secureworkflow/mathiasbynens/String.prototype.endsWith/require-allow-edits.yml/main?enable=pin","Info:   0 out of   1 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   6 third-party GitHubAction dependencies pinned"],"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":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/node-aught.yml:1","Warn: no topLevel permission defined: .github/workflows/node-pretest.yml:1","Warn: no topLevel permission defined: .github/workflows/node-tens.yml:1","Warn: no topLevel permission defined: .github/workflows/publish-on-tag.yml:1","Info: topLevel 'contents' permission set to 'read': .github/workflows/rebase.yml:6","Warn: no topLevel permission defined: .github/workflows/require-allow-edits.yml:1","Info: no jobLevel write permissions found"],"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":"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":"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":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE-MIT.txt:0","Info: FSF or OSI recognized license: MIT License: LICENSE-MIT.txt:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"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":"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 'main'"],"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 14 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-21T05:59:43.233Z","repository_id":12425523,"created_at":"2025-08-21T05:59:43.233Z","updated_at":"2025-08-21T05:59:43.233Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33796316,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-01T02:00:06.963Z","response_time":115,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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"},"tags":[]},"repo_metadata_updated_at":"2026-06-01T22:21:24.304Z","dependent_packages_count":62,"downloads":140556,"downloads_period":"last-month","dependent_repos_count":1410,"rankings":{"downloads":0.7232527847646425,"dependent_repos_count":0.531856360043119,"dependent_packages_count":0.5100403128988639,"stargazers_count":6.740741593625654,"forks_count":7.712320576682151,"docker_downloads_count":0.543702838663313,"average":2.7936524111129573},"purl":"pkg:npm/string.prototype.endswith","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/npm/string.prototype.endswith","docker_dependents_count":22,"docker_downloads_count":4723999,"usage_url":"https://repos.ecosyste.ms/usage/npm/string.prototype.endswith","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/npm/string.prototype.endswith/dependencies","status":null,"funding_links":[],"critical":null,"issue_metadata":{"last_synced_at":"2025-08-12T14:21:26.069Z","issues_count":5,"pull_requests_count":6,"avg_time_to_close_issue":6114.25,"avg_time_to_close_pull_request":159113786.33333334,"issues_closed_count":4,"pull_requests_closed_count":6,"pull_request_authors_count":3,"issue_authors_count":1,"avg_comments_per_issue":6.0,"avg_comments_per_pull_request":0.5,"merged_pull_requests_count":3,"bot_issues_count":0,"bot_pull_requests_count":0,"past_year_issues_count":0,"past_year_pull_requests_count":0,"past_year_avg_time_to_close_issue":null,"past_year_avg_time_to_close_pull_request":null,"past_year_issues_closed_count":0,"past_year_pull_requests_closed_count":0,"past_year_pull_request_authors_count":0,"past_year_issue_authors_count":0,"past_year_avg_comments_per_issue":null,"past_year_avg_comments_per_pull_request":null,"past_year_bot_issues_count":0,"past_year_bot_pull_requests_count":0,"past_year_merged_pull_requests_count":0,"issues_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/mathiasbynens%2FString.prototype.endsWith/issues","maintainers":[{"login":"nicolo-ribaudo","count":3,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/nicolo-ribaudo"}],"active_maintainers":[]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/string.prototype.endswith/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/string.prototype.endswith/version_numbers","latest_version_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/string.prototype.endswith/latest_version","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/string.prototype.endswith/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/string.prototype.endswith/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/string.prototype.endswith/codemeta","maintainers":[{"uuid":"mathias","login":"mathias","name":null,"email":"mathias@qiwi.be","url":null,"packages_count":653,"html_url":"https://www.npmjs.com/~mathias","role":null,"created_at":"2022-11-14T14:23:54.337Z","updated_at":"2022-11-14T14:23:54.337Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/mathias/packages"},{"uuid":"google-wombot","login":"google-wombot","name":null,"email":"node-team-npm+wombot@google.com","url":null,"packages_count":1435,"html_url":"https://www.npmjs.com/~google-wombot","role":null,"created_at":"2023-09-08T08:15:40.795Z","updated_at":"2023-09-08T08:15:40.795Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/google-wombot/packages"}]}