{"id":1316454,"name":"@thzero/library_common","ecosystem":"npm","description":"![GitHub package.json version](https://img.shields.io/github/package-json/v/thzero/library_common) ![David](https://img.shields.io/david/thzero/library_common) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/l","homepage":"https://github.com/thzero/library_common#readme","licenses":"MIT","normalized_licenses":["MIT"],"repository_url":"https://github.com/thzero/library_common","keywords_array":[],"namespace":"thzero","versions_count":124,"first_release_published_at":"2020-07-22T02:03:46.875Z","latest_release_published_at":"2026-02-07T15:38:44.718Z","latest_release_number":"0.18.21","last_synced_at":"2026-03-07T20:17:14.853Z","created_at":"2022-04-08T20:45:28.249Z","updated_at":"2026-03-07T20:17:14.854Z","registry_url":"https://www.npmjs.com/package/@thzero/library_common","install_command":"npm install @thzero/library_common","documentation_url":null,"metadata":{"funding":null,"dist-tags":{"latest":"0.18.21"}},"repo_metadata":{"id":39717025,"uuid":"281548736","full_name":"thzero/library_common","owner":"thzero","description":null,"archived":false,"fork":false,"pushed_at":"2025-07-28T00:13:23.000Z","size":233,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-02T01:19:24.623Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/thzero.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"license.md","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":"2020-07-22T01:58:54.000Z","updated_at":"2025-07-28T00:13:28.000Z","dependencies_parsed_at":"2024-01-30T23:00:38.290Z","dependency_job_id":"bec5c5da-8890-45d1-832b-5db0ba6da2fe","html_url":"https://github.com/thzero/library_common","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/thzero/library_common","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thzero%2Flibrary_common","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thzero%2Flibrary_common/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thzero%2Flibrary_common/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thzero%2Flibrary_common/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thzero","download_url":"https://codeload.github.com/thzero/library_common/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thzero%2Flibrary_common/sbom","scorecard":{"id":883763,"data":{"date":"2025-08-11","repo":{"name":"github.com/thzero/library_common","commit":"bc1f9eefc8fdd7e87062216bf3cd4cf91047b4f3"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":4.4,"checks":[{"name":"Code-Review","score":0,"reason":"Found 0/14 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":"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":"Maintained","score":7,"reason":"9 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 7","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/build.yaml:1","Warn: no topLevel permission defined: .github/workflows/publish.yaml: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":"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":"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":"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":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: license.md:0","Info: FSF or OSI recognized license: MIT License: license.md:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build.yaml:25: update your workflow using https://app.stepsecurity.io/secureworkflow/thzero/library_common/build.yaml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build.yaml:33: update your workflow using https://app.stepsecurity.io/secureworkflow/thzero/library_common/build.yaml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/build.yaml:40: update your workflow using https://app.stepsecurity.io/secureworkflow/thzero/library_common/build.yaml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/build.yaml:67: update your workflow using https://app.stepsecurity.io/secureworkflow/thzero/library_common/build.yaml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/build.yaml:107: update your workflow using https://app.stepsecurity.io/secureworkflow/thzero/library_common/build.yaml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/build.yaml:119: update your workflow using https://app.stepsecurity.io/secureworkflow/thzero/library_common/build.yaml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/build.yaml:129: update your workflow using https://app.stepsecurity.io/secureworkflow/thzero/library_common/build.yaml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/publish.yaml:28: update your workflow using https://app.stepsecurity.io/secureworkflow/thzero/library_common/publish.yaml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/publish.yaml:41: update your workflow using https://app.stepsecurity.io/secureworkflow/thzero/library_common/publish.yaml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/publish.yaml:52: update your workflow using https://app.stepsecurity.io/secureworkflow/thzero/library_common/publish.yaml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/publish.yaml:68: update your workflow using https://app.stepsecurity.io/secureworkflow/thzero/library_common/publish.yaml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/publish.yaml:80: update your workflow using https://app.stepsecurity.io/secureworkflow/thzero/library_common/publish.yaml/master?enable=pin","Warn: npmCommand not pinned by hash: ncupd.sh:6","Warn: npmCommand not pinned by hash: .github/workflows/build.yaml:54","Warn: npmCommand not pinned by hash: .github/workflows/build.yaml:58","Warn: npmCommand not pinned by hash: .github/workflows/publish.yaml:33","Warn: npmCommand not pinned by hash: .github/workflows/publish.yaml:36","Info:   0 out of   4 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   8 third-party GitHubAction dependencies pinned","Info:   0 out of   5 npmCommand 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":"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":"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":"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":"Packaging","score":10,"reason":"packaging workflow detected","details":["Info: Project packages its releases by way of GitHub Actions.: .github/workflows/publish.yaml:15"],"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":"Vulnerabilities","score":9,"reason":"1 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-mwcw-c2x4-8c55"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 30 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-24T09:16:25.323Z","repository_id":39717025,"created_at":"2025-08-24T09:16:25.323Z","updated_at":"2025-08-24T09:16:25.323Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279164094,"owners_count":26117609,"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","status":"online","status_checked_at":"2025-10-16T02:00:06.019Z","response_time":53,"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":"thzero","name":null,"uuid":"8843025","kind":"user","description":null,"email":"","website":null,"location":null,"twitter":null,"company":"thZero Labs","icon_url":"https://avatars.githubusercontent.com/u/8843025?u=92d6bd59c948353dc2e33cfe30fd65fc2673ac60\u0026v=4","repositories_count":65,"last_synced_at":"2023-03-06T05:38:24.851Z","metadata":{"has_sponsors_listing":false},"html_url":"https://github.com/thzero","funding_links":[],"total_stars":null,"followers":null,"following":null,"created_at":"2022-11-16T05:37:21.444Z","updated_at":"2023-03-06T05:38:24.882Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thzero","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thzero/repositories"},"tags":[]},"repo_metadata_updated_at":"2026-03-07T20:17:13.764Z","dependent_packages_count":35,"downloads":1149,"downloads_period":"last-month","dependent_repos_count":31,"rankings":{"downloads":6.49887944051051,"dependent_repos_count":2.278738892943779,"dependent_packages_count":0.776821460993562,"stargazers_count":20.960712933046118,"forks_count":15.420301248910082,"docker_downloads_count":null,"average":9.18709079528081},"purl":"pkg:npm/%40thzero/library_common","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/npm/@thzero/library_common","docker_dependents_count":null,"docker_downloads_count":null,"usage_url":"https://repos.ecosyste.ms/usage/npm/@thzero/library_common","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/npm/@thzero/library_common/dependencies","status":null,"funding_links":[],"critical":null,"issue_metadata":{"last_synced_at":"2025-09-04T05:05:51.360Z","issues_count":0,"pull_requests_count":151,"avg_time_to_close_issue":null,"avg_time_to_close_pull_request":45796.33783783784,"issues_closed_count":0,"pull_requests_closed_count":148,"pull_request_authors_count":3,"issue_authors_count":0,"avg_comments_per_issue":null,"avg_comments_per_pull_request":0.013245033112582781,"merged_pull_requests_count":145,"bot_issues_count":0,"bot_pull_requests_count":64,"past_year_issues_count":0,"past_year_pull_requests_count":11,"past_year_avg_time_to_close_issue":null,"past_year_avg_time_to_close_pull_request":4.111111111111111,"past_year_issues_closed_count":0,"past_year_pull_requests_closed_count":9,"past_year_pull_request_authors_count":3,"past_year_issue_authors_count":0,"past_year_avg_comments_per_issue":null,"past_year_avg_comments_per_pull_request":0.0,"past_year_bot_issues_count":0,"past_year_bot_pull_requests_count":6,"past_year_merged_pull_requests_count":9,"issues_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/thzero%2Flibrary_common/issues","maintainers":[{"login":"thzero","count":87,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/thzero"}],"active_maintainers":[{"login":"thzero","count":5,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/thzero"}]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@thzero%2Flibrary_common/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@thzero%2Flibrary_common/version_numbers","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@thzero%2Flibrary_common/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@thzero%2Flibrary_common/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@thzero%2Flibrary_common/codemeta","maintainers":[{"uuid":"thzero","login":"thzero","name":null,"email":"development@thzero.com","url":null,"packages_count":71,"html_url":"https://www.npmjs.com/~thzero","role":null,"created_at":"2022-11-11T02:41:34.147Z","updated_at":"2022-11-11T02:41:34.147Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/thzero/packages"}]}