{"id":1546935,"name":"compare","ecosystem":"npm","description":"Compare primitives the right way (using `\u003c`, `\u003e` and `==`)","homepage":"https://github.com/emilbayes/compare#readme","licenses":"ISC","normalized_licenses":["ISC"],"repository_url":"https://github.com/emilbayes/compare","keywords_array":["compare","cmpstr","string","number","numeric","sort","stable","ascii"],"namespace":null,"versions_count":2,"first_release_published_at":"2013-06-17T02:46:31.719Z","latest_release_published_at":"2018-05-11T16:59:18.710Z","latest_release_number":"2.0.0","last_synced_at":"2026-07-29T08:36:26.832Z","created_at":"2022-04-09T05:20:52.858Z","updated_at":"2026-08-27T04:01:51.672Z","registry_url":"https://www.npmjs.com/package/compare","install_command":"npm install compare","documentation_url":null,"metadata":{"funding":null,"dist-tags":{"latest":"2.0.0"}},"repo_metadata":{"id":57204533,"uuid":"132924513","full_name":"emilbayes/compare","owner":"emilbayes","description":"Compare primitives the right way (using \u003c, \u003e and ==)","archived":false,"fork":false,"pushed_at":"2018-05-11T16:59:31.000Z","size":6,"stargazers_count":7,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-13T05:33:51.300Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/emilbayes.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":"2018-05-10T16:08:41.000Z","updated_at":"2023-05-27T08:38:45.000Z","dependencies_parsed_at":"2022-09-01T08:41:09.026Z","dependency_job_id":null,"html_url":"https://github.com/emilbayes/compare","commit_stats":null,"previous_names":["emilbayes/correct-compare"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/emilbayes/compare","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emilbayes%2Fcompare","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emilbayes%2Fcompare/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emilbayes%2Fcompare/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emilbayes%2Fcompare/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/emilbayes","download_url":"https://codeload.github.com/emilbayes/compare/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emilbayes%2Fcompare/sbom","scorecard":{"id":375407,"data":{"date":"2025-08-11","repo":{"name":"github.com/emilbayes/compare","commit":"637cd2c81a46b6a99641be5b3679cc337f1bb866"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"checks":[{"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":"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":0,"reason":"Found 0/6 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":"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":"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":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"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":"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":"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":"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: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":"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"}}]},"last_synced_at":"2025-08-18T14:09:00.909Z","repository_id":57204533,"created_at":"2025-08-18T14:09:00.909Z","updated_at":"2025-08-18T14:09:00.909Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":36881215,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-08-22T15:14:58.755Z","status":"online","status_checked_at":"2026-08-24T02:00:14.037Z","response_time":54,"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"},"owner_record":{"login":"emilbayes","name":"Emil Bay","uuid":"416524","kind":"user","description":"","email":"","website":null,"location":null,"twitter":null,"company":null,"icon_url":"https://avatars.githubusercontent.com/u/416524?u=0b9fba53dcbdc01847fb9b2955760cdc365945b1\u0026v=4","repositories_count":299,"last_synced_at":"2026-08-22T14:55:55.297Z","metadata":{"has_sponsors_listing":true,"funding":null},"html_url":"https://github.com/emilbayes","funding_links":["https://github.com/sponsors/emilbayes"],"total_stars":2025,"followers":517,"following":202,"created_at":"2022-11-02T16:27:27.022Z","updated_at":"2026-08-22T14:55:55.323Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/emilbayes","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/emilbayes/repositories"},"tags":[{"name":"v2.0.0","sha":"637cd2c81a46b6a99641be5b3679cc337f1bb866","kind":"tag","published_at":"2018-05-11T16:59:11.000Z","download_url":"https://codeload.github.com/emilbayes/compare/tar.gz/v2.0.0","html_url":"https://github.com/emilbayes/compare/releases/tag/v2.0.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/emilbayes/compare@v2.0.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emilbayes%2Fcompare/tags/v2.0.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emilbayes%2Fcompare/tags/v2.0.0/manifests"},{"name":"v1.0.1","sha":"4128728c3c484a32a8e32317e7d4855677324a55","kind":"tag","published_at":"2018-05-10T16:09:56.000Z","download_url":"https://codeload.github.com/emilbayes/compare/tar.gz/v1.0.1","html_url":"https://github.com/emilbayes/compare/releases/tag/v1.0.1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/emilbayes/compare@v1.0.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emilbayes%2Fcompare/tags/v1.0.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emilbayes%2Fcompare/tags/v1.0.1/manifests"},{"name":"v1.0.0","sha":"36de67136154d4f387d0d898840acc9716b7c421","kind":"tag","published_at":"2018-05-10T16:08:16.000Z","download_url":"https://codeload.github.com/emilbayes/compare/tar.gz/v1.0.0","html_url":"https://github.com/emilbayes/compare/releases/tag/v1.0.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/emilbayes/compare@v1.0.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emilbayes%2Fcompare/tags/v1.0.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emilbayes%2Fcompare/tags/v1.0.0/manifests"}]},"repo_metadata_updated_at":"2026-08-27T04:01:51.671Z","dependent_packages_count":24,"downloads":1863,"downloads_period":"last-month","dependent_repos_count":67,"rankings":{"downloads":3.4054488531601796,"dependent_repos_count":1.6695375645952033,"dependent_packages_count":1.0335024901031478,"stargazers_count":10.460646221002182,"forks_count":11.608708162474885,"docker_downloads_count":0.48063888692021,"average":4.776413696375968},"purl":"pkg:npm/compare","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/npm/compare","docker_dependents_count":3,"docker_downloads_count":514105,"usage_url":"https://repos.ecosyste.ms/usage/npm/compare","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/npm/compare/dependencies","status":null,"funding_links":["https://github.com/sponsors/emilbayes"],"critical":null,"issue_metadata":{"last_synced_at":"2026-08-24T13:23:54.523Z","issues_count":1,"pull_requests_count":0,"avg_time_to_close_issue":null,"avg_time_to_close_pull_request":null,"issues_closed_count":0,"pull_requests_closed_count":0,"pull_request_authors_count":0,"issue_authors_count":1,"avg_comments_per_issue":4.0,"avg_comments_per_pull_request":null,"merged_pull_requests_count":0,"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/emilbayes%2Fcompare/issues","maintainers":[],"active_maintainers":[]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/compare/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/compare/version_numbers","latest_version_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/compare/latest_version","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/compare/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/compare/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/compare/codemeta","maintainers":[{"uuid":"mafintosh","login":"mafintosh","name":null,"email":"mathiasbuus@gmail.com","url":null,"packages_count":1878,"html_url":"https://www.npmjs.com/~mafintosh","role":null,"created_at":"2022-11-11T20:07:07.836Z","updated_at":"2022-11-11T20:07:07.836Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/mafintosh/packages"},{"uuid":"hughsk","login":"hughsk","name":null,"email":"hughskennedy@gmail.com","url":null,"packages_count":680,"html_url":"https://www.npmjs.com/~hughsk","role":null,"created_at":"2022-11-11T20:07:07.809Z","updated_at":"2022-11-11T20:07:07.809Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/hughsk/packages"},{"uuid":"emilbayes","login":"emilbayes","name":null,"email":"github@tixz.dk","url":null,"packages_count":253,"html_url":"https://www.npmjs.com/~emilbayes","role":null,"created_at":"2022-11-11T20:07:07.789Z","updated_at":"2022-11-11T20:07:07.789Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/emilbayes/packages"}]}