{"id":1531036,"name":"cli-width","ecosystem":"npm","description":"Get stdout window width, with two fallbacks, tty and then a default.","homepage":"https://github.com/knownasilya/cli-width","licenses":"ISC","normalized_licenses":["ISC"],"repository_url":"https://github.com/knownasilya/cli-width","keywords_array":[],"namespace":null,"versions_count":12,"first_release_published_at":"2015-01-21T20:33:19.178Z","latest_release_published_at":"2023-08-05T16:14:01.241Z","latest_release_number":"4.1.0","last_synced_at":"2026-04-07T22:22:19.239Z","created_at":"2022-04-09T04:42:41.984Z","updated_at":"2026-04-07T22:22:19.240Z","registry_url":"https://www.npmjs.com/package/cli-width","install_command":"npm install cli-width","documentation_url":null,"metadata":{"funding":null,"dist-tags":{"latest":"4.1.0"}},"repo_metadata":{"id":428869,"uuid":"29607910","full_name":"knownasilya/cli-width","owner":"knownasilya","description":"Fallback to a default if `process.stdout.getWindowSize` doesn't exist","archived":false,"fork":false,"pushed_at":"2026-01-21T23:09:43.000Z","size":818,"stargazers_count":24,"open_issues_count":4,"forks_count":6,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-03-21T05:38:19.122Z","etag":null,"topics":["cli","cli-width","tty"],"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/knownasilya.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":"knownasilya"}},"created_at":"2015-01-21T19:44:35.000Z","updated_at":"2024-08-13T16:03:31.000Z","dependencies_parsed_at":"2024-09-16T22:17:00.293Z","dependency_job_id":"97d3d391-d15c-4fe6-ad6f-bf3c26dc7acc","html_url":"https://github.com/knownasilya/cli-width","commit_stats":{"total_commits":70,"total_committers":14,"mean_commits":5.0,"dds":0.6714285714285715,"last_synced_commit":"a5b9ad0af43a103cccfacfdc83fd82792c1371cd"},"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"purl":"pkg:github/knownasilya/cli-width","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/knownasilya%2Fcli-width","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/knownasilya%2Fcli-width/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/knownasilya%2Fcli-width/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/knownasilya%2Fcli-width/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/knownasilya","download_url":"https://codeload.github.com/knownasilya/cli-width/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/knownasilya%2Fcli-width/sbom","scorecard":{"id":564808,"data":{"date":"2025-08-11","repo":{"name":"github.com/knownasilya/cli-width","commit":"a5b9ad0af43a103cccfacfdc83fd82792c1371cd"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.3,"checks":[{"name":"Code-Review","score":2,"reason":"Found 3/15 approved changesets -- score normalized to 2","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":"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":"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":"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":"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":"Pinned-Dependencies","score":3,"reason":"dependency not pinned by hash detected -- score normalized to 3","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/node.js.yml:22: update your workflow using https://app.stepsecurity.io/secureworkflow/knownasilya/cli-width/node.js.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/node.js.yml:24: update your workflow using https://app.stepsecurity.io/secureworkflow/knownasilya/cli-width/node.js.yml/master?enable=pin","Info:   0 out of   2 GitHub-owned GitHubAction dependencies pinned","Info:   1 out of   1 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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/node.js.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: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":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"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 19 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":1,"reason":"9 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-968p-4wvh-cqc8","Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275","Warn: Project is vulnerable to: GHSA-gxpj-cx7g-858c","Warn: Project is vulnerable to: GHSA-fjxv-7rqg-78g4","Warn: Project is vulnerable to: GHSA-p8p7-x288-28g6","Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw","Warn: Project is vulnerable to: GHSA-72xf-g2v4-qvf3","Warn: Project is vulnerable to: GHSA-w5p7-h5w8-2hfq"],"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-20T14:41:24.009Z","repository_id":428869,"created_at":"2025-08-20T14:41:24.009Z","updated_at":"2025-08-20T14:41:24.009Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31531021,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-07T16:28:08.000Z","status":"ssl_error","status_checked_at":"2026-04-07T16:28:06.951Z","response_time":105,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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"},"tags":[]},"repo_metadata_updated_at":"2026-04-07T22:22:19.019Z","dependent_packages_count":966,"downloads":239219625,"downloads_period":"last-month","dependent_repos_count":652796,"rankings":{"downloads":0.015141044441840319,"dependent_repos_count":0.04586121056072791,"dependent_packages_count":0.07102327175792728,"stargazers_count":7.417936474950326,"forks_count":6.677613124578522,"docker_downloads_count":0.027817904435641527,"average":2.375898838454164},"purl":"pkg:npm/cli-width","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/npm/cli-width","docker_dependents_count":17459,"docker_downloads_count":3356478044,"usage_url":"https://repos.ecosyste.ms/usage/npm/cli-width","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/npm/cli-width/dependencies","status":null,"funding_links":["https://github.com/sponsors/knownasilya"],"critical":true,"issue_metadata":{"last_synced_at":"2025-11-19T23:21:24.485Z","issues_count":6,"pull_requests_count":32,"avg_time_to_close_issue":13720339.4,"avg_time_to_close_pull_request":1214377.9310344828,"issues_closed_count":5,"pull_requests_closed_count":29,"pull_request_authors_count":14,"issue_authors_count":5,"avg_comments_per_issue":2.3333333333333335,"avg_comments_per_pull_request":1.1875,"merged_pull_requests_count":28,"bot_issues_count":0,"bot_pull_requests_count":17,"past_year_issues_count":0,"past_year_pull_requests_count":1,"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":1,"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":1,"past_year_merged_pull_requests_count":0,"issues_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/knownasilya%2Fcli-width/issues","maintainers":[{"login":"knownasilya","count":5,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/knownasilya"},{"login":"SBoudrias","count":1,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/SBoudrias"}],"active_maintainers":[]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/cli-width/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/cli-width/version_numbers","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/cli-width/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/cli-width/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/cli-width/codemeta","maintainers":[{"uuid":"knownasilya","login":"knownasilya","name":null,"email":"knownasilya@gmail.com","url":null,"packages_count":123,"html_url":"https://www.npmjs.com/~knownasilya","role":null,"created_at":"2022-11-11T18:52:12.161Z","updated_at":"2022-11-11T18:52:12.161Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/knownasilya/packages"},{"uuid":"sboudrias","login":"sboudrias","name":null,"email":"admin@simonboudrias.com","url":null,"packages_count":85,"html_url":"https://www.npmjs.com/~sboudrias","role":null,"created_at":"2022-11-11T18:52:12.176Z","updated_at":"2022-11-11T18:52:12.176Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/sboudrias/packages"}]}