{"id":2518159,"name":"variable-type","ecosystem":"npm","description":"Runtime type checking for variable and similar objects.","homepage":"https://github.com/hustcc/variable-type#readme","licenses":"MIT","normalized_licenses":["MIT"],"repository_url":"https://github.com/hustcc/variable-type","keywords_array":["variable-type","var-type","prop-types","check-type","type-checking"],"namespace":null,"versions_count":8,"first_release_published_at":"2017-08-01T11:19:53.425Z","latest_release_published_at":"2020-01-13T01:54:10.017Z","latest_release_number":"1.0.0","last_synced_at":"2026-04-02T01:34:04.315Z","created_at":"2022-04-10T02:55:39.420Z","updated_at":"2026-04-02T01:34:04.315Z","registry_url":"https://www.npmjs.com/package/variable-type","install_command":"npm install variable-type","documentation_url":null,"metadata":{"funding":null,"dist-tags":{"latest":"1.0.0"}},"repo_metadata":{"id":57390850,"uuid":"98947293","full_name":"hustcc/variable-type","owner":"hustcc","description":"👏  ~ 1 kb. Schema validation. 一个只有 1 kb 的用于变量结构校验的库。","archived":false,"fork":false,"pushed_at":"2020-01-13T01:52:06.000Z","size":105,"stargazers_count":24,"open_issues_count":0,"forks_count":4,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-08-04T07:28:03.908Z","etag":null,"topics":["checking","prop-types","type-check","variable","variable-type"],"latest_commit_sha":null,"homepage":"http://git.hust.cc/variable-type","language":"TypeScript","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/hustcc.png","metadata":{"files":{"readme":"README.md","changelog":null,"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},"funding":{"github":null,"patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":["https://paypal.me/hustcc","https://atool.vip"]}},"created_at":"2017-08-01T01:50:59.000Z","updated_at":"2024-12-25T09:41:51.000Z","dependencies_parsed_at":"2022-09-26T16:51:05.189Z","dependency_job_id":null,"html_url":"https://github.com/hustcc/variable-type","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/hustcc/variable-type","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hustcc%2Fvariable-type","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hustcc%2Fvariable-type/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hustcc%2Fvariable-type/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hustcc%2Fvariable-type/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hustcc","download_url":"https://codeload.github.com/hustcc/variable-type/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hustcc%2Fvariable-type/sbom","scorecard":{"id":474043,"data":{"date":"2025-08-11","repo":{"name":"github.com/hustcc/variable-type","commit":"fd1505066154bde4f91ab484c4646b3387e5aaac"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.4,"checks":[{"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 1/16 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":"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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/build.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":"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":"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":"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.yml:15: update your workflow using https://app.stepsecurity.io/secureworkflow/hustcc/variable-type/build.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build.yml:17: update your workflow using https://app.stepsecurity.io/secureworkflow/hustcc/variable-type/build.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/build.yml:27: update your workflow using https://app.stepsecurity.io/secureworkflow/hustcc/variable-type/build.yml/master?enable=pin","Warn: npmCommand not pinned by hash: .github/workflows/build.yml:22","Info:   0 out of   2 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   1 third-party GitHubAction dependencies pinned","Info:   0 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":"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":"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":"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":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT 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"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 15 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-19T14:47:15.692Z","repository_id":57390850,"created_at":"2025-08-19T14:47:15.692Z","updated_at":"2025-08-19T14:47:15.692Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279009796,"owners_count":26084648,"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-11T02:00:06.511Z","response_time":55,"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":"hustcc","name":"hustcc","uuid":"7856674","kind":"user","description":"@alipay 内推，参入可视化开源项目，请加个人微信：AnyPlot。","email":"","website":"https://hust.cc","location":"HangZhou, China","twitter":null,"company":"CN","icon_url":"https://avatars.githubusercontent.com/u/7856674?u=2a891a2bf8cc56692c38acb15e5048c80534c8e5\u0026v=4","repositories_count":88,"last_synced_at":"2023-04-09T14:21:21.887Z","metadata":{"has_sponsors_listing":false},"html_url":"https://github.com/hustcc","funding_links":[],"total_stars":null,"followers":null,"following":null,"created_at":"2022-11-02T16:27:33.038Z","updated_at":"2023-04-09T14:21:22.432Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hustcc","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hustcc/repositories"},"tags":[]},"repo_metadata_updated_at":"2025-10-13T12:18:30.034Z","dependent_packages_count":6,"downloads":108,"downloads_period":"last-month","dependent_repos_count":7,"rankings":{"downloads":5.589025497260003,"dependent_repos_count":4.340110824625557,"dependent_packages_count":3.1598040922587867,"stargazers_count":7.522273097607901,"forks_count":8.88664313216122,"docker_downloads_count":null,"average":5.899571328782693},"purl":"pkg:npm/variable-type","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/npm/variable-type","docker_dependents_count":null,"docker_downloads_count":null,"usage_url":"https://repos.ecosyste.ms/usage/npm/variable-type","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/npm/variable-type/dependencies","status":null,"funding_links":["https://paypal.me/hustcc","https://atool.vip"],"critical":null,"issue_metadata":{"last_synced_at":"2025-08-04T06:09:45.900Z","issues_count":2,"pull_requests_count":1,"avg_time_to_close_issue":37494209.0,"avg_time_to_close_pull_request":353474.0,"issues_closed_count":2,"pull_requests_closed_count":1,"pull_request_authors_count":1,"issue_authors_count":2,"avg_comments_per_issue":1.5,"avg_comments_per_pull_request":9.0,"merged_pull_requests_count":1,"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/hustcc%2Fvariable-type/issues","maintainers":[{"login":"hustcc","count":1,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/hustcc"}],"active_maintainers":[]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/variable-type/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/variable-type/version_numbers","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/variable-type/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/variable-type/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/variable-type/codemeta","maintainers":[{"uuid":"atool","login":"atool","name":null,"email":"i@hust.cc","url":null,"packages_count":546,"html_url":"https://www.npmjs.com/~atool","role":null,"created_at":"2022-11-15T06:38:47.302Z","updated_at":"2022-11-15T06:38:47.302Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/atool/packages"}]}